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

Tag commits whose images land on stable channels #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnshaughnessy
Copy link
Contributor

@johnshaughnessy johnshaughnessy commented Nov 29, 2022

Tag commits whose docker images are given the stable channel/tag (e.g. hubs.stable-1234.2022-11-29), so that git users can easily see which commits are associated with shipped images.

The run number is the unique id (that is also used in the docker tag).

The date is not as important, but added for convenience / human readability. (It is also not unique, if we deploy twice in a day).

This PR only tags commits that land in the stable channels. It might be useful to also add tags for beta channels, but starting with just the stable builds for now since those are more likely to be the artifacts we care about during an audit.

We discussed that it may be useful have a git tag called hubs.stable-latest, but changing the commit that a tag points to is an operation that you have to --force in git. I think that also means that anyone who wants local copies of the github repo's tags will also get warnings / conflicts whenever they try to pull. So I think the happy path will be to not have a hubs.stable-latest git tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant