From 35e19a45bbaed5b590b6ef0e1f187521f10ec06f Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Wed, 17 Apr 2024 09:12:52 +0200 Subject: [PATCH] ci: disable SEV-SNP tests that need stable images (#3031) --- .github/actions/terraform_apply/action.yml | 7 ++++--- .github/workflows/e2e-test-daily.yml | 3 ++- .github/workflows/e2e-test-weekly.yml | 11 ++++++----- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/actions/terraform_apply/action.yml b/.github/actions/terraform_apply/action.yml index 89361d14f..ef6e92020 100644 --- a/.github/actions/terraform_apply/action.yml +++ b/.github/actions/terraform_apply/action.yml @@ -26,9 +26,10 @@ runs: "gcpSEVES") attestationVariant="gcp-sev-es" ;; - "gcpSEVSNP") - attestationVariant="gcp-sev-snp" - ;; + # TODO(msanft): Enable once stable GCP SEV-SNP images exist. + # "gcpSEVSNP") + # attestationVariant="gcp-sev-snp" + # ;; *) echo "Unknown attestation variant: $(yq '.attestation | keys | .[0]' constellation-conf.yaml)" exit 1 diff --git a/.github/workflows/e2e-test-daily.yml b/.github/workflows/e2e-test-daily.yml index c2a4880ed..05072a099 100644 --- a/.github/workflows/e2e-test-daily.yml +++ b/.github/workflows/e2e-test-daily.yml @@ -46,7 +46,8 @@ jobs: max-parallel: 5 matrix: kubernetesVersion: ["1.28"] # should be default - attestationVariant: ["gcp-sev-es", "gcp-sev-snp", "azure-sev-snp", "azure-tdx", "aws-sev-snp"] + # TODO(msanft): Enable GCP SEV-SNP once stable GCP SEV-SNP images exist. + attestationVariant: ["gcp-sev-es", "azure-sev-snp", "azure-tdx", "aws-sev-snp"] refStream: ["ref/main/stream/debug/?", "ref/release/stream/stable/?"] test: ["sonobuoy quick"] runs-on: ubuntu-22.04 diff --git a/.github/workflows/e2e-test-weekly.yml b/.github/workflows/e2e-test-weekly.yml index 5075cc7fa..ca894c2b2 100644 --- a/.github/workflows/e2e-test-weekly.yml +++ b/.github/workflows/e2e-test-weekly.yml @@ -281,11 +281,12 @@ jobs: attestationVariant: "gcp-sev-es" kubernetes-version: "v1.28" clusterCreation: "cli" - - test: "verify" - refStream: "ref/release/stream/stable/?" - attestationVariant: "gcp-sev-snp" - kubernetes-version: "v1.28" - clusterCreation: "cli" + # TODO(msanft): Enable once stable GCP SEV-SNP images exist. + # - test: "verify" + # refStream: "ref/release/stream/stable/?" + # attestationVariant: "gcp-sev-snp" + # kubernetes-version: "v1.28" + # clusterCreation: "cli" - test: "verify" refStream: "ref/release/stream/stable/?" attestationVariant: "azure-sev-snp"