mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-16 14:02:23 +01:00
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:
parent
d201d0e2a2
commit
213a19158e
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -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:
|
||||
|
||||
19
.github/workflows/run-kola-tests.yaml
vendored
19
.github/workflows/run-kola-tests.yaml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user