Skip to content

Commit

Permalink
backport of commit 89e9e0f (#27573)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Cragun <me@ryan.ec>
  • Loading branch information
1 parent fd1845c commit bd2c2a2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 48 deletions.
10 changes: 2 additions & 8 deletions enos/enos-scenario-agent.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ scenario "agent" {
artifact_type = ["package"]
}

# HSM and FIPS 140-2 are only supported on amd64
exclude {
arch = ["arm64"]
edition = ["ent.fips1402", "ent.hsm", "ent.hsm.fips1402"]
}

# PKCS#11 can only be used on ent.hsm and ent.hsm.fips1402.
exclude {
seal = ["pkcs11"]
Expand All @@ -54,8 +48,8 @@ scenario "agent" {
arch = ["arm64"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
# softhsm packages not available for leap/sles. Enos support for softhsm on amzn2 is
# not implemented yet.
exclude {
seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
Expand Down
7 changes: 4 additions & 3 deletions enos/enos-scenario-autopilot.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ scenario "autopilot" {
artifact_type = ["package"]
}

# HSM and FIPS 140-2 are only supported on amd64
# There are no published versions of these artifacts yet. We'll update this to exclude older
# versions after our initial publication of these editions for arm64.
exclude {
arch = ["arm64"]
edition = ["ent.fips1402", "ent.hsm", "ent.hsm.fips1402"]
Expand All @@ -59,8 +60,8 @@ scenario "autopilot" {
arch = ["arm64"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
# softhsm packages not available for leap/sles. Enos support for softhsm on amzn2 is
# not implemented yet.
exclude {
seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
Expand Down
10 changes: 2 additions & 8 deletions enos/enos-scenario-proxy.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ scenario "proxy" {
artifact_type = ["package"]
}

# HSM and FIPS 140-2 are only supported on amd64
exclude {
arch = ["arm64"]
edition = ["ent.fips1402", "ent.hsm", "ent.hsm.fips1402"]
}

# PKCS#11 can only be used on ent.hsm and ent.hsm.fips1402.
exclude {
seal = ["pkcs11"]
Expand All @@ -54,8 +48,8 @@ scenario "proxy" {
arch = ["arm64"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
# softhsm packages not available for leap/sles. Enos support for softhsm on amzn2 is
# not implemented yet.
exclude {
seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
Expand Down
10 changes: 2 additions & 8 deletions enos/enos-scenario-replication.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ scenario "replication" {
artifact_type = ["package"]
}

# HSM and FIPS 140-2 are only supported on amd64
exclude {
arch = ["arm64"]
edition = ["ent.fips1402", "ent.hsm", "ent.hsm.fips1402"]
}

# PKCS#11 can only be used on ent.hsm and ent.hsm.fips1402.
exclude {
primary_seal = ["pkcs11"]
Expand All @@ -66,8 +60,8 @@ scenario "replication" {
arch = ["arm64"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
# softhsm packages not available for leap/sles. Enos support for softhsm on amzn2 is
# not implemented yet.
exclude {
primary_seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
Expand Down
12 changes: 2 additions & 10 deletions enos/enos-scenario-seal-ha.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ scenario "seal_ha" {
artifact_type = ["package"]
}

# HSM and FIPS 140-2 are only supported on amd64
exclude {
arch = ["arm64"]
edition = ["ent.fips1402", "ent.hsm", "ent.hsm.fips1402"]
}

# PKCS#11 can only be used on ent.hsm and ent.hsm.fips1402.
exclude {
primary_seal = ["pkcs11"]
Expand All @@ -64,15 +58,13 @@ scenario "seal_ha" {
arch = ["arm64"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
# softhsm packages not available for leap/sles. Enos support for softhsm on amzn2 is
# not implemented yet.
exclude {
primary_seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
exclude {
secondary_seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
Expand Down
10 changes: 2 additions & 8 deletions enos/enos-scenario-smoke.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ scenario "smoke" {
artifact_type = ["package"]
}

# HSM and FIPS 140-2 are only supported on amd64
exclude {
arch = ["arm64"]
edition = ["ent.fips1402", "ent.hsm", "ent.hsm.fips1402"]
}

# PKCS#11 can only be used on ent.hsm and ent.hsm.fips1402.
exclude {
seal = ["pkcs11"]
Expand All @@ -53,8 +47,8 @@ scenario "smoke" {
arch = ["arm64"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
# softhsm packages not available for leap/sles. Enos support for softhsm on amzn2 is
# not implemented yet.
exclude {
seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
Expand Down
7 changes: 4 additions & 3 deletions enos/enos-scenario-upgrade.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ scenario "upgrade" {
initial_version = [for e in matrix.initial_version : e if semverconstraint(e, "<1.11.0-0")]
}

# HSM and FIPS 140-2 are only supported on amd64
# There are no published versions of these artifacts yet. We'll update this to exclude older
# versions after our initial publication of these editions for arm64.
exclude {
arch = ["arm64"]
edition = ["ent.fips1402", "ent.hsm", "ent.hsm.fips1402"]
Expand All @@ -70,8 +71,8 @@ scenario "upgrade" {
arch = ["arm64"]
}

# softhsm packages not available for leap/sles; Enos support for softhsm
# on amzn2 to be added later.
# softhsm packages not available for leap/sles. Enos support for softhsm on amzn2 is
# not implemented yet.
exclude {
seal = ["pkcs11"]
distro = ["amzn2", "leap", "sles"]
Expand Down

0 comments on commit bd2c2a2

Please sign in to comment.