-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The goal of this PR is to update the existing drone pipelines and workflows to publish docker images to both
quay.io
andAmazon 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
teleport
orteleport-ent
image are published to quay.io:git tag
Tagging
Images were originally published to
quay.io/gravitational/teleport-ci
. This was to distinguish betweenstaged
images andproduction-ready
images. Due to the new architecture inRFD 73
.teleport-ci
will 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-docker
orpromote-docker-ecr
orpromote-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