Closed
Bug 1128414
Opened 11 years ago
Closed 10 years ago
Add conditional caching step prior to running builds.
Categories
(Taskcluster :: UI, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jlal, Unassigned)
Details
Recently tc-vcs has gotten a lot of love and is at the point where it can not only easily clone/cache git/hg/git-repo based projects but also cache them in relatively optimized ways (for example I measured cloning [with remote caches] emulator-kk from a cold state at 1min 30s on r3 instance). To fully utilize this we should implement a "caching" phase which will optionally happen (and block the builds from running) when a cache is not available.
The caching model I intend on implementing here is like this:
- a custom namespace will be used _per_ worker-type (for future security proofing)
- the caching task will upload artifacts using tc-vcs's create-[repo|clone]-cache mechanisms but only be scheduled if an artifact cannot be found from the index (most tasks should be very fast but some will take time to cache)
- implement it in a "pluggable" way so we can run other tasks based on their namespace in the pre-build caching phase.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → jlal
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•11 years ago
|
||
This is a little to complex in it's current form to implement easily for now I have deployed caches manually which serves well enough... We can improve this with periodic jobs.
Assignee: jlal → nobody
No longer blocks: 1080265
Updated•10 years ago
|
Component: TaskCluster → General
Product: Testing → Taskcluster
Updated•10 years ago
|
Assignee: nobody → selenamarie
Component: General → Tools
Comment 2•10 years ago
|
||
Looks like it was decided to just make caching a little easier and scheduled, which is the work Selena has been working on.
Updated•10 years ago
|
Assignee: selenamarie → nobody
Status: ASSIGNED → NEW
Comment 3•10 years ago
|
||
We've decided to move this work into the decision task long term.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•7 years ago
|
Component: Tools → UI and Tools
You need to log in
before you can comment on or make changes to this bug.
Description
•