workflow: enable CNCF runners

This should allows to build and run amd64 qemu tests from github
actions.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Mathieu Tortuyaux 2026-01-06 18:09:30 +01:00
parent d201d0e2a2
commit 213a19158e
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
2 changed files with 7 additions and 18 deletions

View File

@ -34,11 +34,7 @@ permissions:
jobs:
packages:
name: "Build Flatcar packages"
runs-on:
- self-hosted
- ubuntu
- build
- amd64
runs-on: oracle-vm-32cpu-128gb-x86-64
strategy:
fail-fast: false
matrix:

View File

@ -17,15 +17,11 @@ on:
jobs:
tests:
name: "Run Kola tests"
runs-on:
- self-hosted
- ubuntu
- kola
- ${{ matrix.arch }}
runs-on: oracle-16cpu-64gb-x86-64
strategy:
fail-fast: false
matrix:
arch: ["amd64", "arm64"]
arch: ["amd64"]
steps:
- name: Prepare machine
@ -34,7 +30,7 @@ jobs:
run: |
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh
sudo apt-get install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd
sudo apt update && sudo apt install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd
sudo systemctl stop dnsmasq
sudo systemctl mask dnsmasq
@ -186,7 +182,7 @@ jobs:
source ci-automation/test.sh
PARALLEL_ARCH=10
PARALLEL_ARCH=5
cat > sdk_container/.env <<EOF
# export the QEMU_IMAGE_NAME to avoid to download it.
@ -239,10 +235,7 @@ jobs:
name: "Merge TAP reports and post results"
needs: tests
if: always() && !cancelled()
runs-on:
- self-hosted
- ubuntu
- kola
runs-on: oracle-16cpu-64gb-x86-64
permissions:
pull-requests: write
@ -253,7 +246,7 @@ jobs:
run: |
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh
sudo apt-get install -y ca-certificates curl gnupg lsb-release git bzip2 jq sqlite3
sudo apt update && sudo apt install -y ca-certificates curl gnupg lsb-release git bzip2 jq sqlite3
- uses: actions/checkout@v4
with: