Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/workflow-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions hack/scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,15 @@ http::get::secure(){
shift
shift

printf "Verifying $url against $sha\n"
_http::get "$url" "$output" "2" "1" "" "" "$@"
shasum -a 256 -c <<<"$sha $output" || {
ret=$?
log::error "Expected sha: $sha"
log::error "Actual sha: $(shasum -a 256 "$output")"
return $ret
}
printf "result: %s \n" "$(shasum -a 256 -c <<<"$sha $output")"
}

http::healthcheck(){
Expand Down
Loading