-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat(al2023): cache and retag pause container #2000
Conversation
0fb93da
to
9580fb5
Compare
Looks like we can probably use a shared provisioner for the caching logic? |
yea good call, it might require a lot of the same env vars but i prefer the isolation & reuse with different provisioners |
gonna go ahead and sanity check this, i built both distros on local so it should be testable /ci |
@ndbaker1 the workflow that you requested has completed. 🎉
|
/ci |
@ndbaker1 the workflow that you requested has completed. 🎉
|
oh it only picked up al23 bc of the diff |
@ndbaker1 the workflow that you requested has completed. 🎉
|
ah it wasn't cached for docker, bc thats still supported below 1.25 and default on 1.23 🤦 |
/ci |
@ndbaker1 the workflow that you requested has completed. 🎉
|
docker wasn't playing well with the importing the blob exported by /ci |
@ndbaker1 the workflow that you requested has completed. 🎉
|
550fdbe
to
26e8417
Compare
Sanity check before merge... /ci |
@cartermckinnon this PR is not currently mergeable, you'll need to rebase it first. |
Argh sorry @ndbaker1 😭 Can you rebase this when you get a chance? |
Co-authored-by: Carter <[email protected]>
/ci |
@ndbaker1 the workflow that you requested has completed. 🎉
|
Issue #, if available:
Description of changes:
In the past we've added/removed pause container image caching due to various issues with image GC and regional images. here I'm bringing back image caching for AL2023 and retagging the image to remove the association with the image's registry
the new field
pause_container_image
will be necessary when building AMIs in an environment that cannot hit the configured default ecr uri (inus-west-2
)By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Testing Done
See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.