Closed Bug 1191991 Opened 11 years ago Closed 10 years ago

Make tc-vcs cache warming happen on a schedule

Categories

(Taskcluster :: Services, defect)

defect
Not set
normal

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.
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
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)
@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)
Attachment #8646754 - Attachment is obsolete: true
Attachment #8695518 - Flags: review?(garndt)
Reocurring task scheduled for non-emulator repos: https://tools.taskcluster.net/hooks/#taskcluster/tc-vcs-refresh
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+
This happened! This is scheduled and visible in tools.taskcluster.net/hooks
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: Integration → Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: