From 57309b8faf36f8447a23f4e881210a338ad3e65b Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Wed, 31 Jan 2024 15:58:00 +0100 Subject: [PATCH] Update .github/actions/e2e_verify/action.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> --- .github/actions/e2e_verify/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/e2e_verify/action.yml b/.github/actions/e2e_verify/action.yml index 12a346753..a9f3c6979 100644 --- a/.github/actions/e2e_verify/action.yml +++ b/.github/actions/e2e_verify/action.yml @@ -66,8 +66,12 @@ runs: forwarderPID=$! sleep 5 - echo "Extracting TCB versions for API update" - constellation verify --cluster-id "${clusterID}" --node-endpoint localhost:9090 -o json > "snp-report-${node}.json" + if [[ ${{ inputs.attestationVariant }} == "azure-sev-snp" ]] || { [[ ${{ inputs.attestationVariant }} == "aws-sev-snp" ]]; then + echo "Extracting TCB versions for API update" + constellation verify --cluster-id "${clusterID}" --node-endpoint localhost:9090 -o json > "snp-report-${node}.json" + else + constellation verify --cluster-id "${clusterID}" --node-endpoint localhost:9090 + fi kill $forwarderPID done