From 3134711acd61fa0da34b518ce3723152fea13f0b Mon Sep 17 00:00:00 2001 From: apostasie Date: Fri, 26 Dec 2025 15:49:29 +0100 Subject: [PATCH] Test in-host CI containerd sha validation Signed-off-by: apostasie --- .github/workflows/workflow-test.yml | 2 +- hack/scripts/lib.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow-test.yml b/.github/workflows/workflow-test.yml index 9ed3d6b4e9b..87b22a4fdb6 100644 --- a/.github/workflows/workflow-test.yml +++ b/.github/workflows/workflow-test.yml @@ -148,7 +148,7 @@ jobs: docker-version: 5:28.0.4-1~ubuntu.24.04~noble containerd-version: 2.2.1 # Note: these as for amd64 - containerd-sha: f5d8e90ecb6c1c7e33ecddf8cc268a93b9e5b54e0e850320d765511d76624f41 + containerd-sha: 1238e90ecb6c1c7e33ecddf8cc268a93b9e5b54e0e850320d765511d76624f41 containerd-service-sha: 1941362cbaa89dd591b99c32b050d82c583d3cd2e5fa63085d7017457ec5fca8 linux-cni-version: v1.9.0 linux-cni-sha: 58c03705426e929658f45a851df15a86d06ef680cacbf3f2dc127731ca265c28 diff --git a/hack/scripts/lib.sh b/hack/scripts/lib.sh index 7ce1da9a103..a92a372923b 100755 --- a/hack/scripts/lib.sh +++ b/hack/scripts/lib.sh @@ -175,6 +175,7 @@ http::get::secure(){ shift shift + printf "Verifying $url against $sha\n" _http::get "$url" "$output" "2" "1" "" "" "$@" shasum -a 256 -c <<<"$sha $output" || { ret=$? @@ -182,6 +183,7 @@ http::get::secure(){ log::error "Actual sha: $(shasum -a 256 "$output")" return $ret } + printf "result: %s \n" "$(shasum -a 256 -c <<<"$sha $output")" } http::healthcheck(){