Skip to content

Commit

Permalink
Turn off undo logs for enos auto-upgrade scenario pre-v1.13 (#18526)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmi authored and joshbrand committed Jan 11, 2023
1 parent 47056b2 commit 2752a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enos/enos-scenario-autopilot.hcl
Expand Up @@ -40,7 +40,7 @@ scenario "autopilot" {
arm64 = "t4g.small"
}

enable_undo_logs = matrix.undo_logs_status == "1" && semverconstraint(var.vault_product_version, ">=1.12.0-0") ? true : false
enable_undo_logs = matrix.undo_logs_status == "1" && semverconstraint(var.vault_product_version, ">=1.13.0-0") ? true : false

vault_instance_type = coalesce(var.vault_instance_type, local.vault_instance_types[matrix.arch])
vault_license_path = abspath(var.vault_license_path != null ? var.vault_license_path : joinpath(path.root, "./support/vault.hclic"))
Expand Down Expand Up @@ -240,7 +240,7 @@ scenario "autopilot" {
}

step "verify_undo_logs_status" {
skip_step = semverconstraint(var.vault_product_version, "<1.12.0-0")
skip_step = semverconstraint(var.vault_product_version, "<1.13.0-0")
module = module.vault_verify_undo_logs
depends_on = [
step.upgrade_vault_cluster_with_autopilot,
Expand Down

0 comments on commit 2752a13

Please sign in to comment.