mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:33:32 +03:00
GHA: deprioritize Azure Ubuntu mirror
Due to year-long unreliability. The default Ubuntu mirror works as fast as the Azure one when it's working at its normal speed. And has HTTPS. Also: - replac the retry hack that turn out to not solve the problem. - add timeouts to each download step to catch slowness early. Follow-up toa5838847c4#21181 Follow-up to5172ba5475#21107 Closes #21414
This commit is contained in:
parent
bfc0cb42fb
commit
50ff4f2927
9 changed files with 34 additions and 37 deletions
4
.github/workflows/checksrc.yml
vendored
4
.github/workflows/checksrc.yml
vendored
|
|
@ -101,9 +101,11 @@ jobs:
|
|||
timeout-minutes: 3
|
||||
steps:
|
||||
- name: 'install pmccabe'
|
||||
timeout-minutes: 2
|
||||
run: |
|
||||
ls -l /etc/apt/sources.list.d
|
||||
sudo find /etc/apt/sources.list.d -type f -not -name 'ubuntu.sources' -delete -print
|
||||
sudo sed -i 's/priority:1/priority:9/' /etc/apt/apt-mirrors.txt; cat /etc/apt/apt-mirrors.txt
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 update
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 install \
|
||||
pmccabe
|
||||
|
|
@ -121,8 +123,10 @@ jobs:
|
|||
timeout-minutes: 3
|
||||
steps:
|
||||
- name: 'install prereqs'
|
||||
timeout-minutes: 2
|
||||
run: |
|
||||
sudo find /etc/apt/sources.list.d -type f -not -name 'ubuntu.sources' -delete -print
|
||||
sudo sed -i 's/priority:1/priority:9/' /etc/apt/apt-mirrors.txt; cat /etc/apt/apt-mirrors.txt
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 update
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 install \
|
||||
libxml2-utils
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue