]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
CI: Work-around the "503 Service Unavailable" erros on azure.archive.ubuntu.com 12410/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 10 Jan 2023 08:37:23 +0000 (09:37 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 11 Jan 2023 08:54:12 +0000 (09:54 +0100)
build-scripts/gh-actions-setup-inv
tasks.py

index 2a5f441351376ff0250859155902df2cf78af655..39bde3d281787cdcc2d56e9416a6a97ef688b6c9 100755 (executable)
@@ -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
index 95c940616675f91321e01130946ba742b269f6b9..39ea6840ef65594c2ebdf59d224c8141b4eb99e8 100644 (file)
--- 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')