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

DM-49390: Update tagging for ghcr #1066

Merged
merged 4 commits into from
Mar 12, 2025
Merged

DM-49390: Update tagging for ghcr #1066

merged 4 commits into from
Mar 12, 2025

Conversation

roceb
Copy link
Contributor

@roceb roceb commented Mar 10, 2025

No description provided.

@roceb roceb force-pushed the tickets/DM-49390 branch from 41f7d03 to 73eab94 Compare March 10, 2025 04:07
Copy link
Contributor

@ktlim ktlim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it should work, but it might be slightly cleaner the way I suggested.

@@ -76,7 +76,13 @@ notify.wrap {
// should be removed after dropping support for dockerhub
if (extraDockerTags) {
// manual constructor is needed "because java"
// since we no longer need some of the current extraDockerTags,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you consider removing the backward-compatibility-only 7-stack-lsst_distrib-* from the nightly/weekly/official release pipelines and instead adding it back in after line 73 in this function using something like this:

def extraTagList = Arrays.asList(extraDockerTags.split())
registryTags += extraTagList
extraTagList.each { tag ->
    registryTags += "7-stack-lsst_distrib-${tag}"
}

Then the hard-coded removals below would not be needed, and the extra each loop could be removed after dropping docker.

@roceb roceb force-pushed the tickets/DM-49390 branch from 73eab94 to 5ac7fc3 Compare March 12, 2025 16:49
@roceb roceb force-pushed the tickets/DM-49390 branch from 5ac7fc3 to d1ea0b1 Compare March 12, 2025 16:52
@roceb roceb merged commit 74662d6 into main Mar 12, 2025
4 checks passed
@roceb roceb deleted the tickets/DM-49390 branch March 12, 2025 17:11
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.

2 participants