mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Jenkins: start using base images for Trusty tests
This commit is contained in:
parent
1cce156597
commit
967b869c67
@ -113,7 +113,7 @@ function get_latest_trusty_image() {
|
|||||||
# Retry the gsutil command a couple times to mitigate the effect of
|
# Retry the gsutil command a couple times to mitigate the effect of
|
||||||
# transient server errors.
|
# transient server errors.
|
||||||
for n in $(seq 3); do
|
for n in $(seq 3); do
|
||||||
image="$(gsutil cat "gs://${image_project}/image-indices/latest-test-image-${image_index}")" && break || sleep 1
|
image="$(gsutil cat "gs://${image_project}/image-indices/latest-base-image-${image_index}")" && break || sleep 1
|
||||||
done
|
done
|
||||||
if [[ -z "${image}" ]]; then
|
if [[ -z "${image}" ]]; then
|
||||||
echo "Failed to find Trusty image for ${image_type}"
|
echo "Failed to find Trusty image for ${image_type}"
|
||||||
|
Loading…
Reference in New Issue
Block a user