Skip to content

Commit 4ffc619

Browse files
authored
chore(build): remove azure ubuntu package mirror in CI because it's broken (#7043)
Our api builds started failing on ubuntu because they couldn't install libsystemd. They appear to be hitting the package mirror http://azure.archive.ubuntu.com/ubuntu/ which as of 10 33am est today appears to have all content removed from the pool/ path. This removes that mirror from the sources list and hopefully forces a fallback to another mirror that isn't broken in such a way. Works around actions/runner-images#2104
1 parent 9e8fb06 commit 4ffc619

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/python/setup/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ runs:
88
using: 'composite'
99
steps:
1010
- shell: bash
11-
run: '[[ "${OSTYPE}" =~ "linux" ]] && sudo apt-get install -y --no-install-recommends libsystemd-dev || echo "do nothing and avoid pipefail"'
11+
run: |
12+
[[ "${OSTYPE}" =~ "linux" ]] && sudo sed -i 's/azure\.//' /etc/apt/sources.list && sudo apt-get update && sudo apt-get install -y --no-install-recommends libsystemd-dev || echo "do nothing and avoid pipefail"
1213
- shell: bash
1314
run: |
1415
npm install --global [email protected]

0 commit comments

Comments
 (0)