ci: do not manually clear measurements on verify e2e (#1889)

This commit is contained in:
Malte Poll 2023-06-09 09:25:30 +02:00 committed by GitHub
parent 3e583946a1
commit 8c3617faf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,20 +12,6 @@ inputs:
runs:
using: "composite"
steps:
- name: Clear current measurements
shell: bash
run: |
if [[ $(yq '.version' constellation-conf.yaml) == "v2" ]]
then
yq -i 'del(.provider.${{ inputs.cloudProvider }}.measurements)' constellation-conf.yaml
else
yq -i 'del(.attestation.awsNitroTPM.measurements)' constellation-conf.yaml
yq -i 'del(.attestation.azureSEVSNP.measurements)' constellation-conf.yaml
yq -i 'del(.attestation.azureTrustedLaunch.measurements)' constellation-conf.yaml
yq -i 'del(.attestation.gcpSEVES.measurements)' constellation-conf.yaml
yq -i 'del(.attestation.qemuVTPM.measurements)' constellation-conf.yaml
fi
- name: Expand version path
id: expand-version
uses: ./.github/actions/shortname