Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Compose image pre-fetching from pulling all tags when tag is absent #4538

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

rnorth
Copy link
Member

@rnorth rnorth commented Oct 4, 2021

Fixes #3442

@rnorth
Copy link
Member Author

rnorth commented Oct 4, 2021

I believe this is likely to help with some of our long CI times - particularly the Windows CI job which has been timing out quite regularly of late.

Copy link
Member

@kiview kiview left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +38 to +40
// Pass through DockerImageName to convert image names to canonical form (e.g. making implicit latest tag explicit)
.map(DockerImageName::parse)
.map(DockerImageName::asCanonicalNameString)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW this is the substance of the change; everything else is just tidying of the existing code.

@bsideup bsideup added this to the next milestone Oct 4, 2021
@rnorth rnorth merged commit d44e616 into master Oct 4, 2021
@rnorth rnorth deleted the compose-prefetch-with-explicit-latest-tag branch October 4, 2021 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DockerComposeContainer pulls all images when not tag is specified
3 participants