Skip to content

Commit b1030e7

Browse files
committed
CI: bump up crun to 1.4.4
containers/crun@1.3...1.4.4 Also adds `crun-version` file for consistency with `runc-version`. (Note: unlike runc, crun does not prepend "v" to a version tag) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent 11685cc commit b1030e7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

script/setup/crun-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.4.4

script/setup/install-runc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
#
2121
set -eu -o pipefail
2222

23-
function install_runc() {
24-
script_dir="$(cd -- "$(dirname -- "$0")" > /dev/null 2>&1; pwd -P)"
23+
script_dir="$(cd -- "$(dirname -- "$0")" > /dev/null 2>&1; pwd -P)"
2524

25+
function install_runc() {
2626
# When updating runc-version, consider updating the runc module in go.mod as well
2727
: "${RUNC_VERSION:=$(cat "${script_dir}/runc-version")}"
2828

@@ -37,8 +37,8 @@ function install_runc() {
3737
}
3838

3939
function install_crun() {
40-
CRUN_VERSION=1.3
41-
curl -o /usr/local/sbin/runc -L https://github.com/containers/crun/releases/download/"${CRUN_VERSION}"/crun-"${CRUN_VERSION}"-linux-"$(go env GOARCH)"
40+
: "${CRUN_VERSION:=$(cat "${script_dir}/crun-version")}"
41+
curl -S -o /usr/local/sbin/runc -L https://github.com/containers/crun/releases/download/"${CRUN_VERSION}"/crun-"${CRUN_VERSION}"-linux-"$(go env GOARCH)"
4242
chmod +x /usr/local/sbin/runc
4343
}
4444

0 commit comments

Comments
 (0)