open-vault/enos/modules
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
..
autopilot_upgrade_storageconfig [QTI-308] Add Enos integration tests (#16760) 2022-08-23 13:53:41 -06:00
az_finder [QTI-308] Add Enos integration tests (#16760) 2022-08-23 13:53:41 -06:00
backend_raft [QTI-308] Add Enos integration tests (#16760) 2022-08-23 13:53:41 -06:00
build_crt Migrate package_manager smoke test to Enos scenario (#17653) 2022-11-16 14:23:58 -05:00
build_local [QT-436] Pseudo random artifact test scenarios (#18056) 2022-12-12 13:46:04 -07:00
get_local_metadata [QT-436] Pseudo random artifact test scenarios (#18056) 2022-12-12 13:46:04 -07:00
k8s_deploy_vault Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
k8s_vault_verify_build_date Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
k8s_vault_verify_replication Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
k8s_vault_verify_ui Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
k8s_vault_verify_version Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
k8s_vault_verify_write_data Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
load_docker_image Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
local_kind_cluster Add an enos scenario to test vault docker images using k8s/kind/helm (#17515) 2022-10-19 14:26:31 -04:00
read_license [QTI-308] Add Enos integration tests (#16760) 2022-08-23 13:53:41 -06:00
vault-verify-replication Migrate package_manager smoke test to Enos scenario (#17653) 2022-11-16 14:23:58 -05:00
vault-verify-ui Migrate package_manager smoke test to Enos scenario (#17653) 2022-11-16 14:23:58 -05:00
vault-verify-write-data Migrate package_manager smoke test to Enos scenario (#17653) 2022-11-16 14:23:58 -05:00
vault_agent VAULT-9688 Vault Agent Enos test (#17837) 2022-11-08 10:08:43 -05:00
vault_artifactory_artifact Migrate package_manager smoke test to Enos scenario (#17653) 2022-11-16 14:23:58 -05:00
vault_upgrade Migrate package_manager smoke test to Enos scenario (#17653) 2022-11-16 14:23:58 -05:00
vault_verify_agent_output VAULT-9688 Vault Agent Enos test (#17837) 2022-11-08 10:08:43 -05:00
vault_verify_autopilot [QTI-308] Add Enos integration tests (#16760) 2022-08-23 13:53:41 -06:00
vault_verify_raft_auto_join_voter [QTI-308] Add Enos integration tests (#16760) 2022-08-23 13:53:41 -06:00
vault_verify_unsealed Add Artifactory build to the matrix (#17353) 2022-10-17 19:47:37 -04:00
vault_verify_version [QT-436] Pseudo random artifact test scenarios (#18056) 2022-12-12 13:46:04 -07:00