- get
assume:project:taskcluster:worker-test-scopes
scope. That will give the following scopes: queue:define-task:test-dummy-provisioner/dummy-worker-*
queue:task-group-id:test-dummy-scheduler/*
queue:schedule-task:test-dummy-scheduler/*
queue:poll-task-urls:test-dummy-provisioner/dummy-worker-*
queue:claim-task:test-dummy-provisioner/dummy-worker-*
queue:worker-id:test-dummy-workers/dummy-worker-*
- go to https://tools.taskcluster.net/auth/clients/ , create a
mozilla-ldap/asasaki@mozilla.com/worker-test
clientid with theassume:project:taskcluster:worker-test-scopes
scope. This will grant access to the needed scopes for the worker - scopes needed:
- To create task: (not legacy)
queue:define-task:<provisionerId>/<workerType>
queue:task-group-id:<schedulerId>/<taskGroupId>
queue:schedule-task:<schedulerId>/<taskGroupId>/<taskId>
- To claim task:
queue:claim-task:<provisionerId>/<workerType>
queue:worker-id:<workerGroup>/<workerId>
- generate your config: define the
provisionerId
andworkerType
.provisionerId
is already defined astest-dummy-provisioner
inassume:project:taskcluster:worker-test-scopes
. TheworkerType
will be prefaced withdummy-worker-
- manually generate a task: https://tools.taskcluster.net/task-creator/
- make sure the
provisionerId
andworkerType
are the same as above
- a 405 when hitting
signedDeleteUrl
probably means you're using aget
rather than adelete
- to test 409 on
claimTask
, claim a canceled or already-claimed task.