ci: v2.15 post-release cleanup (#2881)

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
This commit is contained in:
Adrian Stobbe 2024-01-31 16:45:20 +01:00 committed by GitHub
parent eabcdbe931
commit 9b547bced0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 11 deletions

View File

@ -66,8 +66,7 @@ runs:
forwarderPID=$! forwarderPID=$!
sleep 5 sleep 5
# TODO(v2.15): Remove workaround since we don't need to support v2.13 anymore if [[ ${{ inputs.attestationVariant }} == "azure-sev-snp" ]] || [[ ${{ inputs.attestationVariant }} == "aws-sev-snp" ]]; then
if [[ ${{ inputs.attestationVariant }} == "azure-sev-snp" ]] || { [[ ${{ inputs.attestationVariant }} == "aws-sev-snp" ]] && ! constellation version | grep -q "v2.13."; }; then
echo "Extracting TCB versions for API update" echo "Extracting TCB versions for API update"
constellation verify --cluster-id "${clusterID}" --node-endpoint localhost:9090 -o json > "snp-report-${node}.json" constellation verify --cluster-id "${clusterID}" --node-endpoint localhost:9090 -o json > "snp-report-${node}.json"
else else

View File

@ -340,8 +340,8 @@ jobs:
fail-fast: false fail-fast: false
max-parallel: 1 max-parallel: 1
matrix: matrix:
fromVersion: ["v2.14.0"] fromVersion: ["v2.15.0"]
attestationVariant: ["gcp-sev-es", "azure-sev-snp", "aws-sev-snp"] # TODO(v2.15) Add azure-tdx to test matrix attestationVariant: ["gcp-sev-es", "azure-sev-snp", "azure-tdx", "aws-sev-snp"]
name: Run upgrade tests name: Run upgrade tests
secrets: inherit secrets: inherit
permissions: permissions:

View File

@ -417,8 +417,8 @@ jobs:
fail-fast: false fail-fast: false
max-parallel: 1 max-parallel: 1
matrix: matrix:
fromVersion: ["v2.14.0"] fromVersion: ["v2.15.0"]
attestationVariant: ["gcp-sev-es", "azure-sev-snp", "aws-sev-snp"] # TODO(v2.15) Add azure-tdx to test matrix attestationVariant: ["gcp-sev-es", "azure-sev-snp", "azure-tdx", "aws-sev-snp"]
name: Run upgrade tests name: Run upgrade tests
secrets: inherit secrets: inherit
permissions: permissions:

View File

@ -54,7 +54,6 @@ func TestAccAttestationSource(t *testing.T) {
}, },
}, },
"azure tdx success": { "azure tdx success": {
// TODO(v2.15): Use regular image tag instead of pseudo version
ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
PreCheck: bazelPreCheck, PreCheck: bazelPreCheck,
Steps: []resource.TestStep{ Steps: []resource.TestStep{
@ -64,9 +63,9 @@ func TestAccAttestationSource(t *testing.T) {
csp = "azure" csp = "azure"
attestation_variant = "azure-tdx" attestation_variant = "azure-tdx"
image = { image = {
version = "ref/main/stream/debug/v2.15.0-pre.0.20240124172919-4431ac3233bd" version = "v2.15.0
reference = "ref/main/stream/debug/v2.15.0-pre.0.20240124172919-4431ac3233bd" reference = "v2.15.0
short_path = "ref/main/stream/debug/v2.15.0-pre.0.20240124172919-4431ac3233bd" short_path = "v2.15.0
} }
insecure = true insecure = true
} }

View File

@ -1 +1 @@
v2.15.0-pre v2.16.0-pre