Bug 1148941 - Use set in decision task vcs pull r=auswerk
☠☠ backed out by 6c11f1f4dd5d ☠ ☠
authorjlal@mozilla.com
Tue, 16 Jun 2015 14:58:39 -0700
changeset 279959 47ef6f3abc9f31c3ba782dc4b5e33d603f87379a
parent 279958 9ba890d2ba081ceea82be94530b3fafffa51b766
child 279960 242482cfabb27db2cce15507b67620501b64a051
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-beta@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersauswerk
bugs1148941
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1148941 - Use set in decision task vcs pull r=auswerk
testing/docker/builder/VERSION
testing/docker/builder/bin/decision.sh
testing/taskcluster/tasks/decision/branch.yml
testing/taskcluster/tasks/decision/try.yml
--- a/testing/docker/builder/VERSION
+++ b/testing/docker/builder/VERSION
@@ -1,1 +1,1 @@
-0.5.5
+0.6.0
new file mode 100755
--- /dev/null
+++ b/testing/docker/builder/bin/decision.sh
@@ -0,0 +1,20 @@
+set -ex
+
+DEST=/home/worker/source/gecko
+
+test $GECKO_BASE_REPOSITORY # e.g. https://hg.mozilla.org/mozilla-central
+test $GECKO_HEAD_REPOSITORY # e.g. https://hg.mozilla.org/try
+test $GECKO_HEAD_REF # <cset>
+test $GECKO_HEAD_REV # <cset>
+
+
+tc-vcs checkout $DEST \
+  $GECKO_BASE_REPOSITORY \
+  $GECKO_HEAD_REPOSITORY \
+  $GECKO_HEAD_REV \
+  $GECKO_HEAD_REF
+
+echo $?
+
+echo "At revision: $(tc-vcs revision $DEST)"
+cd $DEST
--- a/testing/taskcluster/tasks/decision/branch.yml
+++ b/testing/taskcluster/tasks/decision/branch.yml
@@ -49,17 +49,17 @@ 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.6.0'
 
         # 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:
--- 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.6.0'
 
         # 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: