[actions] retry apt package installs through Ubuntu mirror outages
Mirror outages have outlasted the existing retries, which covered only `apt-get update` (and not the WSL `additional-packages` install). Installs now go through `.github/scripts/apt-install.sh`, which retries each request within apt and retries the whole update+install with backoff for about 10 minutes.
This commit is contained in:
7 files changed
+91
-39
No files matched your search
@@ -52,11 +52,11 @@ jobs:
|
||||
git submodule update --init --recursive
|
||||
- name: Install zsh and additional shells
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y zsh
|
||||
PACKAGES='zsh'
|
||||
if [ "${{ matrix.shell }}" != "sh" ] && [ "${{ matrix.shell }}" != "bash" ] && [ "${{ matrix.shell }}" != "zsh" ]; then
|
||||
sudo apt-get install -y ${{ matrix.shell }}
|
||||
PACKAGES="${PACKAGES} ${{ matrix.shell }}"
|
||||
fi
|
||||
sh .github/scripts/apt-install.sh ${PACKAGES}
|
||||
shell: bash
|
||||
- run: sudo ${{ matrix.shell }} --version 2> /dev/null || dpkg -s ${{ matrix.shell }} 2> /dev/null || which ${{ matrix.shell }}
|
||||
- run: wget --version
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
shell: bash
|
||||
- name: Restore curl
|
||||
if: always()
|
||||
run: sudo apt-get install curl -y
|
||||
run: sh .github/scripts/apt-install.sh curl
|
||||
shell: bash
|
||||
|
||||
installation_iojs_source_compile:
|
||||
|
||||
Reference in new issue
Block a user