mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 09:49:35 +00:00
gha: Move docker / nerdctl content to the basic-ci-amd64 file
There's no need to keep those as separate files, and by having those in the basic-ci-amd64.yaml file actually helps us to avoid the undocummented GHA limitation about the number of files imported. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
3c735c236d
commit
b481d396fc
83
.github/workflows/basic-ci-amd64.yaml
vendored
83
.github/workflows/basic-ci-amd64.yaml
vendored
@ -235,3 +235,86 @@ jobs:
|
|||||||
- name: Run vfio tests
|
- name: Run vfio tests
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
run: bash tests/functional/vfio/gha-run.sh run
|
run: bash tests/functional/vfio/gha-run.sh run
|
||||||
|
|
||||||
|
run-docker-tests:
|
||||||
|
strategy:
|
||||||
|
# We can set this to true whenever we're 100% sure that
|
||||||
|
# all the tests are not flaky, otherwise we'll fail them
|
||||||
|
# all due to a single flaky instance.
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
vmm:
|
||||||
|
- clh
|
||||||
|
- qemu
|
||||||
|
runs-on: garm-ubuntu-2304-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/integration/docker/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/integration/docker/gha-run.sh install-kata kata-artifacts
|
||||||
|
|
||||||
|
- name: Run docker smoke test
|
||||||
|
timeout-minutes: 5
|
||||||
|
run: bash tests/integration/docker/gha-run.sh run
|
||||||
|
|
||||||
|
run-nerdctl-tests:
|
||||||
|
strategy:
|
||||||
|
# We can set this to true whenever we're 100% sure that
|
||||||
|
# all the tests are not flaky, otherwise we'll fail them
|
||||||
|
# all due to a single flaky instance.
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
vmm:
|
||||||
|
- clh
|
||||||
|
- dragonball
|
||||||
|
- qemu
|
||||||
|
runs-on: garm-ubuntu-2304-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/integration/nerdctl/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/integration/nerdctl/gha-run.sh install-kata kata-artifacts
|
||||||
|
|
||||||
|
- name: Run nerdctl smoke test
|
||||||
|
timeout-minutes: 5
|
||||||
|
run: bash tests/integration/nerdctl/gha-run.sh run
|
||||||
|
56
.github/workflows/run-docker-tests-on-garm.yaml
vendored
56
.github/workflows/run-docker-tests-on-garm.yaml
vendored
@ -1,56 +0,0 @@
|
|||||||
name: CI | Run docker integration 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-docker-tests:
|
|
||||||
strategy:
|
|
||||||
# We can set this to true whenever we're 100% sure that
|
|
||||||
# all the tests are not flaky, otherwise we'll fail them
|
|
||||||
# all due to a single flaky instance.
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
vmm:
|
|
||||||
- clh
|
|
||||||
- qemu
|
|
||||||
runs-on: garm-ubuntu-2304-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/integration/docker/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/integration/docker/gha-run.sh install-kata kata-artifacts
|
|
||||||
|
|
||||||
- name: Run docker smoke test
|
|
||||||
timeout-minutes: 5
|
|
||||||
run: bash tests/integration/docker/gha-run.sh run
|
|
57
.github/workflows/run-nerdctl-tests-on-garm.yaml
vendored
57
.github/workflows/run-nerdctl-tests-on-garm.yaml
vendored
@ -1,57 +0,0 @@
|
|||||||
name: CI | Run nerdctl integration 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-nerdctl-tests:
|
|
||||||
strategy:
|
|
||||||
# We can set this to true whenever we're 100% sure that
|
|
||||||
# all the tests are not flaky, otherwise we'll fail them
|
|
||||||
# all due to a single flaky instance.
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
vmm:
|
|
||||||
- clh
|
|
||||||
- dragonball
|
|
||||||
- qemu
|
|
||||||
runs-on: garm-ubuntu-2304-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/integration/nerdctl/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/integration/nerdctl/gha-run.sh install-kata kata-artifacts
|
|
||||||
|
|
||||||
- name: Run nerdctl smoke test
|
|
||||||
timeout-minutes: 5
|
|
||||||
run: bash tests/integration/nerdctl/gha-run.sh run
|
|
Loading…
Reference in New Issue
Block a user