open-vault/.github
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
..
actions backport of commit 8615b31598e094b1bf083242e76fff74a31daf9a (#22014) 2023-07-21 10:53:07 -06:00
ISSUE_TEMPLATE adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
scripts Backport of Limit number of tests in CI comment into release/1.14.x (#21971) 2023-07-20 15:07:20 +02:00
workflows [QT-506] Use enos scenario samples for testing (#22641) (#22933) 2023-09-08 13:31:09 -06:00
actionlint.yaml [QT-576] Optimize build workflow (#21486) (#21601) 2023-07-05 15:19:49 -06:00
CODE_OF_CONDUCT.md add code of conduct (#6049) 2019-01-15 17:30:33 -08:00
dependabot.yml Add dependabot Configuration (#19792) 2023-04-03 12:29:11 -04:00
ISSUE_TEMPLATE.md