Skip to content

Commit

Permalink
workflow: try "null" virtualization for autopkgtest as lxd is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Jan 30, 2024
1 parent 42ef63b commit cfd7064
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install distro-info autopkgtest git-buildpackage
sudo snap install lxd --channel=stable
sudo usermod --append --groups lxd $(whoami)
sudo lxd init --auto
sudo autopkgtest-build-lxd ubuntu:$(distro-info --stable)
- name: build source
run: gbp buildpackage -us -uc -S -d -nc --git-ignore-branch --git-prebuild=
- name: autopkgtest
# skipping tests is ok
run: sudo autopkgtest -U ../build-area/*.dsc -- lxd autopkgtest/ubuntu/$(distro-info --stable)/amd64 || [ $? == 2 ]
# skipping tests is ok, virt-null is used because lxd keeps failing
# with: "Timed out waiting for container to boot"
run: sudo autopkgtest -U ../build-area/*.dsc -- null || [ $? == 2 ]

0 comments on commit cfd7064

Please sign in to comment.