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

feature(pingcap/tiflash): intergration support feature branch and ci params in PR title #3042

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

wuhuizuo
Copy link
Collaborator

you can append suffix in pr title to set pd and tikv and tidb branch:

"| tidb=release-8.2 tikv=feature/xxx pd=master"

Fixes #3041

Signed-off-by: wuhuizuo [email protected]

…params in PR title

you can append suffix in pr title to set pd and tikv and tidb branch:

"| tidb=release-8.2 tikv=feature/xxx pd=master"

Fixes #3041

Signed-off-by: wuhuizuo <[email protected]>
@ti-chi-bot ti-chi-bot bot requested a review from purelind July 31, 2024 12:13
Copy link

ti-chi-bot bot commented Jul 31, 2024

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

Based on the PR title and description, the main change in this pull request is to add support for setting PD, TiKV, and TiDB branches through the PR title. This is achieved by appending a suffix to the PR title, with the desired branch names specified using the format "| tidb=release-8.2 tikv=feature/xxx pd=master". The PR also includes a fix for issue #3041.

The diff for the pull request shows that the main changes are in the "pull_integration_test.groovy" file, where the script now computes the branch names from the PR title suffix and passes them as environment variables to the "run.sh" script.

One potential problem with this change is that it introduces a new syntax for setting the branches, which may not be immediately obvious to contributors. It's also possible that this syntax could conflict with other tooling that uses "|" as a delimiter.

To address these issues, it may be helpful to include some documentation in the PR description or README file explaining how to use this new syntax. It may also be worth considering a more intuitive syntax that is less likely to conflict with other tools.

Overall, the changes in this PR seem reasonable and should be helpful for setting up CI/CD pipelines for TiFlash.

@wuhuizuo
Copy link
Collaborator Author

testing in: it

@wuhuizuo
Copy link
Collaborator Author

/approve

Copy link

ti-chi-bot bot commented Jul 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 approved label Jul 31, 2024
@wuhuizuo wuhuizuo added the lgtm label Jul 31, 2024
@ti-chi-bot ti-chi-bot bot merged commit 332a425 into main Jul 31, 2024
1 of 2 checks passed
@ti-chi-bot ti-chi-bot bot deleted the wuhuizuo/issue3041 branch July 31, 2024 13:44
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.

tiflash integration test support feature branch
1 participant