Bug 1546801: [firefox-ci] Do not enable taskcluster proxy on g-w for non-internal tooltool downloads; r=dustin a=tomprince CLOSED TREE
authorTom Prince <mozilla@hocat.ca>
Sun, 10 Nov 2019 02:53:31 +0200
changeset 501364 7a75cab3dd550b77ba4f748b31c1b45ce2784c84
parent 501363 4314b9f7e9923820472d33436673407eb3348242
child 501365 33f64c1ef3e40dc619c5eb8e43c5967959f57b29
push id114168
push userdluca@mozilla.com
push dateSun, 10 Nov 2019 03:08:55 +0000
treeherdermozilla-inbound@33f64c1ef3e4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin, tomprince
bugs1546801
milestone72.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 1546801: [firefox-ci] Do not enable taskcluster proxy on g-w for non-internal tooltool downloads; r=dustin a=tomprince CLOSED TREE generic-worker uses localhost:8080 for the taskcluster proxy. Many jobs, including raptor also try to use that port. Disable using the proxy when only public tooltool downloads were requested, since this was how thing were configured before. Differential Revision: https://phabricator.services.mozilla.com//D52478
taskcluster/taskgraph/transforms/job/common.py
--- a/taskcluster/taskgraph/transforms/job/common.py
+++ b/taskcluster/taskgraph/transforms/job/common.py
@@ -225,16 +225,18 @@ def add_tooltool(config, job, taskdesc, 
     if job['worker']['implementation'] in ('docker-worker',):
         level = config.params['level']
         add_cache(job, taskdesc, 'tooltool-cache'.format(level),
                   '{workdir}/tooltool-cache'.format(**job['run']))
 
         taskdesc['worker'].setdefault('env', {}).update({
             'TOOLTOOL_CACHE': '{workdir}/tooltool-cache'.format(**job['run']),
         })
+    elif not internal:
+        return
 
     taskdesc['worker']['taskcluster-proxy'] = True
     taskdesc['scopes'].extend([
         'project:releng:services/tooltool/api/download/public',
     ])
 
     if internal:
         taskdesc['scopes'].extend([