Bug 1532236 Convert level into integer in partials transform r=mtabara
☠☠ backed out by 9fca85ee3084 ☠ ☠
authorSimon Fraser <sfraser@mozilla.com>
Tue, 05 Mar 2019 16:12:08 +0000
changeset 520268 ce3dfcdb58615574d7f7d19e863877311d933caf
parent 520267 72127702116cd18973ab501edfcb04bdc4cbe68a
child 520269 c151282e48a26172d4b162276b792a736b21de8d
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtabara
bugs1532236
milestone67.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 1532236 Convert level into integer in partials transform r=mtabara Differential Revision: https://phabricator.services.mozilla.com/D22108
taskcluster/taskgraph/transforms/partials.py
--- a/taskcluster/taskgraph/transforms/partials.py
+++ b/taskcluster/taskgraph/transforms/partials.py
@@ -150,13 +150,13 @@ def make_task_description(config, jobs):
             '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 level == 3 and any([platform in dep_th_platform for platform in ['linux', 'windows']]):
+        if int(level) == 3 and 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