Skip to content

Commit

Permalink
CI: Avoid unneeded autopkgtest --apt-pocket parameter
Browse files Browse the repository at this point in the history
This is to mitigate error such as this:
```
Running setup script /usr/share/autopkgtest/setup-commands/setup-testbed...
awk: fatal: cannot open file `/etc/apt/sources.list' for reading: No such file or directory
sh: Attempting to set up Debian/Ubuntu apt sources automatically
```

We're building the network-manager package anyways, so don't need the
--apt-pocket=proposed=src:network-manager parameter.
  • Loading branch information
slyon committed Jan 29, 2024
1 parent 1fb01cd commit 4493b4b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/network-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,4 @@ jobs:
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 4493b4b

Please sign in to comment.