ci: fix empty run-id in OpenSearch URL (#2876)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2024-01-30 08:57:27 +01:00 committed by GitHub
parent 489e07677e
commit 40c4109dc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ runs:
$(queryGen metadata.github.attestation-variant "${{ inputs.attestationVariant }}")
$(queryGen metadata.github.cluster-creation "${{ inputs.clusterCreation }}")
$(queryGen metadata.github.e2e-test-payload "${{ steps.encode-uri-component.outputs.string }}")
(query:(match_phrase:(metadata.github.run-id:${run_id})))
(query:(match_phrase:(metadata.github.run-id:${{ github.run_id }})))
))" | tr -d "\t\n ")
# URL construction
@ -105,6 +105,7 @@ runs:
fields: |
workflow: ${{ github.workflow }}
kubernetesVersion: ${{ inputs.kubernetesVersion }}
cloudProvider: ${{ inputs.provider }}
attestationVariant: ${{ inputs.attestationVariant }}
clusterCreation: ${{ inputs.clusterCreation }}
test: ${{ inputs.test }}