Closed
Bug 1417487
Opened 7 years ago
Closed 6 years ago
Hook for project-focus reset to tutorial task (+ missing scopes)
Categories
(Taskcluster :: UI, enhancement)
Taskcluster
UI
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: sebastian, Unassigned)
References
Details
(Whiteboard: taskcluster-web)
I created the following task in the task creator:
https://tools.taskcluster.net/groups/IfIqcFEESO-czdCQoDCRFg
Now we would like to run this once a day and I tried creating such a scheduled task in the hooks manager:
https://tools.taskcluster.net/hooks/project-focus/string-import
Somehow the task gets reset to the tutorial task that just prints "Hello World" (with no schedule).
In addition to that I can't even run it because the scope for creating the task is missing. The task created via the task creator and the tutorial task are running on the tutorial-worker. But I guess this should run on the docker-worker? Our existing tasks are triggered by GitHub and running on the github-worker - but that's no what we would use for our hooks, right?
Reporter | ||
Comment 2•7 years ago
|
||
I deleted the task and re-created it and this time it worked. Although it says: No Schedule (Maybe cause I can't run it?). I entered: 0 12 * * *
I'm confused why it works now and not the last times I tried. I assume that the task syntax was invalid and this caused it? The "Create Task" tool seems to use YAML and the hooks one expects JSON. I might have messed things up - but would have expected a validation error message.
Nevertheless I still have the problem that I can't run the task (on the tutorial worker).
Comment 3•7 years ago
|
||
I think that's a UI issue. I wrote the hooks UI and it's not great. Sorry about that.
What happens when you try to run the task?
Comment 4•7 years ago
|
||
This will be addressed in the ongoing UI refactor (to use material design). Eli and Hassan are going to correct my awful implementation.
Updated•7 years ago
|
Whiteboard: taskcluster-web
Comment 5•6 years ago
|
||
Sebastian, did you figure this out? It's really just bad UI, I think there's some extra button to click. If not, I can definitely take care of it for you -- just ping me.
Flags: needinfo?(s.kaspari)
Reporter | ||
Comment 6•6 years ago
|
||
Yeah, we were able to create the hook (and others). :)
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(s.kaspari)
Resolution: --- → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Component: Tools → UI and Tools
You need to log in
before you can comment on or make changes to this bug.
Description
•