mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Moar scopes
This commit is contained in:
parent
ad605208d0
commit
3560c2f1de
2 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,7 @@ tasks:
|
|||
owner: ${event.pusher.name}@users.noreply.github.com
|
||||
source: ${event.compare}
|
||||
scopes:
|
||||
- "queue:create-task:aws-provisioner-v1/github-worker"
|
||||
- "queue:create-task:highest:aws-provisioner-v1/servo-*"
|
||||
- "docker-worker:cache:cargo-registry-cache"
|
||||
- "docker-worker:cache:cargo-git-cache"
|
||||
|
||||
|
|
|
@ -24,7 +24,11 @@ def create_task(name, command, artifacts=None, dependencies=None, env=None, cach
|
|||
"dependencies": [decision_task_id] + (dependencies or []),
|
||||
"schedulerId": "taskcluster-github",
|
||||
"provisionerId": "aws-provisioner-v1",
|
||||
|
||||
# Granted scope queue:create-task:highest:aws-provisioner-v1/servo-*
|
||||
# to role repo:github.com/servo/servo-taskcluster-experiments:branch:master
|
||||
"workerType": "servo-docker-worker",
|
||||
|
||||
"created": taskcluster.fromNowJSON(""),
|
||||
"deadline": taskcluster.fromNowJSON("1 hour"),
|
||||
"metadata": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue