summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-04-24 11:08:24 +0200
committerSimon Rettberg2024-05-13 18:26:42 +0200
commit1f7d9a9969da7e3e5c71937d99ef02a9ff62bf10 (patch)
treeebfc878a379b1a49f6b3c8662bcc7ce5b654a7a0
parent[FUSE] Fix race condition (diff)
downloaddnbd3-1f7d9a9969da7e3e5c71937d99ef02a9ff62bf10.tar.gz
dnbd3-1f7d9a9969da7e3e5c71937d99ef02a9ff62bf10.tar.xz
dnbd3-1f7d9a9969da7e3e5c71937d99ef02a9ff62bf10.zip
github: retry apt-get calls
Run sudo apt-get update -y -qq sudo apt-get update -y -qq sudo apt-get install -y -qq make \ clang-format \ linux-headers-generic \ libfuse-dev \ libjansson-dev \ libcurl4-openssl-dev shell: /usr/bin/bash -e {0} env: ASAN_OPTIONS: leak_check_at_exit=false DOTNET_ROOT: /usr/share/dotnet E: Failed to fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' is no longer signed.
-rw-r--r--.github/workflows/test-cow-fuse.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test-cow-fuse.yml b/.github/workflows/test-cow-fuse.yml
index f8a71bc..c0313fb 100644
--- a/.github/workflows/test-cow-fuse.yml
+++ b/.github/workflows/test-cow-fuse.yml
@@ -14,13 +14,13 @@ jobs:
- name: Install dnbd3 dependencies
working-directory: ${{ github.workspace }}
run: |
- sudo apt-get update -y -qq
- sudo apt-get install -y -qq make \
+ for i in 1 2 3 4; do sudo apt-get update -y -qq && break; sleep 5; done
+ for i in 1 2 3 4; do sudo apt-get install -y -qq make \
clang-format \
linux-headers-generic \
libfuse-dev \
libjansson-dev \
- libcurl4-openssl-dev
+ libcurl4-openssl-dev && break; sleep 5; done
- name: Configure dnbd3 build
run: |
cmake -B ${{ github.workspace }}/build \