-
Notifications
You must be signed in to change notification settings - Fork 2k
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
eng, sdk automation, migrate to tsp-client 0.7.0+ #39829
eng, sdk automation, migrate to tsp-client 0.7.0+ #39829
Conversation
sudo apt-get install -y --upgrade python3-pip python3-setuptools 2>&1 | ||
pip3 install --upgrade wheel 2>&1 | ||
pip3 install --upgrade PyYAML requests 2>&1 |
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.
2>&1
is not related to tsp-client
It is an improvement to SDK automation output, to avoid irrelevant info get printed to error message.
'--tsp-config', tsp_dir, | ||
'--commit', head_sha, | ||
'--repo', repo, | ||
'--local-spec-repo', tsp_dir] |
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.
--local-spec-repo
is the new feature of tsp-client 0.7.0 on init
action
/check-enforcer override |
Verified that it works in pr repo |
FYI @catalinaperalta |
Yay! Happy is worked! 🥳 |
fix Azure/azure-sdk-tools#8050
(this PR is almost a revert on #38983)
tsp-client
should now work in private repo (with--local-spec-repo
option).Sample command line
Verification PR in test env https://github.com/test-repo-billy/azure-rest-api-specs/pull/3297/checks?check_run_id=24088451534
Plan is to merge this PR. Then initialize a test on pr repo. If that works, I would notify other languages that tsp-client migration be feasible.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines