-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add new CI for tiflow to enable integration tests of sync_diff_inspector #3387
Add new CI for tiflow to enable integration tests of sync_diff_inspector #3387
Conversation
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes look good, but adding more documentation and improving code organization can enhance the clarity and maintainability of the CI setup. |
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes look good, but the potential problems highlighted above should be addressed for better maintainability and robustness of the CI process. |
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes seem to be focused on setting up integration tests for |
wget --no-verbose --retry-connrefused --waitretry=1 -t 3 -O tidb-enterprise-tools-nightly-linux-amd64.tar.gz https://download.pingcap.org/tidb-enterprise-tools-nightly-linux-amd64.tar.gz | ||
tar -xzf tidb-enterprise-tools-nightly-linux-amd64.tar.gz | ||
mv tidb-enterprise-tools-nightly-linux-amd64/bin/loader bin/ | ||
mv tidb-enterprise-tools-nightly-linux-amd64/bin/importer bin/ |
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.
Are there specific requirements for the versions of these two tools? The product in this URL has not been updated for a long time: https://download.pingcap.org/tidb-enterprise-tools-nightly-linux-amd64.tar.gz
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.
suggest caching these two products on the internal fileserver to reduce download time.
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.
I think we don't need to specify the versions of these two tools. Acutally I don't even know where the source code of the loader
is.
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.
Let me check where it is from.
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.
I think we don't need to specify the versions of these two tools. Acutally I don't even know where the source code of the
loader
is.
loder
is from an archived repo https://github.com/pingcap-inc/tidb-enterprise-tools
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.
So let's just use binary.
caching these two products on the internal fileserver
How to cache these two binary?
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.
I will cache these two binaries to the internal fileserver. The current PR can be merged and take effect first, and after testing, I will update it to the internal download address.
pipelines/pingcap/tiflow/latest/pull_syncdiff_integration_test.groovy
Outdated
Show resolved
Hide resolved
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes seem to be focused on enabling integration tests for |
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes look good, but it's essential to address the potential problems mentioned above for better code quality and maintainability. |
pipelines/pingcap/tiflow/latest/pull_syncdiff_integration_test.groovy
Outdated
Show resolved
Hide resolved
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes seem to be focused on setting up a CI pipeline for running integration tests for |
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.
/lgtm
[LGTM Timeline notifier]Timeline:
|
[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 |
Ref #3387 Add trigger for new pipeline of sync_diff_inspector. Enable the condition trigger and remove the WIP after passing the test.
Related tiflow changes: pingcap/tiflow#12060