Merge pull request #9960 from sprt/fix-garm

ci: Transition GARM tests to free runners, pt. I
This commit is contained in:
Steve Horsman 2024-07-04 09:04:58 +01:00 committed by GitHub
commit ddb8a94677
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 21 deletions

View File

@ -15,8 +15,6 @@ on:
jobs: jobs:
run-cri-containerd: run-cri-containerd:
# TODO: Transition to free runner (see #9940).
if: false
strategy: strategy:
# We can set this to true whenever we're 100% sure that # We can set this to true whenever we're 100% sure that
# the all the tests are not flaky, otherwise we'll fail # the all the tests are not flaky, otherwise we'll fail
@ -25,7 +23,7 @@ jobs:
matrix: matrix:
containerd_version: ['lts', 'active'] containerd_version: ['lts', 'active']
vmm: ['clh', 'dragonball', 'qemu', 'stratovirt', 'cloud-hypervisor', 'qemu-runtime-rs'] vmm: ['clh', 'dragonball', 'qemu', 'stratovirt', 'cloud-hypervisor', 'qemu-runtime-rs']
runs-on: garm-ubuntu-2204-smaller runs-on: ubuntu-22.04
env: env:
CONTAINERD_VERSION: ${{ matrix.containerd_version }} CONTAINERD_VERSION: ${{ matrix.containerd_version }}
GOPATH: ${{ github.workspace }} GOPATH: ${{ github.workspace }}
@ -59,14 +57,12 @@ jobs:
run: bash tests/integration/cri-containerd/gha-run.sh run run: bash tests/integration/cri-containerd/gha-run.sh run
run-containerd-stability: run-containerd-stability:
# TODO: Transition to free runner (see #9940).
if: false
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
containerd_version: ['lts', 'active'] containerd_version: ['lts', 'active']
vmm: ['clh', 'cloud-hypervisor', 'dragonball', 'qemu', 'stratovirt'] vmm: ['clh', 'cloud-hypervisor', 'dragonball', 'qemu', 'stratovirt']
runs-on: garm-ubuntu-2204-smaller runs-on: ubuntu-22.04
env: env:
CONTAINERD_VERSION: ${{ matrix.containerd_version }} CONTAINERD_VERSION: ${{ matrix.containerd_version }}
GOPATH: ${{ github.workspace }} GOPATH: ${{ github.workspace }}
@ -100,8 +96,6 @@ jobs:
run: bash tests/stability/gha-run.sh run run: bash tests/stability/gha-run.sh run
run-nydus: run-nydus:
# TODO: Transition to free runner (see #9940).
if: false
strategy: strategy:
# We can set this to true whenever we're 100% sure that # We can set this to true whenever we're 100% sure that
# the all the tests are not flaky, otherwise we'll fail # the all the tests are not flaky, otherwise we'll fail
@ -110,7 +104,7 @@ jobs:
matrix: matrix:
containerd_version: ['lts', 'active'] containerd_version: ['lts', 'active']
vmm: ['clh', 'qemu', 'dragonball', 'stratovirt'] vmm: ['clh', 'qemu', 'dragonball', 'stratovirt']
runs-on: garm-ubuntu-2204-smaller runs-on: ubuntu-22.04
env: env:
CONTAINERD_VERSION: ${{ matrix.containerd_version }} CONTAINERD_VERSION: ${{ matrix.containerd_version }}
GOPATH: ${{ github.workspace }} GOPATH: ${{ github.workspace }}
@ -144,9 +138,7 @@ jobs:
run: bash tests/integration/nydus/gha-run.sh run run: bash tests/integration/nydus/gha-run.sh run
run-runk: run-runk:
# TODO: Transition to free runner (see #9940). runs-on: ubuntu-22.04
if: false
runs-on: garm-ubuntu-2204-smaller
env: env:
CONTAINERD_VERSION: lts CONTAINERD_VERSION: lts
steps: steps:
@ -259,8 +251,6 @@ jobs:
run: bash tests/functional/vfio/gha-run.sh run run: bash tests/functional/vfio/gha-run.sh run
run-docker-tests: run-docker-tests:
# TODO: Transition to free runner (see #9940).
if: false
strategy: strategy:
# We can set this to true whenever we're 100% sure that # We can set this to true whenever we're 100% sure that
# all the tests are not flaky, otherwise we'll fail them # all the tests are not flaky, otherwise we'll fail them
@ -270,7 +260,7 @@ jobs:
vmm: vmm:
- clh - clh
- qemu - qemu
runs-on: garm-ubuntu-2304-smaller runs-on: ubuntu-22.04
env: env:
KATA_HYPERVISOR: ${{ matrix.vmm }} KATA_HYPERVISOR: ${{ matrix.vmm }}
steps: steps:
@ -302,8 +292,6 @@ jobs:
run: bash tests/integration/docker/gha-run.sh run run: bash tests/integration/docker/gha-run.sh run
run-nerdctl-tests: run-nerdctl-tests:
# TODO: Transition to free runner (see #9940).
if: false
strategy: strategy:
# We can set this to true whenever we're 100% sure that # We can set this to true whenever we're 100% sure that
# all the tests are not flaky, otherwise we'll fail them # all the tests are not flaky, otherwise we'll fail them
@ -318,7 +306,7 @@ jobs:
# TODO: enable with clh when https://github.com/kata-containers/kata-containers/issues/9852 is fixed # TODO: enable with clh when https://github.com/kata-containers/kata-containers/issues/9852 is fixed
exclude: exclude:
- vmm: clh - vmm: clh
runs-on: garm-ubuntu-2304-smaller runs-on: ubuntu-22.04
env: env:
KATA_HYPERVISOR: ${{ matrix.vmm }} KATA_HYPERVISOR: ${{ matrix.vmm }}
steps: steps:

View File

@ -17,8 +17,6 @@ image="${image:-instrumentisto/nmap:latest}"
function install_dependencies() { function install_dependencies() {
info "Installing the dependencies needed for running the docker smoke test" info "Installing the dependencies needed for running the docker smoke test"
install_docker
sudo -E docker pull "${image}" sudo -E docker pull "${image}"
} }

View File

@ -29,7 +29,6 @@ function install_dependencies() {
sudo apt-get -y install "${system_deps[@]}" sudo apt-get -y install "${system_deps[@]}"
ensure_yq ensure_yq
install_docker
check_ctr_images "${IMAGE}" "${DOCKERFILE}" check_ctr_images "${IMAGE}" "${DOCKERFILE}"
} }