From 6e5a3691b277e8e00b41a3af125044f458c024c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Wed, 24 Apr 2024 14:57:54 +0200 Subject: [PATCH] [CI] skip one repo on apt update It's a workaround for GHA issue. Ref. https://github.com/actions/runner-images/issues/9733 --- .github/workflows/basic.yml | 4 ++++ .github/workflows/benchmarks.yml | 2 ++ .github/workflows/codeql.yml | 2 ++ .github/workflows/coverity.yml | 2 ++ .github/workflows/docs.yml | 2 ++ .github/workflows/nightly.yml | 2 ++ .github/workflows/pr_push.yml | 6 ++++++ .github/workflows/proxy_lib.yml | 2 ++ .github/workflows/qemu.yml | 7 ++++++- .github/workflows/sanitizers.yml | 4 ++++ .github/workflows/valgrind.yml | 2 ++ 11 files changed, 34 insertions(+), 1 deletion(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 809116113..12973b90f 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -31,8 +31,10 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + rm /etc/apt/sources.list.d/microsoft-prod.list apt-get update apt-get install -y libnuma-dev libjemalloc-dev libtbb-dev libhwloc-dev @@ -124,8 +126,10 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y clang cmake libnuma-dev libjemalloc-dev libtbb-dev diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 304265001..9ae629963 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -25,9 +25,11 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages if: matrix.os == 'ubuntu-latest' run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y cmake libhwloc-dev libnuma-dev libjemalloc-dev libtbb-dev diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 507cf5f87..940f5d4f9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -54,9 +54,11 @@ jobs: run: vcpkg install shell: pwsh # Specifies PowerShell as the shell for running the script. + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages if: matrix.os == 'ubuntu-latest' run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y cmake clang libhwloc-dev libnuma-dev libjemalloc-dev libtbb-dev diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 024f14d10..56eff426a 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -23,8 +23,10 @@ jobs: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y cmake hwloc libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c768746fe..e03966f2a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,8 +22,10 @@ jobs: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install doxygen run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y doxygen diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0a3df68a9..acb9a1fb3 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -23,8 +23,10 @@ jobs: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y cmake hwloc libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev valgrind diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index e6d39bf90..4d2fee28a 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -57,9 +57,11 @@ jobs: run: vcpkg install shell: pwsh # Specifies PowerShell as the shell for running the script. + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages if: matrix.os == 'ubuntu-latest' run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y cmake libjemalloc-dev libhwloc-dev libnuma-dev libtbb-dev @@ -99,8 +101,10 @@ jobs: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev @@ -131,8 +135,10 @@ jobs: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install doxygen run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y doxygen diff --git a/.github/workflows/proxy_lib.yml b/.github/workflows/proxy_lib.yml index 7a1695c6a..ad62f75b1 100644 --- a/.github/workflows/proxy_lib.yml +++ b/.github/workflows/proxy_lib.yml @@ -22,8 +22,10 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y cmake libhwloc-dev libjemalloc-dev libtbb-dev diff --git a/.github/workflows/qemu.yml b/.github/workflows/qemu.yml index b681364e9..aea11d109 100644 --- a/.github/workflows/qemu.yml +++ b/.github/workflows/qemu.yml @@ -22,9 +22,14 @@ jobs: echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules sudo udevadm control --reload-rules sudo udevadm trigger --name-match=kvm + + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install qemu run: | - sudo apt update && sudo apt install -y qemu-system genisoimage qemu-utils + sudo rm /etc/apt/sources.list.d/microsoft-prod.list + sudo apt update + sudo apt install -y qemu-system genisoimage qemu-utils + - name: Run ssh-keygen run: ssh-keygen -b 4096 -N '' -f ~/.ssh/id_rsa - name: Generate iso with user info diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index 4a6db3a67..9df63e07b 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -29,8 +29,10 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list apt-get update apt-get install -y cmake libnuma-dev libjemalloc-dev libtbb-dev libhwloc-dev @@ -74,8 +76,10 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y clang cmake libhwloc-dev libnuma-dev libjemalloc-dev libtbb-dev diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 72a8e261c..93aac7909 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -18,8 +18,10 @@ jobs: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733 - name: Install apt packages run: | + sudo rm /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update sudo apt-get install -y cmake hwloc libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev valgrind