mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-18 18:38:08 -05:00
Update the base images for all scenarios: - RHEL: upgrade base image for 10 to 10.1 - RHEL: upgrade base image for 9 to 9.7 - SLES: upgrade base image for 15 to 15.7 - SLES: add SLES 16.0 to the matrix - OpenSUSE: remove OpenSUSE Leap from the matrix I ended up removing OpenSUSE because the images that we were on were rarely updated and that resulted in very slow scenarios because of package upgrades. Also, despite the latest release being in October I didn't find any public cloud images produced for the new version of Leap. We can consider adding it back later but I'm comfortable just leaving SLES 15 and 16 in there for that test coverage. I also ended up fixing a bug in our integration host setup where we'd provision three nodes instead of one. That ought to result in many fewer instance provisions per scenario. I also had to make a few small tweaks in how we detected whether or not SELinux is enabled, as the prior implementation did not work for SLES 16. Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
115 lines
5.1 KiB
HCL
115 lines
5.1 KiB
HCL
// Copyright IBM Corp. 2016, 2025
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
// artifactory_token is the token to use when authenticating to artifactory.
|
|
// artifactory_token = "yourtoken"
|
|
|
|
// artifactory_host is the artifactory host to search for vault artifacts.
|
|
// artifactory_host = "https://artifactory.hashicorp.engineering/artifactory"
|
|
|
|
// artifactory_repo is the artifactory repo to search for vault artifacts.
|
|
// artifactory_repo = "hashicorp-crt-stable-local*"
|
|
|
|
// aws_region is the AWS region where we'll create infrastructure
|
|
// for the smoke scenario
|
|
// aws_region = "us-east-1"
|
|
|
|
// aws_ssh_keypair_name is the AWS keypair to use for SSH
|
|
// aws_ssh_keypair_name = "enos-ci-ssh-key"
|
|
|
|
// aws_ssh_private_key_path is the path to the AWS keypair private key
|
|
// aws_ssh_private_key_path = "./support/private_key.pem"
|
|
|
|
// backend_license_path is the license for the backend if applicable (Consul Enterprise)".
|
|
// backend_license_path = "./support/consul.hclic"
|
|
|
|
// backend_log_level is the server log level for the backend. Supported values include 'trace',
|
|
// 'debug', 'info', 'warn', 'error'"
|
|
// backend_log_level = "trace"
|
|
|
|
// backend_instance_type is the instance type to use for the Vault backend. Must support arm64
|
|
// backend_instance_type = "t4g.small"
|
|
|
|
// project_name is the description of the project. It will often be used to tag infrastructure
|
|
// resources.
|
|
// project_name = "vault-enos-integration"
|
|
|
|
// distro_version_amzn is the version of Amazon Linux to use for "distro:amzn" variants
|
|
// distro_version_amzn = "2023"
|
|
|
|
// distro_version_rhel is the version of RHEL to use for "distro:rhel" variants.
|
|
// distro_version_rhel = "10.1" // or "8.10" or "9.7"
|
|
|
|
// distro_version_sles is the version of SUSE SLES to use for "distro:sles" variants.
|
|
// distro_version_sles = "16.0" // or "15.7"
|
|
|
|
// distro_version_ubuntu is the version of ubuntu to use for "distro:ubuntu" variants
|
|
// distro_version_ubuntu = "22.04" // or "24.04"
|
|
|
|
// tags are a map of tags that will be applied to infrastructure resources that
|
|
// support tagging.
|
|
// tags = { "Project Name" : "Vault", "Something Cool" : "Value" }
|
|
|
|
// terraform_plugin_cache_dir is the directory to cache Terraform modules and providers.
|
|
// It must exist.
|
|
// terraform_plugin_cache_dir = "/Users/<user>/.terraform/plugin-cache-dir
|
|
|
|
// ui_test_filter is the test filter to limit the ui tests to execute for the ui scenario. It will
|
|
// be appended to the ember test command as '-f=\"<filter>\"'.
|
|
// ui_test_filter = "sometest"
|
|
|
|
// ui_run_tests sets whether to run the UI tests or not for the ui scenario. If set to false a
|
|
// cluster will be created but no tests will be run.
|
|
// ui_run_tests = true
|
|
|
|
// vault_artifact_path is the path to CRT generated or local vault.zip bundle. When
|
|
// using the "builder:local" variant a bundle will be built from the current branch.
|
|
// In CI it will use the output of the build workflow.
|
|
// vault_artifact_path = "./dist/vault.zip"
|
|
|
|
// vault_artifact_type is the type of Vault artifact to use when installing Vault from artifactory.
|
|
// It should be 'package' for .deb or # .rpm package and 'bundle' for .zip bundles"
|
|
// vault_artifact_type = "bundle"
|
|
|
|
// vault_build_date is the build date for Vault artifact. Some validations will require the binary build
|
|
// date to match"
|
|
// vault_build_date = "2023-07-07T14:06:37Z" // make ci-get-date for example
|
|
|
|
// vault_enable_audit_devices sets whether or not to enable every audit device. It true
|
|
// a file audit device will be enabled at the path /var/log/vault_audit.log, the syslog
|
|
// audit device will be enabled, and a socket audit device connecting to 127.0.0.1:9090
|
|
// will be enabled. The netcat program is run in listening mode to provide an endpoint
|
|
// that the socket audit device can connect to.
|
|
// vault_enable_audit_devices = true
|
|
|
|
// vault_install_dir is the directory where the vault binary will be installed on
|
|
// the remote machines.
|
|
// vault_install_dir = "/opt/vault/bin"
|
|
|
|
// vault_local_binary_path is the path of the local binary that we're upgrading to.
|
|
// vault_local_binary_path = "./support/vault"
|
|
|
|
// vault_instance_type is the instance type to use for the Vault backend
|
|
// vault_instance_type = "t3.small"
|
|
|
|
// vault_instance_count is how many instances to create for the Vault cluster.
|
|
// vault_instance_count = 3
|
|
|
|
// vault_license_path is the path to a valid Vault enterprise edition license.
|
|
// This is only required for non-ce editions"
|
|
// vault_license_path = "./support/vault.hclic"
|
|
|
|
// vault_local_build_tags override the build tags we pass to the Go compiler for builder:local variants.
|
|
// vault_local_build_tags = ["ui", "ent"]
|
|
|
|
// vault_log_level is the server log level for Vault logs. Supported values (in order of detail) are
|
|
// trace, debug, info, warn, and err."
|
|
// vault_log_level = "trace"
|
|
|
|
// vault_product_version is the version of Vault we are testing. Some validations will expect the vault
|
|
// binary and cluster to report this version.
|
|
// vault_product_version = "1.15.0"
|
|
|
|
// vault_revision is the git sha of Vault artifact we are testing. Some validations will expect the vault
|
|
// binary and cluster to report this revision.
|
|
// vault_revision = "df733361af26f8bb29b63704168bbc5ab8d083de"
|