Cirrus: Try apt-get twice

We were seeing some intermitttent failures here.
This commit is contained in:
Jeremy Rand 2021-02-18 03:17:30 +00:00
parent 4140483928
commit eab6460b26
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

View File

@ -16,7 +16,8 @@ lscpu
free -m free -m
echo "Installing rbm deps..." echo "Installing rbm deps..."
apt-get install -y libyaml-libyaml-perl libtemplate-perl libio-handle-util-perl libio-all-perl libio-captureoutput-perl libjson-perl libpath-tiny-perl libstring-shellquote-perl libsort-versions-perl libdigest-sha-perl libdata-uuid-perl libdata-dump-perl libfile-copy-recursive-perl libfile-slurp-perl git runc APT_DEPS="libyaml-libyaml-perl libtemplate-perl libio-handle-util-perl libio-all-perl libio-captureoutput-perl libjson-perl libpath-tiny-perl libstring-shellquote-perl libsort-versions-perl libdigest-sha-perl libdata-uuid-perl libdata-dump-perl libfile-copy-recursive-perl libfile-slurp-perl git runc"
apt-get install -y $APT_DEPS || (sleep 15s && apt-get install -y $APT_DEPS)
echo "Pulling rbm..." echo "Pulling rbm..."
make submodule-update make submodule-update