From f902ee78d022ee0949155ad36700fd5e5027c07b Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Wed, 6 Mar 2024 19:37:11 +0000 Subject: [PATCH] gha: Add collect artifacts step to nerdctl workflow This PR adds the collect artifacts step to nerdctl workflow. Fixes #9241 Signed-off-by: Gabriela Cervantes --- .github/workflows/basic-ci-amd64.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/basic-ci-amd64.yaml b/.github/workflows/basic-ci-amd64.yaml index 942b35b65e..6b44e79036 100644 --- a/.github/workflows/basic-ci-amd64.yaml +++ b/.github/workflows/basic-ci-amd64.yaml @@ -324,3 +324,13 @@ jobs: - name: Run nerdctl smoke test timeout-minutes: 5 run: bash tests/integration/nerdctl/gha-run.sh run + + - name: Collect artifacts ${{ matrix.vmm }} + run: bash tests/integration/nerdctl/gha-run.sh collect-artifacts + + - name: Archive artifacts ${{ matrix.vmm }} + uses: actions/upload-artifact@v3 + with: + name: nerdctl-tests-garm-${{ matrix.vmm }} + path: /tmp/artifacts + retention-days: 1