This has become somewhat more urgent as we've moved the Chrome PFQ to Swarming and the ChromeOS gardeners need to be able to trigger builds via "Run Now" via the Scheduler UI. I'd like to allow that without giving them OWNERS to the whole project.
Owner: vadimsh@chromium.org Status: Assigned (was: Available) Summary: Scheduler "Run now" button should emit triggers instead of starting the invocation right away. (was: scheduler run now buttong should emit triggers instead.)
Also as part of this change, we should change "Run now" button ACL to require TRIGGERER role, not OWNER.
Deployed this.
"Run now" button is replaced with "Trigger" button. Once clicked, it immediately adds a triggers to the pending set (it looks like "Triggered via web UI (1 minute ago by vadimsh@google.com)") and redirects to the job page.
This trigger is then triaged via regular rules (e.g. if the job was idle, a new invocation starts right away, otherwise it queues up).
Anyone with TRIGGERER role is allowed to use this button.
An example where I used this button: https://luci-scheduler.appspot.com/jobs/infra/build-recipes-tests/9100521153388653568
Comment 1 by tandrii@chromium.org
, Jun 29 2018Components: -Infra>Platform Infra>Platform>Scheduler
Labels: -Restrict-View-Google Pri-2 Type-Task
Status: Available (was: Untriaged)