From 3c735c236d87f9ad155fc8d425c10a074464eb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Mon, 9 Oct 2023 10:08:12 +0200 Subject: [PATCH] ci: tracing: Adapt to basic-ci-amd64.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Peng Tao made this move as part of 1280f8534375fa7, and here we're simply adjusting to the move. Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/basic-ci-amd64.yaml | 37 +++++++++++++++++ .github/workflows/ci.yaml | 8 ---- .github/workflows/run-tracing-tests.yaml | 52 ------------------------ 3 files changed, 37 insertions(+), 60 deletions(-) delete mode 100644 .github/workflows/run-tracing-tests.yaml diff --git a/.github/workflows/basic-ci-amd64.yaml b/.github/workflows/basic-ci-amd64.yaml index d63b979efd..f520e389ed 100644 --- a/.github/workflows/basic-ci-amd64.yaml +++ b/.github/workflows/basic-ci-amd64.yaml @@ -165,6 +165,43 @@ jobs: - name: Run tracing tests run: bash tests/integration/runk/gha-run.sh run + run-tracing: + strategy: + fail-fast: false + matrix: + vmm: + - clh # cloud-hypervisor + - qemu + runs-on: garm-ubuntu-2204-smaller + env: + KATA_HYPERVISOR: ${{ matrix.vmm }} + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ inputs.commit-hash }} + fetch-depth: 0 + + - name: Rebase atop of the latest target branch + run: | + ./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch" + env: + TARGET_BRANCH: ${{ inputs.target-branch }} + + - name: Install dependencies + run: bash tests/functional/tracing/gha-run.sh install-dependencies + + - name: get-kata-tarball + uses: actions/download-artifact@v3 + with: + name: kata-static-tarball-amd64${{ inputs.tarball-suffix }} + path: kata-artifacts + + - name: Install kata + run: bash tests/functional/tracing/gha-run.sh install-kata kata-artifacts + + - name: Run tracing tests + run: bash tests/functional/tracing/gha-run.sh run + run-vfio: strategy: fail-fast: false diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7de603a9b6..4cd31c78ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -183,11 +183,3 @@ jobs: tarball-suffix: -${{ inputs.tag }} commit-hash: ${{ inputs.commit-hash }} target-branch: ${{ inputs.target-branch }} - - run-tracing-tests: - needs: build-kata-static-tarball-amd64 - uses: ./.github/workflows/run-tracing-tests.yaml - with: - tarball-suffix: -${{ inputs.tag }} - commit-hash: ${{ inputs.commit-hash }} - target-branch: ${{ inputs.target-branch }} diff --git a/.github/workflows/run-tracing-tests.yaml b/.github/workflows/run-tracing-tests.yaml deleted file mode 100644 index ede15aca11..0000000000 --- a/.github/workflows/run-tracing-tests.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: CI | Run tracing tests -on: - workflow_call: - inputs: - tarball-suffix: - required: false - type: string - commit-hash: - required: false - type: string - target-branch: - required: false - type: string - default: "" - -jobs: - run-tracing: - strategy: - fail-fast: false - matrix: - vmm: - - clh # cloud-hypervisor - - qemu - runs-on: garm-ubuntu-2204-smaller - env: - KATA_HYPERVISOR: ${{ matrix.vmm }} - steps: - - uses: actions/checkout@v4 - with: - ref: ${{ inputs.commit-hash }} - fetch-depth: 0 - - - name: Rebase atop of the latest target branch - run: | - ./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch" - env: - TARGET_BRANCH: ${{ inputs.target-branch }} - - - name: Install dependencies - run: bash tests/functional/tracing/gha-run.sh install-dependencies - - - name: get-kata-tarball - uses: actions/download-artifact@v3 - with: - name: kata-static-tarball-amd64${{ inputs.tarball-suffix }} - path: kata-artifacts - - - name: Install kata - run: bash tests/functional/tracing/gha-run.sh install-kata kata-artifacts - - - name: Run tracing tests - run: bash tests/functional/tracing/gha-run.sh run