Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
25 changes: 10 additions & 15 deletions .github/workflows/run-kola-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@ on:
jobs:
tests:
name: "Run Kola tests"
runs-on:
- self-hosted
- ubuntu
- kola
- ${{ matrix.arch }}
runs-on: oracle-vm-32cpu-128gb-x86-64
strategy:
fail-fast: false
matrix:
arch: ["amd64", "arm64"]
arch: ["amd64"]

steps:
- name: Prepare machine
Expand All @@ -34,9 +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 systemctl stop dnsmasq
sudo systemctl mask dnsmasq
sudo apt update && sudo apt install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd iproute2 iptables

# Set up MASQUERADE. Don't care much to secure it.
# This is needed for the VMs kola spins up to have internet access.
Expand Down Expand Up @@ -167,8 +161,12 @@ jobs:
set -x
set -euo pipefail

ip -4 addr
python3 -m http.server -d "${TESTS_WEBSERVER_WEBROOT}" -b "${TESTS_WEBSERVER_IP}" "${TESTS_WEBSERVER_PORT}" &

sleep 2
sudo ss -lnp | grep 12345

pushd scripts

source ci-automation/ci_automation_common.sh
Expand All @@ -186,7 +184,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.
Expand Down Expand Up @@ -239,10 +237,7 @@ jobs:
name: "Merge TAP reports and post results"
needs: tests
if: always() && !cancelled()
runs-on:
- self-hosted
- ubuntu
- kola
runs-on: oracle-vm-32cpu-128gb-x86-64
permissions:
pull-requests: write

Expand All @@ -253,7 +248,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:
Expand Down
Loading