Commit Graph
2685 Commits
Author SHA1 Message Date
Dan Heath e2ac9e9f27 docs: Add HCP link to navigation (#2722)
* docs: Add HCP link to navigation

* Add trailing slash

* Use relative path instead of absolute

* Change back to absolute link

* Change link to cloud.hashicorp

* Update name of product
2022-12-19 15:03:59 -05:00
Ryan Cragun 23f1cdea27 enos: make the local build target configurable (#2313)
This makes the `make` build target that is used for local builder
variant configurable. This will allow us to utilize the local builder
variant in downstreams that might use different targets for their build.

* Make the local build target configurable
* Allow cross compiling `linux/amd64` on different platforms.
2022-12-19 14:35:10 -05:00
Michael Li 74f7ce93bc chore(e2e): Update to use Vault 1.12.2 (#2726) 2022-12-19 14:29:25 -05:00
Michael Li 44fd85c751 fix(kms/test): Fix flake (#2723)
There was some flakiness observed in this test, where keyCount was reported to be 21. To prevent any potential conflicts, we are making the sub-tests not run in parallel.
2022-12-16 12:16:17 -05:00
Michael Li 8bd883a37d test(e2e): Add tests to validate that session ends after target is deleted (#2709)
* test(e2e): Add more "session end" tests

These tests validate that the session ends when the respective project or target is deleted. It also ensures that the session can still be read after the deletion of the corresponding item.

* Removing test from PR due to bug

This test found a bug that will be resolved in the future. Taking this test out of the PR and will add it once the bug is fixed.
2022-12-15 15:49:18 -05:00
Michael Li 26a85ef61b chore(e2e): Better output formatting (#2719)
Updating the `go test` command to include a table summary of test results at the end. This is the same command used by unit tests.
2022-12-15 14:57:24 -05:00
Jeff Mitchell 5353725278 Merge duplicated attr/secret/kv flag handling into one function (#2720) 2022-12-15 13:01:57 -05:00
Michael Li 1596b02e53 test(e2e): Add database migration test (#2627)
* test(e2e): Add database migration test

* chore(enos): Add enos scenario for migration test

* chore(enos): Update go test command to use count option

* doc(e2e): Update readme with migration test details

* Fix: Typo

* CR: Use different library

* CR: Add additional context in comment

* CR: Move some code from test into functions

* doc(e2e): Add instructions to more easily retrieve environment variables

* refact(e2e): Create some more methods to increase test readability
2022-12-13 17:00:50 -05:00
Dan Heath 49909a331c docs: Delete roadmap topic (#2707)
* docs: Delete roadmap topic

* Remove topic from navigation

* Add redirect

* Fix redirect
2022-12-13 14:55:13 -05:00
Irena Rindos 5c73e43912 revert 2712 (#2713) 2022-12-13 14:25:40 -05:00
Irena Rindos a135127524 Move dialingListener setAddresses 2022-12-13 13:29:14 -05:00
Mike Baum cc42c51e5e [QT-396] Ensure oss enos ci bootstrap workflow only runs in the oss repo (#2711) 2022-12-13 13:06:18 -05:00
Danielle 46037cf85a Add Staticcheck to Build Pipeline (#2421)
Run staticcheck linters on pull requests
2022-12-13 12:07:18 -05:00
Jim 38b12394fd refactor (kms): add GetWrapperer for RewrapFn parameter (#2701)
* refactor (kms): add GetWrapperer for RewrapFn parameter

* tests (kms): add MockWrapper and MockGetWrapperer

Make it a bit easier to write unhappy path tests which depend on
a Wrapper or GetWrapperer
2022-12-13 05:38:14 -05:00
Irena Rindos 173e1587d0 Append initial worker upstreams if current upstreams are unresponsive (#2698)
* Append initial worker upstreams if current upstreams are unresponsive
2022-12-12 13:48:28 -05:00
Mike Baum 24c3d6824d [QT-396] Add Enos CI bootstrapping scenarios (#2621)
* Add Enos CI bootstrapping scenarios
* Add GitHub Actions workflow for CI bootstrapping
* Add service quotas limit increase request to Enos CI bootstrapping
2022-12-12 13:48:10 -05:00
Todd 7a6983c463 Fix wrapped reverse grpc listener (#2702) 2022-12-12 10:27:31 -08:00
Haotian 340cfb0d88 refactor(metric): adds filter function to collector init method (#2695) 2022-12-12 09:12:33 -08:00
Johan Brandhorst-Satzkorn 240278cbf1 fix(docs): Use "root" to reference the root key (#2700)
The "root" identifier is how we identify the root key in configuration,
so it is the phrase we should use in this documentation.
2022-12-12 11:24:58 -05:00
emily neil 7cd5b5a320 Onboard boundary to use new version/VERSION file and reproducible actions-go-build (#2662)
* Onboard boundary to use new .release/VERSION file and reproducible actions-go-build

* Added automatic patch version bumps to end of release pipeline

* Added back VersionMetadata to internal directory

* Moved VERSION file to version/

* Update to current version

* Using prepare workflow for pre-stable channel workflow

* Test prepare workflow

* PR feedback: allow builds to run builds locally without setting BIN_PATH

* PR feedback: revert Enos changes

* PR Feedback

* Remove current branch from ci pipeline

* Run make fmt
2022-12-09 13:08:02 -08:00
Johan Brandhorst-Satzkorn 5d48b10123 Upgrade Go (#2699)
* fix(ci): Make goinstall read from .go-version

* Upgrade Go version

Go version 1.19.4 contains a security fix that affects all HTTP/2
servers.
2022-12-09 15:58:40 -05:00
Louis Ruch 595a576caa chore: update changelog 2022-12-09 12:05:28 -08:00
Michael Li 0eb7c04c1d test(e2e): Add tests to validate that session ends after host source is deleted (#2689) 2022-12-08 18:27:52 -05:00
Johan Brandhorst-Satzkorn eb113b5c9e fix(db): Reorder migrations (#2688)
Migration numbers need to be consistent between version upgrades.
The migrations for the key lifecycle management were merged
into v0.11.1 as number 56, but are currently 58 in main.
This reorders them down to 56, fixing an issue when
migrating from 0.11.1 to main.
2022-12-08 13:40:14 -05:00
Dan HeathandJeff Mitchell 70a1302cd9 Update Vault credential library templating section (#2679)
* Update Vault credential library templating section

* Add request body to intro

* Update website/content/docs/concepts/domain-model/credential-libraries.mdx

Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>

* Minor rewrite

Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
2022-12-07 17:03:27 -05:00
Jeff Malnick 07a823c520 docs: update GCP KMS docs with environment variable usage (#2690) 2022-12-07 16:36:48 -05:00
Todd a0600138fa Fix wrapped reverse grpc listener (#2687) 2022-12-06 16:17:13 -08:00
Jeff Mitchell d798638cde Upgrade configutil and kms/plugin to get in kms plugin sighup fix 2022-12-06 16:50:07 -05:00
Jeff Mitchell 3b44c2578b Upgrade sdk configutil dep 2022-12-06 16:47:08 -05:00
Michael LiandJohan Brandhorst-Satzkorn 45171a3f56 refact(e2e): Changes to support an automated migration test (#2676)
* refact(e2e): Move cleanup steps into each test

The migration test needed to create some resources, but doesn't care about cleaning up because the test would take care of spinning down the docker container that it's using. To maintain flexibility going forward, we'll establish that tests are responsible for cleaning up (rather than the methods they use)

* refact(e2e): Use new env var for skip check

Currently, the e2e tests use the E2E_PASSWORD_AUTH_METHOD_ID environment variable to determine if the test should be skipped. However, the new migration test does not require a pre-existing boundary cluster and would not have this environment variable. As a result, we needed an alternative way to check if an e2e test should be skipped when running tests in ci.

* refact(e2e): Create more common boundary methods

* fix(e2e): Set to string value

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2022-12-06 15:59:17 -05:00
Jeff Mitchell 3fa866e6bf Update host plugin mains against SIGHUP swallowing sdk 2022-12-06 15:29:58 -05:00
Jeff Mitchell b8a3def368 Add SIGHUP ignoring to sdk/plugin (#2677) (#2681) 2022-12-06 15:25:27 -05:00
Todd b6c0ccc1e8 Refactor proxy handler to separate connection and protocol handling (#2678) 2022-12-06 11:44:00 -08:00
Haotian fbd0a8272b feat(metric): adds accepted/closed connections counters to worker and controller servers (#2668)
* adds counters and changelog entry
2022-12-06 10:13:44 -08:00
Michael Li 2d90dc2c97 test(e2e): Minor clerical updates to key destruction tests (#2674) 2022-12-05 18:25:12 -05:00
HashiBotandKevin Wang 64662c649a chore: Update Digital Team Files (#2671)
* Update generated scripts (website-build.sh)

* Update generated scripts (website-start.sh)

* Update generated scripts (should-build.sh)

* Update generated website Makefile

* Update website/scripts/should-build.sh

Co-authored-by: Kevin Wang <kwangsan@gmail.com>
2022-12-05 17:47:10 -05:00
Pradeep Sekarandprsekar 8b5c8e8b7a chore: Update changelog with bytes up and down changes (#2673)
Co-authored-by: prsekar <pradeep.sekar@hashicorp.com>
2022-12-05 17:21:45 +00:00
Jeff Mitchell 66dc82a7ba Send message on dev mode SIGHUP so it doesn't just appear to have been swallowed 2022-12-02 13:59:37 -05:00
Irena Rindos 5b162a4433 add worker version to network graph (#2672)
* add worker version to network graph
2022-12-02 12:36:10 -05:00
Danielle 601be14c12 move custom response headers to next in changelog (#2667) 2022-12-01 14:01:05 -05:00
Johan Brandhorst-Satzkorn 6d25b35b4e Add KMS rotation/destruction feature to the changelog and docs (#2600)
* Add initial changelog entry

* feat(docs): Add initial stab at docs for KMS rotation/destruction

* fixup! Add initial changelog entry

* Review comments
2022-12-01 13:32:35 -05:00
Danielle 5f8d292ea1 Inject Custom Response Headers By Status (#2587)
* add custom ResponseWriter struct to inject custom response headers based on status code

* docs

* upgrade listenerutil

* fix config tests

* replace all instances of "data:*" with "data:" to reflect changes to listenerutil

* swapping strings.HasPrefix in favor of mux.Handler for ui request matching

* set ui path as const

* add custom response headers to changelog
2022-12-01 13:15:53 -05:00
Hugo 4b03a39958 chore: Update changelog with bytes up and down changes (#2665) 2022-12-01 18:15:08 +00:00
Irena Rindos 834a2a88f7 feat(targets): Addition of egress and ingress worker filters (#2654)
* feat(targets): Addition of egress and ingress worker filters
2022-11-30 15:23:37 -05:00
Louis Ruch aca22cacb9 chore: Update changelog 2022-11-29 13:57:20 -08:00
Haotian 2b84013379 Revert " feat(metric): adds accepted/closed connections counters for controller and worker cluster connections (#2656)" for failing a build test (#2660)
This reverts commit 80f72b8511.
2022-11-29 10:22:53 -08:00
Dan Heath c506107127 Document vault credential library templating (#2635)
* Document credential library injection

* Add caveat about versions < 0.11.1, remove link
2022-11-29 10:41:50 -05:00
Haotian 80f72b8511 feat(metric): adds accepted/closed connections counters for controller and worker cluster connections (#2656)
same contents as PR https://github.com/hashicorp/boundary/pull/2593 but this time actually push to main
2022-11-28 17:35:16 -08:00
Todd 7c2d0692f6 Fix NPE and GetReleaseVersion now includes metadata. (#2657) 2022-11-28 15:10:36 -08:00
Irena Rindos 2e7cf260af Remove Feature tests running in parallel (#2655) 2022-11-28 15:53:32 -05:00