From c5b4164cb1671cfa8af705149c6996d19d417ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 7 Jul 2023 11:47:51 +0200 Subject: [PATCH 1/2] gha: ci: Fix tarball-suffix passed to the metrics tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of passing "-${{ inputs.tag }}-amd64", we must only pass "-${{ inputs.tag }}". This is a regression introduced by 106e305717c228576994ab08bb6641d9da7f2aa6. Fixes: #7247 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1ceef41fc7..faec7fca43 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,5 +72,5 @@ jobs: needs: build-kata-static-tarball-amd64 uses: ./.github/workflows/run-metrics.yaml with: - tarball-suffix: -${{ inputs.tag }}-amd64 + tarball-suffix: -${{ inputs.tag }} commit-hash: ${{ inputs.commit-hash }} From 1d05b9cc71188d8fd8e105980445676385232306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 7 Jul 2023 11:57:31 +0200 Subject: [PATCH 2/2] gha: ci: Pass down secrets to ci-on-push / ci-nightly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We have to do this, otherwise we cannot log into azure. This is a regression introduced by 106e305717c228576994ab08bb6641d9da7f2aa6. Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ci-nightly.yaml | 1 + .github/workflows/ci-on-push.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci-nightly.yaml b/.github/workflows/ci-nightly.yaml index 81380a7d14..16f8d16d6a 100644 --- a/.github/workflows/ci-nightly.yaml +++ b/.github/workflows/ci-nightly.yaml @@ -18,3 +18,4 @@ jobs: commit-hash: ${GITHUB_REF} pr-number: ${PR_NUMBER} tag: ${PR_NUMBER}-${GITHUB_REF}-nightly + secrets: inherit diff --git a/.github/workflows/ci-on-push.yaml b/.github/workflows/ci-on-push.yaml index d5549d458b..418d046505 100644 --- a/.github/workflows/ci-on-push.yaml +++ b/.github/workflows/ci-on-push.yaml @@ -20,3 +20,4 @@ jobs: commit-hash: ${{ github.event.pull_request.sha }} pr-number: ${{ github.event.pull_request.number }} tag: ${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }} + secrets: inherit