From d64b597fcf8dec23ddb23cc1e20a011838fa2d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= Date: Mon, 29 Jul 2024 12:20:43 +0900 Subject: [PATCH] CI: Update DebCI to ubuntu-22.04 runners --- .github/workflows/debci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debci.yml b/.github/workflows/debci.yml index 8e9dd5be3..447a9b28f 100644 --- a/.github/workflows/debci.yml +++ b/.github/workflows/debci.yml @@ -16,7 +16,7 @@ on: jobs: lxc-debian-testing: # The type of runner that the job will run on - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -29,6 +29,7 @@ jobs: # it's needed (will be auto-loaded) by routing.test_vrf_basic - name: Install dependencies run: | + sudo add-apt-repository -y -n -u -s ppa:slyon/netplan-ci sudo apt update sudo apt install debci lxc lxc-templates debian-archive-keyring autopkgtest ubuntu-dev-tools devscripts linux-modules-extra-$(uname -r) #openvswitch-switch # See: https://discourse.ubuntu.com/t/containers-lxc/11526 (Apparmor section) @@ -50,6 +51,8 @@ jobs: cp -r netplan.io-*/debian . rm -r debian/patches/ # clear any distro patches sed -i 's|rm debian/tmp/lib/netplan/generate|# DELETED|' debian/rules + sed -i 's|bytecompile=-1|bytecompile=-1 -Dtesting=false|' debian/rules + sed -i 's| python3-gi,| python3-gi, python3-packaging,|' debian/tests/control # needed for the 'routing' test (nm_version) TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) # find latest (stable) tag REV=$(git rev-parse --short HEAD) # get current git revision VER="$TAG+git~$REV"