mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
Ignore apt-get update failures in CI
We run with ~120 apt sources, and apt-get update fails if any of them is down. True errors would be raised again at install phase as true dependencies fetch would fail. ;
This commit is contained in:
@@ -6,7 +6,10 @@ set -o errexit
|
||||
echo '{"ipv6":true, "fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
|
||||
sudo service docker restart
|
||||
|
||||
apt-get update
|
||||
# Ignore apt-get update errors to avoid failing due to misbehaving repo;
|
||||
# true errors would fail in the apt-get install phase
|
||||
apt-get update || true
|
||||
|
||||
apt-get install -y liblxc1 lxc-dev lxc shellcheck
|
||||
apt-get install -y qemu
|
||||
bash ./scripts/travis-rkt.sh
|
||||
|
||||
Reference in New Issue
Block a user