Bug 1148817 - Use machine local pip caches r=me a=taskcluster-only
authorjlal@mozilla.com
Sat, 28 Mar 2015 12:50:09 -0700
changeset 236498 fc5d7263b1da409fe7488e83c9f626efbaaa8c8a
parent 236497 5a67281405a2cf66f1aadd5fde1a42b74763f911
child 236499 ee5a8ba64485c8ca5b200020c5ae307ecbf4dbfd
push id28511
push userkwierso@gmail.com
push dateTue, 31 Mar 2015 02:34:53 +0000
treeherdermozilla-central@8af276ab8636 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, taskcluster-only
bugs1148817
milestone39.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 1148817 - Use machine local pip caches r=me a=taskcluster-only
testing/taskcluster/tasks/test.yml
--- a/testing/taskcluster/tasks/test.yml
+++ b/testing/taskcluster/tasks/test.yml
@@ -11,21 +11,24 @@ task:
   provisionerId: aws-provisioner
   schedulerId: task-graph-scheduler
 
   scopes:
     - 'docker-worker:image:{{#docker_image}}tester{{/docker_image}}'
     - 'queue:define-task:aws-provisioner/test-c4-2xlarge'
     - 'queue:create-task:aws-provisioner/test-c4-2xlarge'
     - 'docker-worker:cache:tc-vcs'
+    - 'docker-worker:cache:linux-cache'
 
   payload:
     image: '{{#docker_image}}tester{{/docker_image}}'
     maxRunTime: 3600
     cache:
+      # So pip installs are cached...
+      linux-cache: /home/worker/.cache
       tc-vcs: '/home/worker/.tc-vcs'
     env:
       GAIA_HEAD_REPOSITORY: '{{{gaia_head_repository}}}'
       GAIA_BASE_REPOSITORY: '{{{gaia_base_repository}}}'
       GAIA_REF: '{{{gaia_ref}}}'
       GAIA_REV: '{{{gaia_rev}}}'
       MOZHARNESS_REPOSITORY: '{{mozharness_repository}}'
       MOZHARNESS_REV: '{{mozharness_rev}}'