Skip to content

Commit

Permalink
gh actions: use crun and update runc version
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hunt <[email protected]>
  • Loading branch information
haircommander committed Oct 2, 2024
1 parent 3619051 commit 3d774d5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion hack/github-actions-setup
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ set -euo pipefail

declare -A VERSIONS=(
["cni-plugins"]=v1.3.0
["runc"]=v1.1.7
["runc"]=v1.1.14
["crun"]=1.17
["bats"]=v1.9.0
)

Expand All @@ -16,6 +17,7 @@ main() {
install_bats
install_critools
install_runc
install_crun
install_cni_plugins
install_testdeps
setup_etc_subid
Expand Down Expand Up @@ -118,6 +120,16 @@ install_runc() {
runc --version
}

install_crun() {
URL=https://github.com/containers/crun/releases/download/"${VERSIONS["crun"]}"/crun-"${VERSIONS["crun"]}"-linux-amd64

BINARY=/usr/bin/crun
sudo wget -O "$BINARY" "$URL"
sudo chmod +x "$BINARY"

crun --version
}

install_testdeps() {
CLONE_PATH=$(go env GOPATH)/src/github.com/cri-o
mkdir -p "$CLONE_PATH"
Expand Down

3 comments on commit 3d774d5

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your git-forge project is not allowed to use the configured rhcontainerbot/podman-next Copr project.

Please, add this git-forge project github.com/containers/conmon to Packit allowed forge projectsin the Copr project settings.

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your git-forge project is not allowed to use the configured rhcontainerbot/podman-next Copr project.

Please, add this git-forge project github.com/containers/conmon to Packit allowed forge projectsin the Copr project settings.

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your git-forge project is not allowed to use the configured rhcontainerbot/podman-next Copr project.

Please, add this git-forge project github.com/containers/conmon to Packit allowed forge projectsin the Copr project settings.

Please sign in to comment.