Closed
Bug 1191991
Opened 11 years ago
Closed 10 years ago
Make tc-vcs cache warming happen on a schedule
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: selenamarie, Assigned: selenamarie)
Details
Attachments
(1 file, 1 obsolete file)
We have a shell script that can warm caches. Cleaning this up and putting it on a schedule.
| Assignee | ||
Comment 1•11 years ago
|
||
Got a test run in Heroku, but only 14 of the 33 tasks were launched. Have some bad theories about why, but nothing definitive.
Assignee: nobody → sdeckelmann
| Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Until we have a taskcluster scheduler piece, it might be worth looking at RelEng's "Bad Penny" RelEngAPI periodic scheduling service:
https://api.pub.build.mozilla.org/docs/deployment/badpenny/
https://github.com/mozilla/build-relengapi/blob/master/relengapi/lib/badpenny.py
Might be worth chatting with Dustin about - I'm not sure what else is running in Bad Penny, but if this is mozilla-specific (i.e. an integration piece that should not live inside taskcluster) this might be a good candidate. If it is something generic for taskcluster, we probably shouldn't depend on RelEngAPI, as atm Taskcluster is a relatively standalone-tool.
NI'ing Jonas for his input too.
Pete
Flags: needinfo?(jopsen)
Comment 4•11 years ago
|
||
@pmoore,
I'm not sure it's clear in bug 1149789 (taskcluster-hooks) but I think adding an
optional "schedule" property would be fine. So that is where I would put periodic tasks.
Well, actually I would put a trigger-task in hooks, and then have that trigger-tasks
clone hg and use in-tree configuration to decide when to run what tasks. Then run the
trigger-tasks maybe 4 times a day.
Flags: needinfo?(jopsen)
| Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8646754 -
Attachment is obsolete: true
Attachment #8695518 -
Flags: review?(garndt)
| Assignee | ||
Comment 6•10 years ago
|
||
Reocurring task scheduled for non-emulator repos: https://tools.taskcluster.net/hooks/#taskcluster/tc-vcs-refresh
| Assignee | ||
Comment 7•10 years ago
|
||
Automated runs are working! https://tools.taskcluster.net/task-inspector/#d4qYz0RsQPSmCRjwcO1hpw/0 and task-graph: https://tools.taskcluster.net/task-graph-inspector/#XNU0Ye73RVWcBeHXWhoBkg/
Comment 8•10 years ago
|
||
Comment on attachment 8695518 [details] [review]
https://github.com/taskcluster/taskcluster-vcs/pull/44
Left some comments in the PR, but all of them really are just suggestions and even if it landed as is wouldn't be a problem.
Attachment #8695518 -
Flags: review?(garndt) → review+
| Assignee | ||
Comment 9•10 years ago
|
||
This happened! This is scheduled and visible in tools.taskcluster.net/hooks
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Integration → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•