Bug 1547111: Remove incorrect GCP sccache scope; r=Callek

The scopes that are used are managed by the
`project:taskcluster:{trust_domain}:level-{level}-sccache-buckets`
role that is added a few lines above.

Differential Revision: https://phabricator.services.mozilla.com/D60710

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tom Prince 2020-01-22 18:08:53 +00:00
Родитель f9d5d6db51
Коммит d24c9c2449
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -539,11 +539,6 @@ def build_docker_worker_payload(config, task, task_def):
trust_domain=config.graph_config['trust-domain'],
level=config.params['level'])
)
task_def['scopes'].append(
'auth:gcp:access-token:{project}/tc-l{level}*'.format(
project=SCCACHE_GCS_PROJECT,
level=config.params['level'])
)
worker['env']['USE_SCCACHE'] = '1'
worker['env']['SCCACHE_GCS_PROJECT'] = SCCACHE_GCS_PROJECT
# Disable sccache idle shutdown.