diff options
author | Brian Behlendorf <[email protected]> | 2023-02-27 09:19:25 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-27 09:19:25 -0800 |
commit | 000985fc15ecd71e9d3360867df5d19e0a00a373 (patch) | |
tree | e68eb0bedd18900b127722abbb1808f2317aab5c /.github/workflows | |
parent | bf1bec394e715de9f7ac4a54b5b1b884d7e41a32 (diff) |
Workaround GitHub Action failure
Ubuntu 20.04 and 22.04 workflows are failing due to an error
which is hit when running `apt-get update`. Until the
problematic package is fixed apply the suggested workaround
described here:
https://github.com/orgs/community/discussions/47863
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Tino Reichardt <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #14530
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/checkstyle.yaml | 6 | ||||
-rw-r--r-- | .github/workflows/zfs-tests-functional.yml | 6 | ||||
-rw-r--r-- | .github/workflows/zfs-tests-sanity.yml | 6 | ||||
-rw-r--r-- | .github/workflows/zloop.yml | 6 |
4 files changed, 16 insertions, 8 deletions
diff --git a/.github/workflows/checkstyle.yaml b/.github/workflows/checkstyle.yaml index 008adcc03..b0fdc570d 100644 --- a/.github/workflows/checkstyle.yaml +++ b/.github/workflows/checkstyle.yaml @@ -13,8 +13,10 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Install dependencies run: | - sudo apt-get update - sudo apt-get -qq upgrade + # https://github.com/orgs/community/discussions/47863 + sudo apt-mark hold grub-efi-amd64-signed + sudo apt-get update --fix-missing + sudo apt-get upgrade sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt apt-get install -qq sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/checkstyle-dependencies.txt apt-get install -qq sudo python3 -m pip install --quiet flake8 diff --git a/.github/workflows/zfs-tests-functional.yml b/.github/workflows/zfs-tests-functional.yml index 08ce254ec..237a0cb73 100644 --- a/.github/workflows/zfs-tests-functional.yml +++ b/.github/workflows/zfs-tests-functional.yml @@ -17,8 +17,10 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Install dependencies run: | - sudo apt-get update - sudo apt-get -qq upgrade + # https://github.com/orgs/community/discussions/47863 + sudo apt-mark hold grub-efi-amd64-signed + sudo apt-get update --fix-missing + sudo apt-get upgrade sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt apt-get install -qq sudo apt-get clean - name: Autogen.sh diff --git a/.github/workflows/zfs-tests-sanity.yml b/.github/workflows/zfs-tests-sanity.yml index bab8aa175..ef2c0a869 100644 --- a/.github/workflows/zfs-tests-sanity.yml +++ b/.github/workflows/zfs-tests-sanity.yml @@ -13,8 +13,10 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Install dependencies run: | - sudo apt-get update - sudo apt-get -qq upgrade + # https://github.com/orgs/community/discussions/47863 + sudo apt-mark hold grub-efi-amd64-signed + sudo apt-get update --fix-missing + sudo apt-get upgrade sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt apt-get install -qq sudo apt-get clean - name: Autogen.sh diff --git a/.github/workflows/zloop.yml b/.github/workflows/zloop.yml index 1a234ac99..8333a88de 100644 --- a/.github/workflows/zloop.yml +++ b/.github/workflows/zloop.yml @@ -15,8 +15,10 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Install dependencies run: | - sudo apt-get update - sudo apt-get -qq upgrade + # https://github.com/orgs/community/discussions/47863 + sudo apt-mark hold grub-efi-amd64-signed + sudo apt-get update --fix-missing + sudo apt-get upgrade sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt apt-get install -qq sudo apt-get clean - name: Autogen.sh |