Skip to content

Commit

Permalink
retry add-apt-repository commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Apr 6, 2024
1 parent e6526a0 commit 7ccf7b1
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 5 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/report-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@ jobs:
if: runner.os == 'linux'
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:kisak/turtle -y
sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true
# retry as it sometimes timeout
if [ $FAILED ]; then
sleep 5
sudo add-apt-repository ppa:kisak/turtle -y
fi
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
Expand Down Expand Up @@ -427,7 +432,12 @@ jobs:
if: runner.os == 'linux'
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:kisak/turtle -y
sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true
# retry as it sometimes timeout
if [ $FAILED ]; then
sleep 5
sudo add-apt-repository ppa:kisak/turtle -y
fi
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/report-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ jobs:
if: runner.os == 'linux'
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:kisak/turtle -y
sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true
# retry as it sometimes timeout
if [ $FAILED ]; then
sleep 5
sudo add-apt-repository ppa:kisak/turtle -y
fi
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/upkeep-update-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ jobs:
if: runner.os == 'linux'
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:kisak/turtle -y
sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true
# retry as it sometimes timeout
if [ $FAILED ]; then
sleep 5
sudo add-apt-repository ppa:kisak/turtle -y
fi
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/workflow-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ jobs:
if: runner.os == 'linux'
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:kisak/turtle -y
sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true
# retry as it sometimes timeout
if [ $FAILED ]; then
sleep 5
sudo add-apt-repository ppa:kisak/turtle -y
fi
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
Expand Down

0 comments on commit 7ccf7b1

Please sign in to comment.