Commit Graph
64 Commits
Author SHA1 Message Date
Jeff MitchellandJohan Brandhorst-Satzkorn ee7bf3cde6 Add check to ensure milestone (#2747)
* Add check to ensure milestone

Stolen from https://github.com/hashicorp/vault/pull/18406

* Update .github/workflows/milestone-checker.yml

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>

* Pin grafana github actions ref

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2023-01-03 22:37:34 -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 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
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
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
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
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
Michael Li c20bd8a37e chore(e2e): Update to use latest version of Vault CLI (#2585) 2022-11-01 13:13:00 -04:00
Michael Li 0424d379cf refact(e2e): Reorganize test directory
Rearranges the directory structure to align better with the enos scenarios. Tests will now be added in the `tests` directory, with a folder in the directory corresponding to an enos scenario.
2022-10-27 17:40:13 -04:00
Michael Anthony b5ef8a516b QT-351 - Output Terraform and provider version information in Enos workflows (#2564)
* Add tf core and module version output step

* Add generate step before getting versions
2022-10-26 11:48:17 -06: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
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
Timothy Messier f28bcd4aa7 chore(cli): Run bats tests against boundary dev in CI
Several of these tests are being skipped in the enos
run. This seems to be due to differences in the setup that is performed.
When these tests were run manually, `boundary dev` was used which
performs some setup of resources automatically. However since enos uses
a non-dev controller, a similar setup is performed via the enos modules.

Until the discrepancies between the setup can be investigated, this adds
a separate CI job to run the tests against `boundary dev`. These tests
are all passing, without any being skipped. This test suite can still be
useful even if the enos version is fixed, since this test suite will run
much faster, and therefore identify failures sooner.
2022-09-16 15:54:55 +00:00
Ryan Cragun 6983bb7d41 enos: don't fail fast in enos integration matrix (#2416)
Disable the fail-fast feature for the matrix strategy. This prevents a
single failure to cascade to all jobs in the matrix. This prevents cases
where other jobs fail before they're able to clean up resources.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2022-09-01 13:16:56 -06:00
Johan Brandhorst-Satzkorn d4fce6fbe1 fix: Move enos job attribute into enos-run workflow (#2374)
Maybe this will fix it? This doesn't make any sense.
2022-08-17 20:39:12 -04:00
Johan Brandhorst-Satzkorn 91e6857631 fix: Use correct yaml (#2373)
Didn't notice this until it failed on main
2022-08-17 20:27:26 -04:00
Johan Brandhorst-Satzkorn b6445adff0 feat: Stop enos jobs from failing CI pipelines (#2372)
Enos jobs are still a bit unstable, we should use them as
advisory for now. When they have gained more stability,
we can let them fail pipelines again.
2022-08-17 19:56:06 -04:00
Jaymala 369f818f4c Update Enos run (#2326)
* Rotate the credential used for the Enos SSH Key
* Use the enos provider from TFC

Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
2022-08-16 11:07:19 -06:00
Michele Degges 047b9bea05 Merging ENT updates back into OSS (#2309) 2022-07-29 11:51:26 -07:00
Ryan Cragun ed3014ead5 build: depend on the right output for metadata (#2306)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2022-07-29 11:15:25 -06:00
Ryan Cragun ab3fe75537 build: generate the metadata file (#2302)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2022-07-28 15:37:10 -06:00
9169c6bacb [QTI-220] Add infrastructure integration testing (#2282)
* [QTI-275] Add infrastructure integration testing

On pull requests that originate from branches of the `hashicorp/boundary`
repo, we now conditionally dispatch infrastructure integration tests using
the Enos framework. The `integration` Enos scenario includes two `builder`
variants which allow developers or CI to deploy a Boundary cluster in AWS
using either a local `boundary` install bundle or that which is produced
in the `build` workflow for CRT. The `test` variants determine which type
of infrastructure integration test to run. At present those options are
`cli_ui` (Bats CLI tests) or `smoke` (creates target instances and a
target host catalog and verifies that `boundary` works).

In addition to the new workflow and quality scenarios, we simplified the
some `build` workflow steps and added Go module caching to speed up the
build pipeline.

See the [enos/README.md](https://github.com/hashicorp/boundary/blob/main/enos/README.md)
for a detailed explanation on how to configure and execute Enos scenarios
from your machine.

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Rebecca Willett <rwillett@hashicorp.com>
Co-authored-by: Josh Branch <jbrand@hashicorp.com>
2022-07-28 14:48:51 -06:00
Michele Degges 63bfcaff61 [CI-only] Build updates (#2296) 2022-07-28 07:57:12 -07:00
Damian Debkowski aa9bf6b6a5 chore(go) bump version to 1.18.4 (#2281) 2022-07-22 12:16:53 -07:00
Michele Degges e7a32ebd68 [CI-Only] Support per-commit dev images and fossa scanning (#2255) 2022-07-19 15:23:50 -07:00
Sam Salisbury cb9bdbe7e4 fix actions-docker-build invocation (#2223) 2022-06-21 14:26:27 +01:00
Todd 19b549c44a Rename package servers to server (#2222) 2022-06-20 18:20:17 -07:00
Johan Brandhorst-Satzkorn e7273d65c2 Bump Go version to v1.18.3 (#2158)
* chore: Bump Go version

Go 1.18.3 has some security patches over 1.18.1.

See https://go.dev/doc/devel/release#go1.18.minor

* Fix formatting

This was missed in a recent PR
2022-06-09 11:43:39 -04:00
Carlos Alcaide Corvo ce0507ee99 Update UI artifacts consumption (#2074)
Update UI artifacts consumption to allow UI editions
2022-05-16 12:05:32 -07:00
Jeff Mitchell 957fe19846 Bump to Go 1.18 (#2036) 2022-05-04 12:14:00 -04:00
Jeff Mitchell 0f961eb5f6 Bump Go to latest 1.17 (#2041) 2022-04-29 08:33:36 -04:00
Carlos Alcaide Corvo 960ed6a80f Update from v2 to v3 all gh actions (#2030) 2022-04-21 09:57:29 -07:00
Carlos Alcaide Corvo 1342bd0183 Refactor build ci worfklow to decouple UI build (#1975)
Refactor build workflow to stop building the UI and consuming UI artifacts
2022-04-20 11:04:36 -07:00
Timothy Messier ec0f107ef5 fix(build): Run plugin script directly instead of with sh (#2025)
These github actions run on Ubuntu based machine. Ubuntu by default
links `/bin/sh` to dash. So by invoking the plugin.sh script as `/bin/sh
./plugins.sh` the script would run under `dash` despite the shebang
line. A recent change that unified some of the build process, introduced
additional bashisms into this script which is caused the build to fail.

This updated the build system to just run the script directly, which
will honor the shebang line. This seems like the best approach since the
ubuntu machine has bash and the shebang line points to bash, so it is
natural for developers to assume bashisms will work.

See:
    f370abc1da
    https://github.com/actions/virtual-environments/blob/ubuntu20/20220410.2/images/linux/Ubuntu2004-Readme.md
    https://wiki.ubuntu.com/DashAsBinSh
2022-04-19 10:00:41 -04:00
Sarah Thompson 3d0b3d4072 Fix UI build caching and set network-timeout (#1875) 2022-02-24 13:20:45 -08:00
Michele Degges 9ec23fbf80 Remove setup-qemu step from Docker build job (#1873) 2022-02-24 12:00:38 -08:00
claire labry 1361261f67 [RDX-309] UI build timeout fix (#1870)
* testing network concurrency flag

* trigger ui build

* trigger ui build

* trigger ui build

* whoops, cleaning up
2022-02-17 13:46:24 -05:00
modrake 2f7b4e5451 Docker version parity to reduce oss->ent merge conflicts (#1843) 2022-02-04 09:54:26 -08:00
Timothy Messier 8557442370 ci: Add plugin compile step (#1840)
Some OS build steps were not compiling the plugins before compiling the
boundary binary. This resulted in binaries that did not have plugins
included, and would result in an error when starting a boundary server.
2022-02-02 17:29:29 -05:00
84f6cc698c Onboard Boundary to CRT (#1786)
Onboard Boundary to Common Release Tooling

Co-authored-by: mdrake <mdrake@hashicorp.com>
Co-authored-by: jeanneryan <jeanneryan@hashicorp.com>
2022-02-01 07:41:27 -08:00
Kevin Wang 52b80fbe18 feat: updated backport assistant (#1716) 2021-12-08 12:53:57 -05:00
Zachary Shilton d1d35e827c website: support hidden pages in nav-data (#1201)
* website: bump to docs-page prerelease w hidden page support

* website: replace hot fix for hidden /docs pages

* website: remove cruft from old hidden page hot fix

* website: bump to stable docs-page, w next-mdx-remote bump
2021-05-06 13:32:41 -04:00
Michael Gaffney 48340da733 workflow: add automatic label for SQL files (#1187) 2021-05-03 10:59:19 -04:00
Zachary Shilton 0ffcbb35b5 website: resolve unlinked content, add check (#1157)
* website: add back unlinked pages to match previous state

* website: add unlinked content check
2021-04-23 10:53:47 -04:00
Rae Krantz 0e61bd202b add workflow file for backport-assistant github action (#735)
* add workflow file for backport-assistant github action

* up version of backport-assistant to handle forked PRs
2020-10-28 15:44:51 -04:00
Patrick Bernal 1cf30ba42b Update jira.yml (#718)
Update dependencies, some formatting.
2020-10-16 09:51:01 -07:00
Jamie Finnigan e11b29da8f enable GitHub code scanning workflow for scheduled weekly scan (#422) 2020-10-08 08:28:12 -07:00
Jeff Malnick b51d99cc84 docs: add additional docs labels and correctly glob subdirectories (#501) 2020-09-29 15:28:08 -07:00
Patrick Bernal 9020a70632 issue templates (#497) 2020-09-29 15:02:34 -07:00