mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Centralize role/scopes comments
This commit is contained in:
parent
ea7804385d
commit
79dfc22016
2 changed files with 2 additions and 7 deletions
|
@ -18,6 +18,8 @@ tasks:
|
|||
source: ${event.compare}
|
||||
scopes:
|
||||
- "queue:scheduler-id:taskcluster-github"
|
||||
|
||||
# Granted to role "repo:github.com/servo/servo-taskcluster-experiments:branch:master"
|
||||
- "queue:create-task:highest:aws-provisioner-v1/servo-*"
|
||||
- "docker-worker:cache:cargo-registry-cache"
|
||||
- "docker-worker:cache:cargo-git-cache"
|
||||
|
|
|
@ -25,9 +25,6 @@ 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(""),
|
||||
|
@ -96,10 +93,6 @@ build_task = create_task(
|
|||
],
|
||||
|
||||
# https://docs.taskcluster.net/docs/reference/workers/docker-worker/docs/caches
|
||||
# For this to be allowed, I created role
|
||||
# "repo:github.com/servo/servo-taskcluster-experiments:branch:master"
|
||||
# with scope "assume:project:servo:grants/cargo-caches"
|
||||
# at https://tools.taskcluster.net/auth/roles/
|
||||
scopes=[
|
||||
"docker-worker:cache:cargo-registry-cache",
|
||||
"docker-worker:cache:cargo-git-cache",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue