Skip to content

Commit

Permalink
Use apt-spy2 to fix connectivity issues to azure.archive.ubuntu.com.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jan 13, 2023
1 parent 1a46e7a commit 55700ad
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/cleanbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ jobs:
submodules: 'recursive'

- name: apt_get_update
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
run: |
sudo gem install apt-spy2 -v 0.7.2
sudo apt-spy2 check
sudo apt-spy2 fix --commit
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- name: Workaround for tar not being able to access /var/cache/apt/archives
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/depsbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ jobs:
submodules: 'recursive'

- name: apt_get_update
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
run: |
sudo gem install apt-spy2 -v 0.7.2
sudo apt-spy2 check
sudo apt-spy2 fix --commit
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- name: Workaround for tar not being able to access /var/cache/apt/archives
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/functesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ jobs:
submodules: 'recursive'

- name: apt_get_update
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
run: |
sudo gem install apt-spy2 -v 0.7.2
sudo apt-spy2 check
sudo apt-spy2 fix --commit
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- name: Get Date
id: get-date
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/glitching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:
submodules: 'recursive'

- name: apt_get_update
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
run: |
sudo gem install apt-spy2 -v 0.7.2
sudo apt-spy2 check
sudo apt-spy2 fix --commit
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- name: Get Date
id: get-date
Expand Down

0 comments on commit 55700ad

Please sign in to comment.