Closed
Bug 1112915
Opened 10 years ago
Closed 10 years ago
[fxos-automation] Create docker image to handle npm caching.
Categories
(Taskcluster :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jlal, Unassigned)
References
Details
(Whiteboard: [fxos-automation])
The approach I am going to take here looks like this:
- The "extra" category will be used to specify the npm package.json
- Index service will be used but explicitly rather then via routes so we can ensure read-after-create consistency.
- The image itself will decide how to name the index based on a combination of the hash of the package.json + node major version (0.10 vs 0.12, etc...) + os
- The image itself will perform some sanity validation as needed (and generally disallow configuration aside from what is defined in extra)
Reporter | ||
Comment 1•10 years ago
|
||
not actively working on this but aus is doing stuff
Aus you want to assign yourself?
Assignee: jlal → nobody
Flags: needinfo?(aus)
Comment 2•10 years ago
|
||
Yep, I'll end up taking care of this. I don't know that we have the ability to generate docker images on the fly right now though, isn't this something we'd need first to get this done in an ideal manner?
I was envisioning this as our end game -- we'll have a taskgraph we can run to generate what's required to get to a buildable + testable state (update repo to desired revision, update npm cache, run npm install). At this point, we could generate a new docker image that will be used to run the build + test steps. This image will be able to assume it doesn't require any updates, it can skip directly to building the gaia profile and running the test chunks it's responsible for. I'll create a meta bug to track this task and others like it for optimizing build/test run times.
Adding the npm cache task is tracked in bug 1141792.
Flags: needinfo?(aus)
Summary: create docker image to handle npm caching. → [fxos-automation] Create docker image to handle npm caching.
Whiteboard: [fxos-automation]
Comment 3•10 years ago
|
||
This is fixed. We've landed an npm-cache docker worker image a while back. Just forgot to close this.
see hub.docker.com -- taskcluster/npm-cache
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Component: TaskCluster → General
Product: Testing → Taskcluster
Target Milestone: --- → mozilla41
Version: unspecified → Trunk
Comment 4•10 years ago
|
||
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•