Bug 1436977 Disable partials diff caching for macosx r=rail draft
authorSimon Fraser <sfraser@mozilla.com>
Tue, 13 Feb 2018 10:42:05 +0000
changeset 754405 eacbf3c070444302ab441d36a79e721327802453
parent 754399 38b3c1d03a594664c6b32c35533734283c258f43
push id98838
push usersfraser@mozilla.com
push dateTue, 13 Feb 2018 10:42:39 +0000
reviewersrail
bugs1436977
milestone60.0a1
Bug 1436977 Disable partials diff caching for macosx r=rail MozReview-Commit-ID: i1oe7foWam
taskcluster/taskgraph/transforms/partials.py
--- a/taskcluster/taskgraph/transforms/partials.py
+++ b/taskcluster/taskgraph/transforms/partials.py
@@ -142,19 +142,23 @@ def make_task_description(config, jobs):
 
         task = {
             'label': label,
             'description': "{} Partials".format(
                 dep_job.task["metadata"]["description"]),
             'worker-type': 'aws-provisioner-v1/gecko-%s-b-linux' % level,
             'dependencies': dependencies,
             'scopes': [
-                'secrets:get:project/releng/gecko/build/level-%s/datadog-api-key' % level,
-                'auth:aws-s3:read-write:tc-gp-private-1d-us-east-1/releng/mbsdiff-cache/'
+                'secrets:get:project/releng/gecko/build/level-%s/datadog-api-key' % level
             ],
             'attributes': attributes,
             'run-on-projects': dep_job.attributes.get('run_on_projects'),
             'treeherder': treeherder,
             'extra': extra,
             'worker': worker,
         }
 
+        # We only want caching on linux/windows due to bug 1436977
+        if any([platform in dep_th_platform for platform in ['linux', 'windows']]):
+            task['scopes'].append(
+                'auth:aws-s3:read-write:tc-gp-private-1d-us-east-1/releng/mbsdiff-cache/')
+
         yield task