Skip to content

Commit 828fb13

Browse files
committed
add debug info to the download_shim.sh script
Signed-off-by: Vaughn Dice <[email protected]>
1 parent 8c15226 commit 828fb13

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/helm-chart-smoketest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
- name: run Spin App
170170
run: |
171171
kubectl apply -f testdata/apps/spin-app.yaml
172-
kubectl rollout status deployment wasm-spin --timeout 90s
172+
kubectl rollout status deployment wasm-spin --timeout 120s
173173
kubectl get pods -A
174174
kubectl port-forward svc/wasm-spin 8083:80 &
175175
timeout 60s bash -c 'until curl -f -vvv http://localhost:8083/hello; do sleep 2; done'

images/downloader/download_shim.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ mkdir -p /assets
2525

2626
# overwrite default name of shim binary; use the name of shim resource instead
2727
# to enable installing multiple versions of the same shim
28-
curl -sL "${SHIM_LOCATION}" | tar --transform "s/containerd-shim-.*/containerd-shim-${SHIM_NAME}/" -xzf - -C /assets
28+
curl -sLo "containerd-shim-${SHIM_NAME}" "${SHIM_LOCATION}"
29+
ls -lah "containerd-shim-${SHIM_NAME}"
30+
31+
log "$(curl --version)" "INFO"
32+
log "$(tar --version)" "INFO"
33+
log "md5sum: $(md5sum containerd-shim-${SHIM_NAME})" "INFO"
34+
log "sha256sum: $(sha256sum containerd-shim-${SHIM_NAME})" "INFO"
35+
36+
tar -xzf "containerd-shim-${SHIM_NAME}" -C /assets
2937
log "download successful:" "INFO"
3038

3139
ls -lah /assets

0 commit comments

Comments
 (0)