Bug 1334402 - Don't use sccache in taskcluster builds r?gmierz2+560562 draft
authorMitchell Hentges <mitch9654@gmail.com>
Fri, 27 Jan 2017 00:21:32 -0800
changeset 467867 76cf0143e6541d57f0c7e42b23c55a321e3b9f08
parent 467095 1e0e193b0812f68a12fbd69198552af62347af1e
child 543787 e873e58366acb8f106126a1b11e2d17229519dcd
push id43286
push userbmo:mitch9654@gmail.com
push dateMon, 30 Jan 2017 06:03:51 +0000
reviewersgmierz2
bugs1334402, 560562
milestone54.0a1
Bug 1334402 - Don't use sccache in taskcluster builds r?gmierz2+560562 MozReview-Commit-ID: JDldupP7fZN
taskcluster/ci/build/linux.yml
taskcluster/taskgraph/transforms/task.py
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -322,16 +322,17 @@ linux64-jsdcov/opt:
         tooltool-downloads: public
         need-xvfb: true
 
 linux64-ccov/opt:
     description: "Linux64-CCov Opt"
     index:
         product: firefox
         job-name: linux64-ccov-opt
+    needs-sccache: false
     treeherder:
         platform: linux64/ccov
         symbol: tc(B)
         tier: 2
     run-on-projects: [ ]
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         implementation: docker-worker
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -454,16 +454,18 @@ def build_docker_worker_payload(config, 
 
     if task.get('needs-sccache'):
         features['taskclusterProxy'] = True
         task_def['scopes'].append(
             'assume:project:taskcluster:level-{level}-sccache-buckets'.format(
                 level=config.params['level'])
         )
         worker['env']['USE_SCCACHE'] = '1'
+    else:
+        worker['env']['SCCACHE_DISABLE'] = '1'
 
     capabilities = {}
 
     for lo in 'audio', 'video':
         if worker.get('loopback-' + lo):
             capitalized = 'loopback' + lo.capitalize()
             devices = capabilities.setdefault('devices', {})
             devices[capitalized] = True