Bug 1236655 - Use builder 0.5.11 image for decision tasks r=wcosta
authorGregory Arndt <garndt@mozilla.com>
Fri, 15 Jan 2016 11:45:34 -0600
changeset 280911 036360e2c9cdf32eb743e89e521b64a5fd054b7d
parent 280910 7f5fb063029b88e242bfa18451ee33d671762c77
child 280913 ba6b0a9497ee2b557aee1138552074cd450609f8
push id19389
push usergarndt@mozilla.com
push dateThu, 21 Jan 2016 13:56:05 +0000
treeherderb2g-inbound@036360e2c9cd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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.
           level-{{level}}-{{project}}-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}}'
             --level='{{level}}'
             --revision-hash='{{revision_hash}}'
             --extend-graph > /home/worker/artifacts/graph.json
         graphs:
           - /home/worker/artifacts/graph.json
         artifacts:
           'public':
--- 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.
           level-{{level}}-{{project}}-tc-vcs-public-sources: /home/worker/.tc-vcs/
           level-{{level}}-{{project}}-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: