From 1f7d9a9969da7e3e5c71937d99ef02a9ff62bf10 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 24 Apr 2024 11:08:24 +0200 Subject: 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. --- .github/workflows/test-cow-fuse.yml | 6 +++--- 1 file 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 \ -- cgit v1.2.3-55-g7522