open-vault/scripts
hc-github-team-secure-vault-core f52a686b91
[QT-506] Use enos scenario samples for testing (#22641) (#22933)
Replace our prior implementation of Enos test groups with the new Enos
sampling feature. With this feature we're able to describe which
scenarios and variant combinations are valid for a given artifact and
allow enos to create a valid sample field (a matrix of all compatible
scenarios) and take an observation (select some to run) for us. This
ensures that every valid scenario and variant combination will
now be a candidate for testing in the pipeline. See QT-504[0] for further
details on the Enos sampling capabilities.

Our prior implementation only tested the amd64 and arm64 zip artifacts,
as well as the Docker container. We now include the following new artifacts
in the test matrix:
* CE Amd64 Debian package
* CE Amd64 RPM package
* CE Arm64 Debian package
* CE Arm64 RPM package

Each artifact includes a sample definition for both pre-merge/post-merge
(build) and release testing.

Changes:
* Remove the hand crafted `enos-run-matrices` ci matrix targets and replace
  them with per-artifact samples.
* Use enos sampling to generate different sample groups on all pull
  requests.
* Update the enos scenario matrices to handle HSM and FIPS packages.
* Simplify enos scenarios by using shared globals instead of
  cargo-culted locals.

Note: This will require coordination with vault-enterprise to ensure a
smooth migration to the new system. Integrating new scenarios or
modifying existing scenarios/variants should be much smoother after this
initial migration.

[0] https://github.com/hashicorp/enos/pull/102

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-09-08 13:31:09 -06:00
..
cross Address Critical Vulnerabilities from Dependencies (#19901) 2023-04-03 15:24:38 -06:00
docker Address Critical Vulnerabilities from Dependencies (#19901) 2023-04-03 15:24:38 -06:00
windows Move version out of SDK. (#14229) 2022-12-07 13:29:51 -05:00
assetcheck.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
build.sh build: try creating the go bin directory (#19862) 2023-04-17 22:57:17 +00:00
ci-helper.sh [QT-506] Use enos scenario samples for testing (#22641) (#22933) 2023-09-08 13:31:09 -06:00
coverage.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
deprecations-checker.sh Backport of Limit number of tests in CI comment into release/1.14.x (#21971) 2023-07-20 15:07:20 +02:00
deps_upgrade.py adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
dist.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
gen_openapi.sh backport of commit 8925dc22a0996d08af81f9c9883a66d0c21a88f8 (#21598) 2023-07-05 19:59:26 +00:00
gofmtcheck.sh backport of commit a9778be3f2735ea242c5ea05a2a805fa18e7df4f (#21756) 2023-07-11 14:44:40 +00:00
goversioncheck.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
protocversioncheck.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
semgrep_plugin_repos.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
testciphers.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
update_deps.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
update_plugin_modules.sh adding copyright header (#19555) 2023-03-15 09:00:52 -07:00