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

feat(pingcap/tidb-operator): delivery v2.x.y images to external registries #1410

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

wuhuizuo
Copy link
Collaborator

No description provided.

…tries

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
@ti-chi-bot ti-chi-bot bot requested a review from purelind January 23, 2025 06:45
@ti-chi-bot ti-chi-bot bot added area/apps env/prod will deploy on the main product cluster labels Jan 23, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 23, 2025

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

From the pull request title and diff, it seems that the changes are related to delivering v2.x.y images to external registries. The changes in the diff appear to be updating a YAML configuration file for image-push-on-harbor to include a check for the repo_full_name and tag of the pushed image, and then allowing delivery of the image if it matches the specified criteria.

One potential problem with this change is that it may be too specific to the current use case of the pingcap/tidb-operator repository. If other repositories need to deliver images to external registries, they may not match the specified criteria and would not be allowed to deliver their images. Additionally, if the criteria for matching the repo_full_name and tag need to be updated in the future, it may require further changes to the configuration file.

One suggestion for fixing this would be to make the criteria for matching the repo_full_name and tag more generic and configurable, so that it can be easily updated in the future if needed. Another suggestion would be to add comments to the configuration file explaining the purpose of this change and the criteria for matching the repo_full_name and tag, to make it easier for future maintainers to understand the reasoning behind this change.

@ti-chi-bot ti-chi-bot bot added the size/XS label Jan 23, 2025
@wuhuizuo
Copy link
Collaborator Author

/approve

@ti-chi-bot ti-chi-bot bot added the approved label Jan 23, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csuzhangxc, wuhuizuo

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 Jan 23, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 23, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-23 07:56:11.206828136 +0000 UTC m=+340298.537747538: ☑️ agreed by csuzhangxc.

@wuhuizuo wuhuizuo merged commit 4d65ab8 into main Jan 23, 2025
4 checks passed
@wuhuizuo wuhuizuo deleted the fix/tidb-operator-delivery-config branch January 23, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/apps env/prod will deploy on the main product cluster lgtm size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants