From: Remi Gacogne Date: Tue, 10 Jan 2023 08:37:23 +0000 (+0100) Subject: CI: Work-around the "503 Service Unavailable" erros on azure.archive.ubuntu.com X-Git-Tag: dnsdist-1.8.0-rc1~125^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1fac6f423d9d2ca32b762913c1cff8e5f458397;p=thirdparty%2Fpdns.git CI: Work-around the "503 Service Unavailable" erros on azure.archive.ubuntu.com --- diff --git a/build-scripts/gh-actions-setup-inv b/build-scripts/gh-actions-setup-inv index 2a5f441351..39bde3d281 100755 --- a/build-scripts/gh-actions-setup-inv +++ b/build-scripts/gh-actions-setup-inv @@ -5,6 +5,7 @@ exit 101 EOF " sudo chmod 755 /usr/sbin/policy-rc.d +sudo sed -i 's/azure\.//' /etc/apt/sources.list sudo apt-get update sudo apt-get -qq -y dist-upgrade sudo apt-get -qq -y --no-install-recommends install python3-pip diff --git a/tasks.py b/tasks.py index 95c9406166..39ea6840ef 100644 --- a/tasks.py +++ b/tasks.py @@ -119,6 +119,7 @@ auth_test_deps = [ # FIXME: we should be generating some of these from shlibde @task def apt_fresh(c): + c.sudo('sed -i \'s/azure\.//\' /etc/apt/sources.list') c.sudo('apt-get update') c.sudo('apt-get dist-upgrade')