summaryrefslogtreecommitdiffhomepage
path: root/kokoro/run_tests.sh
diff options
context:
space:
mode:
authorLantao Liu <lantaol@google.com>2019-04-15 13:55:37 -0700
committerShentubot <shentubot@google.com>2019-04-15 13:56:52 -0700
commite8156667179c52c40f54affc085009258ae11092 (patch)
treee3046781724958ee68a975cf4070d68c29ac898d /kokoro/run_tests.sh
parent546a1df7d15fd80f510d4203c5f9255bba4b4211 (diff)
Fix gvisor-containerd-shim download in the test.
The file layout in the bucket is changed a little bit recently to support both v1 shim and v2 shim. PiperOrigin-RevId: 243682904 Change-Id: Ic1373c6dc088ef41f829e7ce3ea3762e1e2b0292
Diffstat (limited to 'kokoro/run_tests.sh')
-rwxr-xr-xkokoro/run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh
index 4769fc7a0..8a3ce7402 100755
--- a/kokoro/run_tests.sh
+++ b/kokoro/run_tests.sh
@@ -115,7 +115,7 @@ install_crictl_test_deps() {
local latest=/tmp/gvisor-containerd-shim-latest
local shim_path=/tmp/gvisor-containerd-shim
wget --no-verbose https://storage.googleapis.com/cri-containerd-staging/gvisor-containerd-shim/latest -O ${latest}
- wget --no-verbose https://storage.googleapis.com/cri-containerd-staging/gvisor-containerd-shim/$(cat ${latest}) -O ${shim_path}
+ wget --no-verbose https://storage.googleapis.com/cri-containerd-staging/gvisor-containerd-shim/gvisor-containerd-shim-$(cat ${latest}) -O ${shim_path}
chmod +x ${shim_path}
sudo -n -E mv ${shim_path} /usr/local/bin