-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround Ubuntu 22.04/crun failure in CI
See: actions/runner-images#9425 See: lp:2056442 Signed-off-by: Lucy Llewellyn <[email protected]>
- Loading branch information
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright (c) 2024 Markus Falb <[email protected]> | ||
# GNU General Public License v3.0+ | ||
# see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt | ||
--- | ||
|
||
# https://github.com/actions/runner-images/issues/9425 | ||
name: 'Fix crun' | ||
description: 'Fix crun because of incompatible kernel' | ||
|
||
inputs: | ||
checksums: | ||
description: 'The path to the CHECKSUM file' | ||
type: string | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: patch crun | ||
shell: bash | ||
env: | ||
URI: https://github.com/containers/crun/releases/download/1.14.4/crun-1.14.4-linux-amd64 | ||
CHECKSUMS: ${{ inputs.checksums }} | ||
run: | | ||
cd $(dirname "$CHECKSUMS") | ||
test -f "$(basename $CHECKSUMS)" | ||
test "$ImageOS" = "ubuntu22" | ||
curl -Lo crun "$URI" | ||
sha256sum -c "$(basename $CHECKSUMS)" | ||
sudo install crun /usr/bin/crun | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4f170aaa10d2ef02560cfb60b67ddfa1a83b1b4f7018227e9cb23a6af3955ec1 crun |