Commit Graph
2446 Commits
Author SHA1 Message Date
Michael Li f9dfd024ed doc(e2e): Add info for adding tests 2022-10-12 09:49:08 -04:00
Michael Li 719200612d refact(e2e): Remove use of AwsHostSetCount env
Instead of passing in the number of hosts created for a host set, we can just use the length of the IP addresses to determine that value.
2022-10-12 09:49:08 -04:00
Michael Li 5365b29007 refact(e2e): Port enos smoke test into e2e test suite
This adds a test case to the e2e test suite and unifies where testing is located.
2022-10-12 09:49:08 -04:00
Michael Li 1361c3cc6d refact(e2e): Move environment variables into its own file 2022-10-12 09:49:08 -04:00
Michael Li 86dafced1a fix(e2e): Add missing require 2022-10-12 09:49:08 -04:00
Todd fa39fe5b0f Delete the base auth account when a concrete auth account is deleted (#2528) 2022-10-11 16:59:52 -07:00
Todd 1437d5452d Filter out null named workers when looking up the worker id in bats (#2531) 2022-10-11 14:01:20 -07:00
Todd c9d902ebd0 Add worker create, list, read, update, and delete cli ui tests. (#2384) 2022-10-10 12:37:17 -07:00
Michael Li 007ef4d9ef Merge pull request #2502 from hashicorp/manthony-ICU-5928
Extend enos-run.yml to cover E2E testing
2022-10-07 13:32:42 -04:00
Michael Li a12846d9af refact(enos): Increase clarity in module variable name
This variable defines the IP address of a target used in tests. We should pass in the address itself instead of a list of addresses that will get converted to a single address eventually anyways.
2022-10-06 18:35:23 -04:00
871cf0b963 chore: Add workflow for e2e tests
This adds a github actions workflow to run the new e2e test suite

Co-authored-by: Michael Anthony <manthony@hashicorp.com>
Co-authored-by: Josh Brand <jbrand@hashicorp.com>
2022-10-06 18:35:23 -04:00
HashiBotandBryce Kalow 848ad63cdf Upgrade next version (#2526)
Co-authored-by: Bryce Kalow <bkalow@hashicorp.com>
2022-10-06 13:51:30 -05:00
Timothy Messier f39833ebad chore: Add downstream merge triggers (#2524)
Trigger a downstream merge. This requires that the DOWNSTREAM_SLUG
environment variable is set in CircleCI. This will trigger downstream
merges for main and all release branches.
2022-10-06 13:38:27 -04:00
Michael Li 51de0878c3 Merge pull request #2506 from hashicorp/moduli-e2e-host-aws
Add AWS Dynamic Host Catalog e2e test
2022-10-05 14:23:28 -04:00
Michael Li 0afef63dca refact(e2e): Use envconfig's required property 2022-10-05 11:54:16 -04:00
Michael LiandJosh Brand da0fb9d38a test(e2e): Add dynamic host catalog test (AWS)
This adds the initial set of tests that validate setting up a dynamic host catalog on AWS

Co-authored-by: Josh Brand <jbrand@hashicorp.com>
2022-10-05 11:54:16 -04:00
XingLu Wang 7942ba2806 Added 0.11 release notes (#2522) 2022-10-05 08:39:19 -07:00
XingLu Wang 0a1fc6f457 Added FAQ and common errors to docs (#2520)
* adding new pages

* Added faq content

* Updated common errors
2022-10-05 08:30:45 -07:00
Robin Beck 5a7cb5c181 Docs: getting started edits (#2521)
* getting started content updates

* updates screenshot
2022-10-05 09:24:21 -06:00
Irena Rindos da885a89c3 refactor(workerauth): consolidate workerAuth retrieval (#2512)
* refactor worker auth
2022-10-04 14:08:43 -04:00
Todd 412e7a2418 Add interfaces and error codes for processing downstream router connections (#2511)
* Add interfaces and error codes for processing downstream router connections
2022-10-04 11:07:50 -07:00
Louis Ruch f23a28cf01 chore: Add white space (#2516) 2022-10-04 09:56:37 -07:00
Todd 2f68c604c5 Add test helper for creating a multihop worker setup (#2513)
* Add test helper for creating a multihop worker setup.
2022-10-03 13:35:35 -07:00
dc6526d5c5 Stable website (#2514)
* Bump changelog

* fix minor typos (#2507)

Co-authored-by: irenarindos <irena.rindos@gmail.com>
Co-authored-by: xka5h <74259424+xka5h@users.noreply.github.com>
2022-10-03 13:03:35 -07:00
xka5h e3519ada3a fix minor typos (#2507) 2022-10-03 12:44:19 -07:00
irenarindos 7cae733945 Bump changelog 2022-09-29 12:03:07 -04:00
Timothy MessierandJeff Mitchell d896f37493 Support reading multiple configuration files(#2504)
feat(config): Support multiple files

This updates the three subcommands that take a `-config` flag to
to support multiple config files via a repeated `-config` flag.
It updates the following subcommands:

- `server`
- `database init`
- `database migrate`

Note that the multiple file support only works if all config files are
HCL, not JSON. Also note that the config files are concatenated
together. There is no attempt to merge config files, so having the same
stanza in multiple files can yield unexpected results, with only one of
the stanzas being used.

When used with these limitations understood, this provides a way to take
different actions for different kinds of dynamic configuration changes.
An example would be when using consul-template to render the
configuration files for boundary. With the multi file support
consul-template can render one config file for the controller stanza,
and provide boundary with a dynamic database credential via vault. Then
when the credential is rotated, consul-template can send boundary a
SIGHUP to switch to the new credential without a restart. A separate
template could be used to render a config for a stanza that does not
support SIGHUP, such as the events stanza that gets its values via
consul's KV. If these values change, consul-template can restart
boundary so the new configuration is used.

Co-authored-by: Timothy Messier <tim.messier@gmail.com>
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
2022-09-29 09:01:33 -04:00
Louis Ruch 441ca59ea3 chore: update sdk/api deps (#2505) 2022-09-28 15:44:50 -07:00
Michael Li 8206ae783e Merge pull request #2474 from hashicorp/moduli-e2e-test-vault
Add vault test to e2e test suite
2022-09-27 13:23:31 -04:00
Michael Li 8fe0d13caa test(e2e): Add vault tests
Adds the first set of vault tests. This test sets up vault as a credential store and creates a set
of credentials for a target.
2022-09-27 12:21:10 -04:00
Carlos Alcaide Corvo 6e53747b97 Bump UI version (#2499)
* Bump UI version
2022-09-27 09:35:15 -04:00
Louis Ruch b31e6a8abc cli(ssh): Use type instead of SubtypeFromId (#2497) 2022-09-26 14:04:15 -07:00
Irena Rindos 2dfa1bb149 Update changelog (#2485)
* update changelog
2022-09-26 14:01:28 -04:00
Johan Brandhorst-Satzkorn da9adb0c02 feat: Build docker dev images for specified platform (#2493)
Previously, building this target on an ARM machine would
produce an image with a amd64 binary inside an arm
OS.
2022-09-26 11:39:13 -04:00
Irena Rindos 4493dfd527 use prior and current worker auth keys (#2495)
* use prior and current worker auth keys
2022-09-26 11:23:08 -04:00
Hugo 902ca3cccb fix(genapi): uint64 fields failing to be unmarshalled (#2492)
uint64 fields get marshalled into json by protobuf as strings, so we
have to tell the json parser to look for strings when unmarshalling.
2022-09-26 15:27:28 +01:00
Jeff Mitchell 6116dad2bc Fix incorrect flag name (#2494) 2022-09-25 18:08:05 -05:00
Jeff Mitchell 74a007bfdd Adapt to new nodeenrollment X25519KeyProducer interface (#2491) 2022-09-23 09:14:17 -04:00
Louis Ruch b7684a857a feat(ssh): Use HostId as HostKeyAlias for connect ssh helper (#2490) 2022-09-22 17:51:30 -07:00
Zhihe Li fd0cbbc776 Bump UI commitish (#2489) 2022-09-22 18:22:01 -04:00
Todd d270513b5a Add error printing when cluster listeners and their consumers error. (#2488) 2022-09-22 14:01:59 -07:00
Zhihe Li 8ab3c4c1f4 Bump UI commitish (#2487) 2022-09-22 15:16:35 -04:00
Jaymala 611bf80279 Add infrastructure tags to Enos scenarios (#2486)
Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>

Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
2022-09-22 13:29:25 -04:00
Irena Rindos bd4f5f3801 update worker auth rotate (#2484) 2022-09-22 13:13:31 -04:00
Jamie Finnigan f6532c6cd6 tighten access to /boundary/config.hcl in container images (#2471) 2022-09-21 16:27:58 -07:00
Zhihe Li bbd006db85 Update changelog (#2482) 2022-09-21 16:04:22 -04:00
Louis Ruch b78d83e242 log(vault): Log formatted duration instead of nanoseconds (#2481) 2022-09-21 12:04:29 -07:00
Zhihe Li 423f3be251 Bump UI commitish (#2480) 2022-09-21 09:33:20 -04:00
Dharini Jeeva 8b71307556 add aws region website redirect (#2476)
* add aws region redirect
2022-09-20 12:59:44 -07:00
Johan Brandhorst-SatzkornandTimothy Messier 5dbcda512a Fix enos bats test errors (#2468)
* test(cli): Remove skips in CI for cli tests

* fix(enos): Fix enos bats tests

The tests still sometimes suffer from timing issues,
but I was able to run a successful run (setup, run, destroy)
of the tests from my machine at least once.

There were 2 issues:

- Some tests in groups.bats were hardcoding the default user id
- The default grants for a user in a project were missing
   the permission to connect to a target. We now add this
   explicitly.

Co-authored-by: Timothy Messier <tim.messier@gmail.com>
2022-09-20 14:39:28 -04:00