diff --git a/.github/actions/e2e_cleanup_timeframe/action.yml b/.github/actions/e2e_cleanup_timeframe/action.yml index 869148705b..bfe40cbf33 100644 --- a/.github/actions/e2e_cleanup_timeframe/action.yml +++ b/.github/actions/e2e_cleanup_timeframe/action.yml @@ -31,11 +31,13 @@ runs: with: service_account: "destroy-e2e@constellation-e2e.iam.gserviceaccount.com" - - name: Install 7zip + - name: Install tools uses: ./.github/actions/setup_bazel_nix with: nixTools: | _7zz + terraform + - name: Run cleanup run: ./.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh shell: bash diff --git a/.github/workflows/e2e-test-internal-lb.yml b/.github/workflows/e2e-test-internal-lb.yml index b9a27949c3..cee93f7eb0 100644 --- a/.github/workflows/e2e-test-internal-lb.yml +++ b/.github/workflows/e2e-test-internal-lb.yml @@ -22,9 +22,9 @@ on: description: "Architecture of the runner that executes the CLI" type: choice options: - - "ubuntu-22.04" + - "ubuntu-24.04" - "macos-12" - default: "ubuntu-22.04" + default: "ubuntu-24.04" test: description: "The test to run." type: choice diff --git a/.github/workflows/e2e-test-marketplace-image.yml b/.github/workflows/e2e-test-marketplace-image.yml index 3338c13847..760df932b1 100644 --- a/.github/workflows/e2e-test-marketplace-image.yml +++ b/.github/workflows/e2e-test-marketplace-image.yml @@ -22,9 +22,9 @@ on: description: "Architecture of the runner that executes the CLI" type: choice options: - - "ubuntu-22.04" + - "ubuntu-24.04" - "macos-12" - default: "ubuntu-22.04" + default: "ubuntu-24.04" test: description: "The test to run." type: choice diff --git a/.github/workflows/e2e-test-release.yml b/.github/workflows/e2e-test-release.yml index 598c4091ae..0a70447883 100644 --- a/.github/workflows/e2e-test-release.yml +++ b/.github/workflows/e2e-test-release.yml @@ -48,214 +48,214 @@ jobs: - test: "sonobuoy full" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "azure-tdx" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.29" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.29" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.29" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "azure-tdx" kubernetes-version: "v1.29" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.29" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.28" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.28" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.28" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "azure-tdx" kubernetes-version: "v1.28" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "sonobuoy full" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.28" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" # verify test on latest k8s version - test: "verify" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "verify" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "verify" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "verify" attestationVariant: "azure-tdx" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "verify" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" # recover test on latest k8s version - test: "recover" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "recover" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "recover" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "recover" attestationVariant: "azure-tdx" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "recover" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" # lb test on latest k8s version - test: "lb" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "lb" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "lb" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "lb" attestationVariant: "azure-tdx" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "lb" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" # autoscaling test on latest k8s version - test: "autoscaling" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "autoscaling" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "autoscaling" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "autoscaling" attestationVariant: "azure-tdx" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "autoscaling" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" # perf-bench test on latest k8s version - test: "perf-bench" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "perf-bench" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "perf-bench" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "perf-bench" attestationVariant: "azure-tdx" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" - test: "perf-bench" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" # s3proxy test on latest k8s version @@ -263,7 +263,7 @@ jobs: refStream: "ref/main/stream/debug/?" attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" clusterCreation: "cli" # malicious join test on latest k8s version @@ -272,31 +272,31 @@ jobs: attestationVariant: "gcp-sev-es" kubernetes-version: "v1.30" clusterCreation: "cli" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" - test: "malicious join" refStream: "ref/main/stream/debug/?" attestationVariant: "gcp-sev-snp" kubernetes-version: "v1.30" clusterCreation: "cli" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" - test: "malicious join" refStream: "ref/main/stream/debug/?" attestationVariant: "azure-sev-snp" kubernetes-version: "v1.30" clusterCreation: "cli" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" - test: "malicious join" refStream: "ref/main/stream/debug/?" attestationVariant: "azure-tdx" kubernetes-version: "v1.30" clusterCreation: "cli" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" - test: "malicious join" refStream: "ref/main/stream/debug/?" attestationVariant: "aws-sev-snp" kubernetes-version: "v1.30" clusterCreation: "cli" - runner: "ubuntu-22.04" + runner: "ubuntu-24.04" # # Tests on macOS runner diff --git a/.github/workflows/e2e-test-terraform-provider.yml b/.github/workflows/e2e-test-terraform-provider.yml index 585ffe6b90..3c465ab973 100644 --- a/.github/workflows/e2e-test-terraform-provider.yml +++ b/.github/workflows/e2e-test-terraform-provider.yml @@ -22,9 +22,9 @@ on: description: "Architecture of the runner that executes the CLI" type: choice options: - - "ubuntu-22.04" + - "ubuntu-24.04" - "macos-12" - default: "ubuntu-22.04" + default: "ubuntu-24.04" test: description: "The test to run." type: choice diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index c06c8eefff..11fc818494 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -22,9 +22,9 @@ on: description: "Architecture of the runner that executes the CLI" type: choice options: - - "ubuntu-22.04" + - "ubuntu-24.04" - "macos-12" - default: "ubuntu-22.04" + default: "ubuntu-24.04" test: description: "The test to run. The conformance test is only supported for clusterCreation=cli." type: choice