Closed
Bug 1299130
Opened 9 years ago
Closed 9 years ago
Don't build docker image on every push
Categories
(NSS :: Test, defect)
NSS
Test
Tracking
(Not tracked)
RESOLVED
FIXED
3.27
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 file)
6.51 KB,
patch
|
franziskus
:
review+
|
Details | Diff | Splinter Review |
We unfortunately have to implement caching ourselves, the decision task needs to check whether a task for the given context hash exists and completed successfully, and then point to that task id.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
Here's the first run with the task indexed:
https://treeherder.mozilla.org/#/jobs?repo=nss-try&revision=169f95b53526e5cbe4680f70025803b76432ce9a
Here's the second picking up the docker image of the first:
https://treeherder.mozilla.org/#/jobs?repo=nss-try&revision=4998580195dc67e991aa1e8b37b9ce871c991f3c
Assignee | ||
Comment 2•9 years ago
|
||
This checks with the TC API first if there's a docker image, and if so uses it without adding a new image builder task. In case of any failure it falls back to simply adding a task.
Attachment #8786724 -
Flags: review?(franziskuskiefer)
Comment 3•9 years ago
|
||
Comment on attachment 8786724 [details] [diff] [review]
0001-Bug-1299130-Don-t-build-docker-image-on-every-push.patch
Review of attachment 8786724 [details] [diff] [review]:
-----------------------------------------------------------------
::: automation/taskcluster/graph/image_builder.js
@@ +74,5 @@
> return task;
> }
>
> +// Returns a Promise<bool> that tells whether the task with the given id
> +// has an public/image.tar artifact with a ready-to-use docker image.
a public
Attachment #8786724 -
Flags: review?(franziskuskiefer) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.27
You need to log in
before you can comment on or make changes to this bug.
Description
•