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

fix(jenkins/pipelines/cd): keep same tags with inner repositories on GCR #2995

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

wuhuizuo
Copy link
Collaborator

Signed-off-by: wuhuizuo wuhuizuo@126.com

@ti-chi-bot ti-chi-bot bot requested a review from purelind June 13, 2024 05:18
Copy link

ti-chi-bot bot commented Jun 13, 2024

I have already done a preliminary review for you, and I hope to help you do a better job.

Based on the pull request title and description, the key change in this pull request is to fix a problem with the generated image tags. Specifically, the target image tag is being changed to remove the day and timestamp components, so that it matches the tag used by the inner repositories on GCR.

One potential problem with this change is that it could cause confusion if there are multiple different images with the same version and pre-release tag, but different timestamps. Additionally, it's not clear from the diff whether the change to the target tag will be sufficient to ensure consistency with the inner repositories on GCR.

To address these concerns, it might be helpful to add some additional context to the pull request description, explaining why this change was necessary and how it will impact the overall CD pipeline. Additionally, it might be worth considering some alternatives to the proposed solution, such as using a more unique tag format that includes a commit hash or build number, to ensure that each image is uniquely identifiable.

Overall, the proposed change seems reasonable, but some additional discussion and testing may be needed to ensure that it doesn't cause any unintended problems down the line.

@ti-chi-bot ti-chi-bot bot added the size/XS label Jun 13, 2024
Copy link
Collaborator

@purelind purelind left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

ti-chi-bot bot commented Jun 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: purelind

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the lgtm label Jun 13, 2024
Copy link

ti-chi-bot bot commented Jun 13, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-06-13 05:42:26.916552205 +0000 UTC m=+616100.969864131: ☑️ agreed by purelind.

@ti-chi-bot ti-chi-bot bot added the approved label Jun 13, 2024
@ti-chi-bot ti-chi-bot bot merged commit a9259de into main Jun 13, 2024
2 checks passed
@ti-chi-bot ti-chi-bot bot deleted the fix/unify-rc-image-tags-on-gcr branch June 13, 2024 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants