-
Notifications
You must be signed in to change notification settings - Fork 153
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
Introducing the Override Bot #810
Conversation
Hello contributor, thanks for submitting a PR for this project! I am the bot who triggers "standard-CI" builds for this project. In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:
|
2e33ffc
to
5fe536a
Compare
5fe536a
to
5567a45
Compare
5567a45
to
6f1c9f7
Compare
The Bot polls open PRs and finds redundant lanes that can be overridden if the same CI test has been succeeded on another cloud provider. If such lanes are found, the bot comments the override command for prow. Signed-off-by: orenc1 <[email protected]>
6f1c9f7
to
2f54614
Compare
/retest |
1 similar comment
/retest |
provider = splitted[-1] | ||
test_name = '-'.join(splitted[:-1]) | ||
state = status['state'] | ||
overridden = True if status['description'] and 'Overridden' in status['description'] else False |
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.
A Boolean value is just a result of a Bolean expression. no need to explicitly set True and False; e.g.
overridden = status['description'] and 'Overridden' in status['description']
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.
Thanks for pointing that out. I'll change in a following PR.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nunnatsa 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 |
Signed-off-by: orenc1 [email protected]
On first step, the override bot can invoked by commenting
/override-bot
on any open PR.Then it will comment
/override ci/prow/...
for each failed/pending lane that has a parallel passed lane on another cloud provider, for all open PRs in this repository.Release note: