Merge pull request #25920 from wonderfly/use_base_image

Automatic merge from submit-queue

Jenkins: start using base images for Trusty tests

@spxtr Can you review this XS change?

cc/ @kubernetes/goog-image
pull/6/head
k8s-merge-robot 2016-05-19 17:13:27 -07:00
commit 505fb85726
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ function get_latest_trusty_image() {
# Retry the gsutil command a couple times to mitigate the effect of
# transient server errors.
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
if [[ -z "${image}" ]]; then
echo "Failed to find Trusty image for ${image_type}"