Bug 1234076 - upgrade tc-vcs to 2.3.17 r=wcosta draft
authorGregory Arndt <garndt@mozilla.com>
Mon, 14 Dec 2015 11:57:46 -0500
changeset 317927 d2bb3dfe586b30537e468c49f695f577fbdace15
parent 317926 fec886be4bc7c06b429aa5e4874e6c5c15a899c5
child 512377 233d685954af15a38347158b888c7700e54f6d13
push id8784
push usergarndt@mozilla.com
push dateTue, 29 Dec 2015 17:40:07 +0000
reviewerswcosta
bugs1234076
milestone46.0a1
Bug 1234076 - upgrade tc-vcs to 2.3.17 r=wcosta
testing/docker/builder/Dockerfile
testing/docker/builder/REGISTRY
testing/docker/builder/VERSION
testing/taskcluster/tasks/build.yml
testing/taskcluster/tasks/builds/b2g_base.yml
testing/taskcluster/tasks/builds/b2g_desktop_base.yml
testing/taskcluster/tasks/post-builds/mulet_simulator.yml
--- a/testing/docker/builder/Dockerfile
+++ b/testing/docker/builder/Dockerfile
@@ -17,16 +17,16 @@ RUN hg clone http://hg.mozilla.org/build
       cd /tools/tools && \
       python setup.py install
 
 # Initialize git (makes repo happy)
 RUN git config --global user.email "mozilla@example.com" && \
     git config --global user.name "mozilla"
 
 # VCS Tools
-RUN npm install -g taskcluster-vcs@2.3.12
+RUN npm install -g taskcluster-vcs@2.3.17
 
 # TODO enable worker
 # TODO volume mount permissions will be an issue
 # USER worker
 
 COPY bin /home/worker/bin
 RUN chmod a+x /home/worker/bin/*
deleted file mode 100644
--- a/testing/docker/builder/REGISTRY
+++ /dev/null
@@ -1,2 +0,0 @@
-taskcluster
-
deleted file mode 100644
--- a/testing/docker/builder/VERSION
+++ /dev/null
@@ -1,1 +0,0 @@
-0.5.9
--- a/testing/taskcluster/tasks/build.yml
+++ b/testing/taskcluster/tasks/build.yml
@@ -21,18 +21,16 @@ task:
     - 'index.gecko.v1.{{project}}.revision.linux.{{head_rev}}.{{build_name}}.{{build_type}}'
     - 'index.gecko.v1.{{project}}.latest.linux.{{build_name}}.{{build_type}}'
   scopes:
     # Nearly all of our build tasks use tc-vcs so just include the scope across
     # the board.
     - 'docker-worker:cache:tc-vcs'
 
   payload:
-    image: '{{#docker_image}}builder{{/docker_image}}'
-
     # Two hours is long but covers edge cases (and matches bb based infra)
     maxRunTime: 7200
 
     cache:
       tc-vcs: '/home/worker/.tc-vcs'
 
     # All builds share a common artifact directory for ease of uploading.
     artifacts:
--- a/testing/taskcluster/tasks/builds/b2g_base.yml
+++ b/testing/taskcluster/tasks/builds/b2g_base.yml
@@ -1,9 +1,14 @@
 $inherits:
   from: 'tasks/build.yml'
   variables:
     build_product: 'b2g'
 task:
+  payload:
+    image:
+      type: 'task-image'
+      path: 'public/image.tar'
+      taskId: '{{#task_id_for_image}}builder{{/task_id_for_image}}'
   extra:
     locations:
       test_packages: 'public/build/test_packages.json'
       mozharness: 'public/build/mozharness.zip'
--- a/testing/taskcluster/tasks/builds/b2g_desktop_base.yml
+++ b/testing/taskcluster/tasks/builds/b2g_desktop_base.yml
@@ -6,21 +6,16 @@ task:
     description: B2G Desktop {{build_type}}
 
   workerType: b2gbuild-desktop
   payload:
     env:
       MOZCONFIG: 'b2g/config/mozconfigs/linux64_gecko/nightly'
       TOOLTOOL_MANIFEST: 'b2g/config/tooltool-manifests/linux64/releng.manifest'
 
-    image:
-      type: 'task-image'
-      path: 'public/image.tar'
-      taskId: '{{#task_id_for_image}}builder{{/task_id_for_image}}'
-
     command:
       - /bin/bash
       - -c
       - >
         checkout-gecko workspace &&
         cd ./workspace/gecko/testing/taskcluster/scripts/builder &&
         buildbot_step 'Build' ./build-b2g-desktop.sh $HOME/workspace
 
--- a/testing/taskcluster/tasks/post-builds/mulet_simulator.yml
+++ b/testing/taskcluster/tasks/post-builds/mulet_simulator.yml
@@ -19,17 +19,20 @@ task:
 
   routes:
     - 'index.gecko.v1.{{project}}.latest.simulator.{{build_type}}'
 
   scopes:
     - 'docker-worker:cache:tc-vcs'
 
   payload:
-    image: '{{#docker_image}}builder{{/docker_image}}'
+    image:
+      type: 'task-image'
+      path: 'public/image.tar'
+      taskId: '{{#task_id_for_image}}builder{{/task_id_for_image}}'
 
     maxRunTime: 600
 
     command:
       - /bin/bash
       - -exc
       - >
         tc-vcs checkout ./gecko {{base_repository}} {{head_repository}} {{head_rev}} {{head_ref}} &&