-
Notifications
You must be signed in to change notification settings - Fork 294
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
🌱 hack: add script for creating mirror repo PRs #3234
🌱 hack: add script for creating mirror repo PRs #3234
Conversation
/cc @chrischdi |
/kind feature |
@neolit123: The label(s) 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-sigs/prow repository. |
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.
one nit as of that lgtm
--json headRepository,headRepositoryOwner,headRefName,baseRefName \ | ||
-q '"https://github.com/team-cluster-api/cluster-api-provider-vsphere/compare/" \ | ||
+ .baseRefName + "..." + .headRepositoryOwner.login + ":" + .headRepository.name + ":" + .headRefName' |
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 it can be run when not inside the CAPV git directory
--json headRepository,headRepositoryOwner,headRefName,baseRefName \ | |
-q '"https://github.com/team-cluster-api/cluster-api-provider-vsphere/compare/" \ | |
+ .baseRefName + "..." + .headRepositoryOwner.login + ":" + .headRepository.name + ":" + .headRefName' | |
-R kubernetes-sigs/cluster-api-provider-vsphere \ | |
--json headRepository,headRepositoryOwner,headRefName,baseRefName \ | |
-q '"https://github.com/team-cluster-api/cluster-api-provider-vsphere/compare/" \ | |
+ .baseRefName + "..." + .headRepositoryOwner.login + ":" + .headRepository.name + ":" + .headRefName' |
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.
updated.
Until the e2e CI is migrated to community infra, this script will be useful for all PR authors to create a PR in the mirror repo and run the CI there.
4f0f66d
to
6f9a7cf
Compare
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
/approve
LGTM label has been added. Git tree hash: 1f3bdd95acba17e77de41b02944a79b862572767
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrischdi 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 |
What this PR does / why we need it:
Until the e2e CI is migrated to community infra, this script will be useful for all PR authors to create a PR in the mirror repo and run the CI there.
please suggest a better script name if needed.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):NONE