Skip to content

Commit 8e3ee50

Browse files
committed
ci/cross-i386: retry adding ppa
For some reason, launchpad.net is frequently giving us Gateway Timeout. Let's retry adding the ppa once to mitigate that. (The alternative is not to install criu and thus run criu-related unit tests on i386 -- this might actually be better). Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 96bb2b0 commit 8e3ee50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ jobs:
192192
- name: install deps
193193
run: |
194194
sudo dpkg --add-architecture i386
195-
# add criu repo
196-
sudo add-apt-repository -y ppa:criu/ppa
195+
# Add criu repo. The web server returns gateway timeout, thus the retry.
196+
sudo add-apt-repository -y ppa:criu/ppa || sudo add-apt-repository -y ppa:criu/ppa
197197
# apt-add-repository runs apt update so we don't have to.
198198
199199
sudo apt -qy install libseccomp-dev libseccomp-dev:i386 gcc-multilib libgcc-s1:i386 criu

0 commit comments

Comments
 (0)