ci(e2e): pull the SG enforcement base image from mirror.gcr.io with retries - #2592
Merged
Merged
Conversation
…etries The EC2 SG enforcement job pulled alpine:3 straight from Docker Hub with no retry; an intermittent auth.docker.io token error failed the whole job before any test ran. Pull the same official image from Google's Docker Hub mirror (as the container-test warm-up already does), tag it as alpine:3, fall back to Docker Hub, and retry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
EC2 SG enforcement (privileged)E2E job pre-pulledalpine:3straight from Docker Hub with no retry. An intermittentauth.docker.iotoken error failed the whole job before any test ran (seen on #2580). Pull the same official image from Google's Docker Hub mirror (as the container-test warm-up added in #2582 already does for the other images), tag it asalpine:3, fall back to Docker Hub, and retry up to three times.CI-only; no product or surface changes.
Test plan
Summary by cubic
Fixes the EC2 SG enforcement E2E job failing before any test runs by pulling the
alpine:3base image from Google's Docker Hub mirror with a Docker Hub fallback and up to three retries, instead of a single unrealiable pull from Docker Hub. CI-only; no product or surface changes.Written for commit 23c0277. Summary will update on new commits.