oneOff=flag.Bool("once",false,"If true, only merge one PR, don't run forever")
jobs=flag.String("jenkins-jobs","kubernetes-e2e-gce,kubernetes-e2e-gke-ci,kubernetes-build","Comma separated list of jobs in Jenkins to use for stability testing")
jenkinsHost=flag.String("jenkins-host","","The URL for the jenkins job to watch")
userWhitelist=flag.String("user-whitelist","","Path to a whitelist file that contains users to auto-merge. Required.")
requiredContexts=flag.String("required-contexts","cla/google,Shippable,continuous-integration/travis-ci/pr,Jenkins GCE e2e","Comma separate list of status contexts required for a PR to be considered ok to merge")
whitelistOverride=flag.String("whitelist-override-label","ok-to-merge","Github label, if present on a PR it will be merged even if the author isn't in the whitelist")
Unless in the last few weeks of a milestone when we need to reduce churn and stabilize, we aim to be always accepting pull requests.
Either the [on call](https://github.com/GoogleCloudPlatform/kubernetes/wiki/Kubernetes-on-call-rotation) manually or the [submit queue](../../contrib/submit-queue/) automatically will manage merging PRs.
Either the [on call](https://github.com/GoogleCloudPlatform/kubernetes/wiki/Kubernetes-on-call-rotation) manually or the [submit queue](https://github.com/contrib/tree/master/submit-queue) automatically will manage merging PRs.
There are several requirements for the submit queue to work:
* Author must have signed CLA ("cla: yes" label added to PR)
* No changes can be made since last lgtm label was applied
* k8s-bot must have reported the GCE E2E build and test steps passed (Travis, Shippable and Jenkins build)
Additionally, for infrequent or new contributors, we require the on call to apply the "ok-to-merge" label manually. This is gated by the [whitelist](../../contrib/submit-queue/whitelist.txt).
Additionally, for infrequent or new contributors, we require the on call to apply the "ok-to-merge" label manually. This is gated by the [whitelist](https://github.com/contrib/tree/master/submit-queue/whitelist.txt).