Skip to content

Commit

Permalink
CI: use autopkgtest 5.37
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Aug 14, 2024
1 parent dbcbbed commit d367c19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/autopkgtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Install dependencies
run: |
echo "APT::Get::Always-Include-Phased-Updates \"true\";" | sudo tee /etc/apt/apt.conf.d/90phased-updates
sudo add-apt-repository -y -n -s ppa:slyon/netplan-ci
sudo apt update
sudo apt install autopkgtest ubuntu-dev-tools devscripts openvswitch-switch linux-modules-extra-$(uname -r)
# work around LP: #1878225 as fallback
Expand All @@ -54,4 +55,4 @@ jobs:
- name: Run autopkgtest (incl. build)
run: |
autopkgtest . \
-U --env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 --env=DEB_BUILD_OPTIONS=nocheck -- lxd autopkgtest/ubuntu/noble/amd64
-U --env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 -- lxd autopkgtest/ubuntu/noble/amd64
2 changes: 1 addition & 1 deletion .github/workflows/debci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +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 add-apt-repository -y -n -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)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/network-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
# it's needed (will be auto-loaded) by routing.test_vrf_basic
- name: Install dependencies
run: |
sudo add-apt-repository -y -n -s ppa:slyon/netplan-ci
sudo apt update
sudo apt install autopkgtest ubuntu-dev-tools devscripts openvswitch-switch linux-modules-extra-$(uname -r)
- name: Prepare test
Expand Down Expand Up @@ -66,6 +67,5 @@ jobs:
pull-lp-source network-manager noble
sudo autopkgtest -U \
--copy=debian/artifacts:/root/ --setup-commands='dpkg -i /root/*.deb' \
--env=DEB_BUILD_OPTIONS=nocheck \
--apt-pocket=proposed=src:network-manager \
network-manager_*.dsc -- lxd autopkgtest/ubuntu/noble/amd64 || test $? -eq 2 # allow for skipped tests (exit code = 2)

0 comments on commit d367c19

Please sign in to comment.