Drone publishing for Amazon ECR#14347
Conversation
|
CC: @tcsc @fheinecke @marcoandredinis What other areas should I look out for regarding potentially decommissioning the staging repository: |
GitHub code search is sufficient for tracking down the use cases: https://github.com/search?q=org%3Agravitational+teleport-ci&type=code If you want to be extra diligent, check through the issues as well, and make sure that there aren't any that are made irrelevant or misleading after this change. |
I didn't find any other references to it With this change we'll have staging images only in ECR and production images in both ECR and Quay. Is that so? I'm a bit out of place here 😅 take my suggestions with a grain of salt I'm curious of what this means to the Teleport Operator image (cc @hugoShaka ) |
This can still happen if desired. I was originally thinking that since Keeping @marcoandredinis What do you think? |
I'm ok with removing it 👍 |
|
AFAIK nobody directly uses |
b3585b6 to
4f6968a
Compare
|
Just FYI this will have some merge conflicts with my open PR (#14203) which is about ready to merge |
74eab52 to
af0726b
Compare
The goal of this PR is to update the existing drone pipelines and workflows to publish docker images to both
quay.ioandAmazon ECR.This is a part of RFD 73 and https://github.com/gravitational/cloud/issues/1839.
Care was taken to minimize any and all changes to pre-existing workflows.
This PR depends on:
What Changes
There are currently 3 ways the
teleportorteleport-entimage are published to quay.io:git tagTagging
Images were originally published to
quay.io/gravitational/teleport-ci. This was to distinguish betweenstagedimages andproduction-readyimages. Due to the new architecture inRFD 73.teleport-ciwill no longer be required. Images will now be pushed to the internal aws ECR repository.Promotion
Images will be promoted from the internal staging repository to both quay and amazon ECR Public.
Promoting in drone
You can now specifically promote the docker image pipelines by promoting to
promote-dockerorpromote-docker-ecrorpromote-docker-quay. This will run just those pipelines respectively vs promoted the entire pipeline.Cronjob
Images will be built and pushed to both quay.io and amazon ECR Public.
Testing