open-vault/scripts
Ryan Cragun bd5d738ad7
[QT-436] Pseudo random artifact test scenarios (#18056)
Introducing a new approach to testing Vault artifacts before merge
and after merge/notorization/signing. Rather than run a few static
scenarios across the artifacts, we now have the ability to run a
pseudo random sample of scenarios across many different build artifacts.

We've added 20 possible scenarios for the AMD64 and ARM64 binary
bundles, which we've broken into five test groups. On any given push to
a pull request branch, we will now choose a random test group and
execute its corresponding scenarios against the resulting build
artifacts. This gives us greater test coverage but lets us split the
verification across many different pull requests.

The post-merge release testing pipeline behaves in a similar fashion,
however, the artifacts that we use for testing have been notarized and
signed prior to testing. We've also reduce the number of groups so that
we run more scenarios after merge to a release branch.

We intend to take what we've learned building this in Github Actions and
roll it into an easier to use feature that is native to Enos. Until then,
we'll have to manually add scenarios to each matrix file and manually
number the test group. It's important to note that Github requires every
matrix to include at least one vector, so every artifact that is being
tested must include a single scenario in order for all workflows to pass
and thus satisfy branch merge requirements.

* Add support for different artifact types to enos-run
* Add support for different runner type to enos-run
* Add arm64 scenarios to build matrix
* Expand build matrices to include different variants
* Update Consul versions in Enos scenarios and matrices
* Refactor enos-run environment
* Add minimum version filtering support to enos-run. This allows us to
  automatically exclude scenarios that require a more recent version of
  Vault
* Add maximum version filtering support to enos-run. This allows us to
  automatically exclude scenarios that require an older version of
  Vault
* Fix Node 12 deprecation warnings
* Rename enos-verify-stable to enos-release-testing-oss
* Convert artifactory matrix into enos-release-testing-oss matrices
* Add all Vault editions to Enos scenario matrices
* Fix verify version with complex Vault edition metadata
* Rename the crt-builder to ci-helper
* Add more version helpers to ci-helper and Makefile
* Update CODEOWNERS for quality team
* Add support for filtering matrices by group and version constraints
* Add support for pseudo random test scenario execution

Signed-off-by: Ryan Cragun <me@ryan.ec>
2022-12-12 13:46:04 -07:00
..
cross Remove gox in favor of go build. (#16353) 2022-07-20 10:44:41 -07:00
docker Reduce number of places where go version is set (#17762) 2022-11-01 15:37:13 -04:00
windows Move version out of SDK. (#14229) 2022-12-07 13:29:51 -05:00
assetcheck.sh Replace go-bindata-assetfs build dependency with native go:embed (#11208) 2021-08-18 11:05:11 -04:00
build.sh [QT-436] Pseudo random artifact test scenarios (#18056) 2022-12-12 13:46:04 -07:00
ci-helper.sh [QT-436] Pseudo random artifact test scenarios (#18056) 2022-12-12 13:46:04 -07:00
coverage.sh Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
deps_upgrade.py Minimal changes to solve Dependency CVEs [VAULT-871] (#11015) 2021-03-01 14:35:40 -08:00
dist.sh Rename some references from master to main (#11897) 2021-06-18 11:24:54 -07:00
gen_openapi.sh Fix gen_openapi.sh script to load plugins (#17752) 2022-11-01 17:32:54 -04:00
gofmtcheck.sh add gofmt checks to Vault and format existing code (#2745) 2017-05-19 08:34:17 -04:00
goversioncheck.sh Allow easier swapping of Go version (#8102) 2020-01-09 09:35:32 -08:00
protocversioncheck.sh Enforce a minimum version for protoc (#17122) 2022-09-13 19:46:35 -07:00
semgrep_plugin_repos.sh Add Semgrep Rules to OSS (#14513) 2022-03-18 11:14:03 -07:00
testciphers.sh Handpick cluster cipher suites when they're not user-set (#7487) 2019-10-28 12:51:45 -04:00
update_deps.sh Update dep script 2019-03-25 20:38:08 -04:00
update_plugin_modules.sh Rename some references from master to main (#11897) 2021-06-18 11:24:54 -07:00