Closed Bug 1365238 Opened 7 years ago Closed 7 years ago

Allow github.com/ochameau/ff-dt to create tasks from a decision task

Categories

(Taskcluster :: Operations and Service Requests, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ochameau, Unassigned)

References

Details

It looks like I don't have the necessary scopes to implement a decision task:
https://tools.taskcluster.net/task-group-inspector/#/e3ymBitgQme_HesNpfvgvA/e3ymBitgQme_HesNpfvgvA?_k=3f6kvs

You only have the scopes:
[]

In other words you are missing scopes from one of the options:
 * Option 0:
    - "queue:create-task:highest:aws-provisioner-v1/win2012r2", and
    - "queue:scheduler-id:taskcluster-github"
 ...
 Many other option with different priority for the create-task scope

https://tools.taskcluster.net/auth/roles/#repo:github.com%252fochameau%252fff-dt:*
It looks like I have the create-task scope, if the priority (:highest) is ignored? (otherwise I also miss this scope).
But I clearly miss the sceduler-id scope!

I tried with win2012r2 as I don't have the github-worker scope for ff-dt:* role.
(I would need to create both github-worker and win2012r2)

Or... I'm doing it wrong...
https://github.com/ochameau/ff-dt/blob/task-decision/task_decision.js
Jonas, can you take a look at this?  I'm not sure what the best course is.
Flags: needinfo?(jopsen)
So it appears that I was just missing taskclusterProxy in my main taskcluster.yml file.
At the end, I'm not sure anything is wrong on taskcluster.
/me wipes brow
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jopsen)
Resolution: --- → WORKSFORME
Component: Service Request → Operations and Service Requests
You need to log in before you can comment on or make changes to this bug.