Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Try to warm all images and warn about errors#1653

Merged
tejal29 merged 1 commit intoGoogleContainerTools:masterfrom
m4x1202:warmer-continue-on-missing-image
Jun 4, 2021
Merged

Try to warm all images and warn about errors#1653
tejal29 merged 1 commit intoGoogleContainerTools:masterfrom
m4x1202:warmer-continue-on-missing-image

Conversation

@m4x1202
Copy link
Copy Markdown
Contributor

@m4x1202 m4x1202 commented May 19, 2021

Description

When providing multiple images to warm, the warmer stops at the first error.
There are use cases however where an image is provided to the warmer which does not yet exist on purpose (e.g. CI/CD latest image only created at first release).
Thus we want to try all given images and only error if none of them work.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

Release Notes

Describe any changes here so maintainer can include it in the release notes, or delete this block.

- kaniko tries to warm all given images and only errors if none are working

When providing multiple images to warm, the warmer stops at the first error.
There are use cases however where an image is provided to the warmer which does not yet exist on purpose (e.g. CI/CD latest image only created at first release).
Thus we want to try all given images and only error if none of them work.
@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 19, 2021

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@google-cla google-cla Bot added the cla: no CLA not signed by all commit authors label May 19, 2021
@m4x1202
Copy link
Copy Markdown
Contributor Author

m4x1202 commented May 19, 2021

@googlebot I signed it!

@google-cla google-cla Bot added cla: yes CLA signed by all commit authors and removed cla: no CLA not signed by all commit authors labels May 19, 2021
@m4x1202
Copy link
Copy Markdown
Contributor Author

m4x1202 commented Jun 1, 2021

@tejal29 thanks for the approval :)
Can I do something else to help this PR?
Unfortunately cannot find a button/command to retrigger the Travis build. Based on what you said in a different PR the pipeline errors should be fixed.

@tejal29 tejal29 merged commit 1ee4140 into GoogleContainerTools:master Jun 4, 2021
@m4x1202 m4x1202 deleted the warmer-continue-on-missing-image branch June 4, 2021 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes CLA signed by all commit authors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants