PingCAP-QE / ci

Continue intergration tests
Apache License 2.0
19 stars 96 forks source link

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

Closed wuhuizuo closed 2 weeks ago

wuhuizuo commented 2 weeks ago

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

ti-chi-bot[bot] commented 2 weeks ago

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[bot] commented 2 weeks ago

[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: - ~~[jenkins/pipelines/cd/OWNERS](https://github.com/PingCAP-QE/ci/blob/main/jenkins/pipelines/cd/OWNERS)~~ [purelind] 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[bot] commented 2 weeks ago

[LGTM Timeline notifier]

Timeline: