vault/enos/modules
Ryan Cragun c8e6169d5d
VAULT-31402: Add verification for all container images (#28605)
* VAULT-31402: Add verification for all container images

Add verification for all container images that are generated as part of
the build. Before this change we only ever tested a limited subset of
"default" containers based on Alpine Linux that we publish via the
Docker hub and AWS ECR.

Now we support testing all Alpine and UBI based container images. We
also verify the repository and tag information embedded in each by
deploying them and verifying the repo and tag metadata match our
expectations.

This does change the k8s scenario interface quite a bit. We now take in
an archive image and set image/repo/tag information based on the
scenario variants.

To enable this I also needed to add `tar` to the UBI base image. It was
already available in the Alpine image and is used to copy utilities to
the image when deploying and configuring the cluster via Enos.

Since some images contain multiple tags we also add samples for each
image and randomly select which variant to test on a given PR.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-10-07 10:16:22 -06:00
..
autopilot_upgrade_storageconfig [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
backend_consul VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
backend_raft VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
build_artifactory_artifact VAULT-29583: Modernize default distributions in enos scenarios (#28012) 2024-08-09 13:43:28 -06:00
build_artifactory_package enos: improve artifact:local dev scenario experience (#27095) 2024-05-17 10:22:08 -06:00
build_crt enos: improve artifact:local dev scenario experience (#27095) 2024-05-17 10:22:08 -06:00
build_local enos: improve artifact:local dev scenario experience (#27095) 2024-05-17 10:22:08 -06:00
create_vpc VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
disable_selinux VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
ec2_info VAULT-29583: Modernize default distributions in enos scenarios (#28012) 2024-08-09 13:43:28 -06:00
generate_dr_operation_token Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
generate_failover_secondary_token Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
generate_secondary_public_key Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
generate_secondary_token Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
get_local_metadata enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
install_packages enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
k8s_deploy_vault [QT-695] Add config_mode variant to some scenarios (#26380) 2024-04-22 12:34:47 -06:00
k8s_vault_verify_replication enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
k8s_vault_verify_ui enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
k8s_vault_verify_version enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
k8s_vault_verify_write_data [QT-695] Add config_mode variant to some scenarios (#26380) 2024-04-22 12:34:47 -06:00
load_docker_image [QT-695] Add config_mode variant to some scenarios (#26380) 2024-04-22 12:34:47 -06:00
local_kind_cluster [QT-695] Add config_mode variant to some scenarios (#26380) 2024-04-22 12:34:47 -06:00
read_license [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
replication_data VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
seal_awskms [QT-695] Add config_mode variant to some scenarios (#26380) 2024-04-22 12:34:47 -06:00
seal_pkcs11 VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
seal_shamir [QT-695] Add config_mode variant to some scenarios (#26380) 2024-04-22 12:34:47 -06:00
shutdown_multiple_nodes enos: poweroff and terminate instances when shutting them down (#28316) 2024-09-09 13:22:41 -06:00
shutdown_node enos: poweroff and terminate instances when shutting them down (#28316) 2024-09-09 13:22:41 -06:00
softhsm_create_vault_keys enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
softhsm_distribute_vault_keys VAULT-29583: Modernize default distributions in enos scenarios (#28012) 2024-08-09 13:43:28 -06:00
softhsm_init enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
softhsm_install VAULT-29583: Modernize default distributions in enos scenarios (#28012) 2024-08-09 13:43:28 -06:00
start_vault VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
stop_vault VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
target_ec2_fleet VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
target_ec2_instances enos: poweroff and terminate instances when shutting them down (#28316) 2024-09-09 13:22:41 -06:00
target_ec2_shim VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
target_ec2_spot_fleet VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
vault_agent VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
vault_cluster enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_failover_demote_dr_primary Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
vault_failover_promote_dr_secondary Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
vault_failover_update_dr_primary Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
vault_get_cluster_ips enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_proxy enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_raft_remove_peer enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_setup_dr_primary VAULT-30819: verify DR secondary leader before unsealing followers (#28459) 2024-09-24 09:13:40 -06:00
vault_setup_perf_primary Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
vault_setup_replication_secondary VAULT-30819: verify DR secondary leader before unsealing followers (#28459) 2024-09-24 09:13:40 -06:00
vault_step_down enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_test_ui enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_unseal_replication_followers VAULT-30819: verify DR secondary leader before unsealing followers (#28459) 2024-09-24 09:13:40 -06:00
vault_upgrade VAULT-30819: Fix two potential flakes in DR replication (#28409) 2024-09-17 12:32:15 -06:00
vault_verify_agent_output enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_verify_autopilot VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
vault_verify_billing_start_date enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_verify_default_lcq VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
vault_verify_dr_replication Add DR failover scenario to Enos (#28256) 2024-09-05 21:33:53 +00:00
vault_verify_performance_replication enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_verify_raft_auto_join_voter enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_verify_replication VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
vault_verify_ui enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_verify_undo_logs enos: renable undo logs verification (#27206) 2024-08-14 13:45:50 -06:00
vault_verify_version enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_wait_for_cluster_unsealed VAULT-30819: Fix two potential flakes in DR replication (#28409) 2024-09-17 12:32:15 -06:00
vault_wait_for_leader enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
vault_wait_for_seal_rewrap enos: add shfmt formatting to enos module scripts (#28142) 2024-08-23 13:45:30 -06:00
verify_seal_type VAULT-28146: Add IPV6 support to enos scenarios (#27884) 2024-07-30 11:00:27 -06:00
verify_secrets_engines [VAULT-30189] enos: verify identity and OIDC tokens (#28274) 2024-09-09 14:29:11 -06:00