Bug 1236655 - Use builder 0.5.11 image for decision tasks r=wcosta draft
authorGregory Arndt <garndt@mozilla.com>
Fri, 15 Jan 2016 11:45:34 -0600
changeset 322037 dc88e8ac52ee68472cfbd3702d1e437a48681556
parent 322036 e3e01d516d416990aca4a69f5885024b52849cef
child 513025 a8b935ec7abce51bef3ae4e2a193ac5433e0701b
push id9522
push usergarndt@mozilla.com
push dateFri, 15 Jan 2016 17:51:43 +0000
reviewerswcosta
bugs1236655
milestone46.0a1
Bug 1236655 - Use builder 0.5.11 image for decision tasks r=wcosta
testing/taskcluster/tasks/decision/branch.yml
testing/taskcluster/tasks/decision/try.yml
--- a/testing/taskcluster/tasks/decision/branch.yml
+++ b/testing/taskcluster/tasks/decision/branch.yml
@@ -48,34 +48,35 @@ tasks:
         cache:
           # The taskcluster-vcs tooling stores the large clone caches in this
           # directory and will reuse them for new requests this saves about 20s~ and
           # is the most generic cache possible.
           tc-vcs-public-sources: '/home/worker/.tc-vcs/'
 
         # Note: This task is built server side without the context or tooling that
         # exist in tree so we must hard code the version
-        image: 'quay.io/mozilla/builder:0.3.0'
+        image: 'taskcluster/builder:0.5.11'
 
         # Virtually no network or other potentially risky operations happen as part
         # of the task timeout aside from the initial clone. We intentionally have
         # set this to a lower value _all_ decision tasks should use a root
         # repository which is cached.
         maxRunTime: 1800
 
         command:
           - /bin/bash
           - -cx
           - >
-            source ./bin/decision.sh &&
             mkdir -p /home/worker/artifacts &&
+            checkout-gecko workspace &&
+            cd workspace/gecko &&
             ./mach taskcluster-graph
             --pushlog-id='{{pushlog_id}}'
+            --project='{{project}}'
             --message='{{comment}}'
-            --project='{{project}}'
             --owner='{{owner}}'
             --revision-hash='{{revision_hash}}'
             --extend-graph > /home/worker/artifacts/graph.json
         graphs:
           - /home/worker/artifacts/graph.json
         artifacts:
           'public':
             type: 'directory'
--- a/testing/taskcluster/tasks/decision/try.yml
+++ b/testing/taskcluster/tasks/decision/try.yml
@@ -54,17 +54,17 @@ tasks:
           # The taskcluster-vcs tooling stores the large clone caches in this
           # directory and will reuse them for new requests this saves about 20s~ and
           # is the most generic cache possible.
           tc-vcs-public-sources: /home/worker/.tc-vcs/
           gecko-decision: /home/worker/workspace
 
         # Note: This task is built server side without the context or tooling that
         # exist in tree so we must hard code the version
-        image: 'quay.io/mozilla/builder:0.5.0'
+        image: 'taskcluster/builder:0.5.11'
 
         # Virtually no network or other potentially risky operations happen as part
         # of the task timeout aside from the initial clone. We intentionally have
         # set this to a lower value _all_ decision tasks should use a root
         # repository which is cached.
         maxRunTime: 1800
 
         command: