-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore(tiflash): update build steps for tiflash starts v8.5.0 #488
chore(tiflash): update build steps for tiflash starts v8.5.0 #488
Conversation
Ref pingcap/tiflash#9587, it changes the build script paths. Signed-off-by: wuhuizuo <[email protected]>
From the PR title and description, it seems that the update changes the build steps for tiflash to version 8.5.0. Specifically, it changes the build script path for the range [v8.5.0, ) and adds new steps and artifacts for this version. One potential problem is that the changes only apply to the specified version range, which means that there might be issues with compatibility or consistency across different versions of tiflash. To fix this, it might be helpful to provide more context on why the changes were made and whether they have been tested for all supported versions. Additionally, it might be a good idea to add more descriptive comments in the code to explain the rationale behind the changes. Overall, the changes seem reasonable, but it would be good to ensure that they do not introduce any unexpected issues or regressions. |
for more information, see https://pre-commit.ci
This pull request updates the build steps for Tiflash starting from version 8.5.0. It modifies the build script paths and adds new steps to build and package the release artifacts. One potential problem could be that the changes may not be compatible with older versions of Tiflash. The new steps are only for versions 8.5.0 and above, so older versions may fail to build or package correctly. To fix this, the pull request could add support for older versions by checking the Tiflash version and applying the appropriate build steps accordingly. This would ensure that all versions of Tiflash can be built and packaged correctly. Additionally, the pull request could benefit from more detailed documentation on how to use the new build steps and package the release artifacts. This would help other developers who may not be familiar with the updated process. Overall, the changes look good and will likely improve the build and release process for Tiflash. |
/cc @Lloyd-Pottiger |
Based on the Pull Request title and description, it seems that the changes are related to updating the build steps for Tiflash starting from v8.5.0. The changes include updating the build script paths, adding new build steps with different conditions for different versions, and adding new artifacts for the release. The changes in the Pull Request seem reasonable and necessary for updating the build steps. However, there are some potential problems that need to be addressed:
Based on these potential problems, here are some suggestions for fixing them:
If these suggestions are addressed, the Pull Request should be ready for merging. |
packages/packages.yaml.tmpl
Outdated
release: | ||
- os: linux | ||
script: | | ||
./release-rocky8-llvm/scripts/build-tiflash-release.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as previous router, just changed the folder name.
@Lloyd-Pottiger: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold |
May be we should make the script path be more common. I hold it and convert it to draft state. |
/unhold |
[SKIP-CI] Signed-off-by: wuhuizuo <[email protected]>
5e9ba3f
to
c1d98c7
Compare
Based on the PR title and description, the key change made in this PR is to update the build steps for tiflash starting from version 8.5.0. Specifically, the build script paths have been changed, and the Dockerfile and packages.yaml.tmpl files have been updated accordingly. One potential problem is that this PR does not provide any information about why the build script paths needed to be changed. If there was a specific reason for this change, it should be documented in the PR description or in a separate issue or documentation. Another potential problem is that there may be compatibility issues with the updated build steps, especially for users who are upgrading from previous versions of tiflash. It would be helpful to provide guidance on how to handle these compatibility issues, such as any necessary changes to configuration or migration steps. As for fixing suggestions, if there was a specific reason for the change in build script paths, it should be documented in the PR description or in a separate issue or documentation. If there are any compatibility issues, guidance should be provided on how to handle them. Otherwise, the changes in this PR seem reasonable and should be merged after a thorough review. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Lloyd-Pottiger, 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 |
Ref pingcap/tiflash#9587, it changes the build script paths.
Signed-off-by: wuhuizuo [email protected]