Backed out 3 changesets (bug 1637544) for causing gecko decision task bustages.

CLOSED TREE

Backed out changeset 93b955e5c048 (bug 1637544)
Backed out changeset be0717d76643 (bug 1637544)
Backed out changeset 447fea64b68d (bug 1637544)
This commit is contained in:
Mihai Alexandru Michis 2020-07-07 19:31:41 +03:00
Родитель 76475c8adb
Коммит 5acb93239f
14 изменённых файлов: 8 добавлений и 109 удалений

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

@ -60,7 +60,6 @@ android-api-16/debug:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: api-16-debug
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -84,7 +83,6 @@ android-x86/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: x86
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -105,7 +103,6 @@ android-x86-fuzzing/debug:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: x86-fuzzing-debug
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -160,7 +157,6 @@ android-api-16/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: api-16
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -214,7 +210,6 @@ android-aarch64/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: aarch64
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -238,7 +233,6 @@ android-aarch64/debug:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: aarch64-debug
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -292,7 +286,6 @@ android-x86_64/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: x86_64
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -344,7 +337,6 @@ android-x86_64/debug:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: x86_64-debug
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -370,7 +362,6 @@ android-api-16-gcp/debug:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: api-16-debug
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -398,7 +389,6 @@ android-x86-gcp/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: x86
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -425,7 +415,6 @@ android-api-16-gcp/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: api-16
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -452,7 +441,6 @@ android-aarch64-gcp/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: aarch64
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -479,7 +467,6 @@ android-aarch64-gcp/debug:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: aarch64-debug
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -506,7 +493,6 @@ android-x86_64-gcp/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: x86_64
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -554,7 +540,6 @@ android-x86_64-asan-fuzzing/opt:
actions: [get-secrets, build]
config: ["builds/releng_base_android_64_builds.py"]
custom-build-variant-cfg: x86_64-fuzzing-asan
use-sccache: true
fetches:
toolchain:
- linux64-clang-android-cross

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

@ -29,7 +29,6 @@ linux64/opt:
tooltool-downloads: public
need-xvfb: true
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -111,7 +110,6 @@ linux64-fuzzing/debug:
mozconfig-variant: debug-fuzzing
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -158,7 +156,6 @@ linux64/debug:
mozconfig-variant: debug
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -340,7 +337,6 @@ linux64-base-toolchains/opt:
secrets: true
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-clang-5.0
@ -383,7 +379,6 @@ linux64-base-toolchains/debug:
mozconfig-variant: debug
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-clang-5.0
@ -507,7 +502,6 @@ linux/opt:
tooltool-downloads: public
need-xvfb: true
run-on-projects: ['release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -548,7 +542,6 @@ linux/debug:
tooltool-downloads: public
need-xvfb: true
run-on-projects: ['release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -594,7 +587,6 @@ linux-rusttests/opt:
tooltool-downloads: public
keep-artifacts: false
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -635,7 +627,6 @@ linux-rusttests/debug:
tooltool-downloads: public
keep-artifacts: false
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -811,7 +802,6 @@ linux64-asan/opt:
mozconfig-variant: nightly-asan
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -851,7 +841,6 @@ linux64-tsan/opt:
mozconfig-variant: tsan
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -894,7 +883,6 @@ linux64-tsan-fuzzing/opt:
mozconfig-variant: tsan-fuzzing
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -940,7 +928,6 @@ linux64-asan-fuzzing/opt:
mozconfig-variant: nightly-fuzzing-asan
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -986,7 +973,6 @@ linux64-asan-fuzzing-ccov/opt:
mozconfig-variant: asan-fuzzing-ccov
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1029,7 +1015,6 @@ linux64-fuzzing-ccov/opt:
mozconfig-variant: fuzzing-ccov
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -1123,7 +1108,6 @@ linux64-asan/debug:
mozconfig-variant: debug-asan
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1214,7 +1198,6 @@ linux64-noopt/debug:
keep-artifacts: false
need-xvfb: true
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1259,7 +1242,6 @@ linux64-rusttests/opt:
tooltool-downloads: public
keep-artifacts: false
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1299,7 +1281,6 @@ linux64-rusttests/debug:
tooltool-downloads: public
keep-artifacts: false
run-on-projects: ['trunk']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1346,7 +1327,6 @@ linux64-ccov/opt:
mozconfig-variant: code-coverage-opt
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -1385,7 +1365,6 @@ linux64-add-on-devel/opt:
tooltool-downloads: public
need-xvfb: true
run-on-projects: ['mozilla-beta', 'mozilla-release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1427,7 +1406,6 @@ linux64-aarch64/opt:
mozconfig-variant: opt
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1472,7 +1450,6 @@ linux-gcp/debug:
tooltool-downloads: public
need-xvfb: true
run-on-projects: ['release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1520,7 +1497,6 @@ linux-gcp/opt:
tooltool-downloads: public
need-xvfb: true
run-on-projects: ['release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1562,7 +1538,6 @@ linux64-gcp/debug:
mozconfig-variant: debug
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1609,7 +1584,6 @@ linux64-gcp/opt:
tooltool-downloads: public
need-xvfb: true
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils

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

@ -31,7 +31,6 @@ macosx64/debug:
custom-build-variant-cfg: cross-debug
mozconfig-variant: debug
tooltool-downloads: internal
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -77,7 +76,6 @@ macosx64/opt:
secrets: true
tooltool-downloads: internal
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -121,7 +119,6 @@ macosx64-asan-fuzzing/opt:
custom-build-variant-cfg: cross-fuzzing-asan
mozconfig-variant: nightly-fuzzing-asan
tooltool-downloads: internal
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -169,7 +166,6 @@ macosx64-fuzzing/debug:
custom-build-variant-cfg: cross-fuzzing-debug
mozconfig-variant: debug-fuzzing
tooltool-downloads: internal
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -270,7 +266,6 @@ macosx64-noopt/debug:
tooltool-downloads: internal
keep-artifacts: false
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -315,7 +310,6 @@ macosx64-add-on-devel/opt:
mozconfig-variant: add-on-devel
tooltool-downloads: internal
run-on-projects: ['mozilla-beta', 'mozilla-release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -411,7 +405,6 @@ macosx64-ccov/opt:
mozconfig-variant: code-coverage
tooltool-downloads: internal
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -458,7 +451,6 @@ macosx64-gcp/debug:
custom-build-variant-cfg: cross-debug
mozconfig-variant: debug
tooltool-downloads: internal
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -506,7 +498,6 @@ macosx64-gcp/opt:
secrets: true
tooltool-downloads: internal
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils

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

@ -35,7 +35,6 @@ win32-mingwclang/opt:
- builds/releng_sub_windows_configs/32_mingwclang.py
mozconfig-variant: mingwclang
run-on-projects: ['mozilla-central', 'mozilla-esr68', 'mozilla-esr78']
use-sccache: true
fetches:
toolchain:
- mingw32-rust
@ -69,7 +68,6 @@ win32-mingwclang/debug:
- builds/releng_sub_windows_configs/32_mingwclang.py
mozconfig-variant: mingwclang-debug
run-on-projects: ['mozilla-central', 'mozilla-esr68', 'mozilla-esr78']
use-sccache: true
fetches:
toolchain:
- mingw32-rust
@ -103,7 +101,6 @@ win64-mingwclang/opt:
- builds/releng_sub_windows_configs/64_mingwclang.py
mozconfig-variant: mingwclang
run-on-projects: ['mozilla-central', 'mozilla-esr68', 'mozilla-esr78']
use-sccache: true
fetches:
toolchain:
- mingw32-rust
@ -137,7 +134,6 @@ win64-mingwclang/debug:
- builds/releng_sub_windows_configs/64_mingwclang.py
mozconfig-variant: mingwclang-debug
run-on-projects: ['mozilla-central', 'mozilla-esr68', 'mozilla-esr78']
use-sccache: true
fetches:
toolchain:
- mingw32-rust

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

@ -45,7 +45,6 @@ win32/debug:
env:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -98,7 +97,6 @@ win32/opt:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -151,7 +149,6 @@ win64/debug:
env:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -198,7 +195,6 @@ win64-fuzzing/debug:
- builds/taskcluster_sub_win64/debug.py
mozconfig-variant: debug-fuzzing
run-on-projects: ['trunk']
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -289,7 +285,6 @@ win64/opt:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -499,7 +494,6 @@ win32-add-on-devel/opt:
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
mozconfig-variant: add-on-devel
run-on-projects: ['mozilla-beta', 'mozilla-release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -549,7 +543,6 @@ win64-add-on-devel/opt:
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
mozconfig-variant: add-on-devel
run-on-projects: ['mozilla-beta', 'mozilla-release']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -599,7 +592,6 @@ win64-noopt/debug:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -649,7 +641,6 @@ win32-noopt/debug:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -698,7 +689,6 @@ win32-rusttests/opt:
disable_package_metrics: true
mozconfig-variant: rusttests
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -739,7 +729,6 @@ win32-rusttests/debug:
disable_package_metrics: true
mozconfig-variant: rusttests-debug
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -777,7 +766,6 @@ win64-rusttests/opt:
- builds/taskcluster_sub_win64/rusttests_opt.py
mozconfig-variant: rusttests
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -815,7 +803,6 @@ win64-rusttests/debug:
- builds/taskcluster_sub_win64/rusttests_opt.py
mozconfig-variant: rusttests-debug
run-on-projects: ['trunk']
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -859,7 +846,6 @@ win64-ccov/opt:
- builds/taskcluster_sub_win64/ccov_opt.py
mozconfig-variant: code-coverage
run-on-projects: ['mozilla-central']
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -897,7 +883,6 @@ win64-asan/debug:
- builds/taskcluster_base_win64.py
- builds/taskcluster_sub_win64/asan_debug.py
mozconfig-variant: debug-asan
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -942,7 +927,6 @@ win64-asan/opt:
extra-config:
stage_platform: win64-asan
mozconfig-variant: nightly-asan
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -1029,7 +1013,6 @@ win64-asan-fuzzing/opt:
extra-config:
stage_platform: win64-fuzzing-asan
mozconfig-variant: nightly-fuzzing-asan
use-sccache: true
fetches:
toolchain:
- win64-clang-cl
@ -1200,7 +1183,6 @@ win64-aarch64/debug:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.9.6"
mozconfig-variant: debug
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -1259,7 +1241,6 @@ win64-aarch64/opt:
env:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.9.6"
use-sccache: true
fetches:
toolchain:
- linux64-binutils

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

@ -29,13 +29,6 @@ job-defaults:
actions: [get-secrets, build]
script: mozharness/scripts/fx_desktop_build.py
secrets: true
use-sccache:
by-release-level:
production: false
staging: true
fetches:
toolchain:
- linux64-sccache
jobs:
linux-shippable/opt:

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

@ -131,7 +131,6 @@ jobs:
env:
LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4"
use-sccache: true
fetches:
toolchain:
- linux64-binutils
@ -175,7 +174,6 @@ jobs:
secrets: true
custom-build-variant-cfg: api-16-debug-searchfox
tooltool-downloads: internal
use-sccache: true
fetches:
toolchain:
- android-gradle-dependencies

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

@ -54,7 +54,6 @@ jobs:
- builds/releng_sub_linux_configs/64_stat_and_debug.py
tooltool-downloads: public
keep-artifacts: false
use-sccache: true
fetches:
toolchain:
- linux64-clang
@ -88,7 +87,6 @@ jobs:
tooltool-downloads: internal
extra-config:
mozconfig_variant: debug
use-sccache: true
fetches:
toolchain:
- win64-clang-cl

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

@ -21,7 +21,6 @@ clang-dist-toolchain:
run:
arguments: ['clang']
toolchain-artifact: public/build/clang-dist-toolchain.tar.xz
use-sccache: true
fetches:
toolchain:
- linux64-clang-9
@ -35,7 +34,6 @@ rustc-dist-toolchain:
run:
arguments: ['rustc']
toolchain-artifact: public/build/rustc-dist-toolchain.tar.xz
use-sccache: true
fetches:
toolchain:
- linux64-rust-cross-1.41

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

@ -45,7 +45,6 @@ jobs:
secrets: true
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils

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

@ -167,16 +167,6 @@ def use_profile_data(config, jobs):
yield job
@transforms.add
def resolve_keys(config, jobs):
for job in jobs:
resolve_keyed_by(
job, 'use-sccache', item_name=job['name'],
**{'release-level': config.params.release_level()}
)
yield job
@transforms.add
def enable_full_crashsymbols(config, jobs):
"""Enable full crashsymbols on jobs with

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

@ -67,7 +67,7 @@ job_description_schema = Schema({
Optional('shipping-product'): task_description_schema['shipping-product'],
Optional('always-target'): task_description_schema['always-target'],
Exclusive('optimization', 'optimization'): task_description_schema['optimization'],
Optional('use-sccache'): task_description_schema['use-sccache'],
Optional('needs-sccache'): task_description_schema['needs-sccache'],
Optional('release-artifacts'): task_description_schema['release-artifacts'],
Optional('priority'): task_description_schema['priority'],
@ -211,7 +211,6 @@ def use_fetches(config, jobs):
dependencies = job.setdefault('dependencies', {})
worker = job.setdefault('worker', {})
prefix = get_artifact_prefix(job)
has_sccache = False
for kind, artifacts in fetches.items():
if kind in ('fetch', 'toolchain'):
for fetch_name in artifacts:
@ -231,7 +230,7 @@ def use_fetches(config, jobs):
})
if kind == 'toolchain' and fetch_name.endswith('-sccache'):
has_sccache = True
job['needs-sccache'] = True
else:
if kind not in dependencies:
raise Exception("{name} can't fetch {kind} artifacts because "
@ -280,9 +279,6 @@ def use_fetches(config, jobs):
fetch['dest'] = dest
job_fetches.append(fetch)
if job.get('use-sccache') and not has_sccache:
raise Exception("Must provide an sccache toolchain if using sccache.")
job_artifact_prefixes = {
mozpath.dirname(fetch["artifact"])
for fetch in job_fetches

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

@ -332,7 +332,7 @@ def mozharness_on_generic_worker(config, job, taskdesc):
"{}/third_party/python/six".format(env['GECKO_PATH']),
])
if taskdesc.get('use-sccache'):
if taskdesc.get('needs-sccache'):
worker['command'] = [
# Make the comment part of the first command, as it will help users to
# understand what is going on, and why these steps are implemented.

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

@ -214,7 +214,7 @@ task_description_schema = Schema({
'worker-type': text_type,
# Whether the job should use sccache compiler caching.
Required('use-sccache'): bool,
Required('needs-sccache'): bool,
# Set of artifacts relevant to release tasks
Optional('release-artifacts'): [text_type],
@ -489,7 +489,7 @@ def build_docker_worker_payload(config, task, task_def):
if worker.get('docker-in-docker'):
features['dind'] = True
if task.get('use-sccache'):
if task.get('needs-sccache'):
features['taskclusterProxy'] = True
task_def['scopes'].append(
'assume:project:taskcluster:{trust_domain}:level-{level}-sccache-buckets'.format(
@ -761,7 +761,7 @@ def build_generic_worker_payload(config, task, task_def):
env = worker.get('env', {})
if task.get('use-sccache'):
if task.get('needs-sccache'):
features['taskclusterProxy'] = True
task_def['scopes'].append(
'assume:project:taskcluster:{trust_domain}:level-{level}-sccache-buckets'.format(
@ -1391,8 +1391,8 @@ def build_script_engine_autophone_payload(config, task, task_def):
if worker.get('reboot'):
task_def['payload'] = worker['reboot']
if task.get('use-sccache'):
raise Exception('use-sccache not supported in taskcluster-worker')
if task.get('needs-sccache'):
raise Exception('needs-sccache not supported in taskcluster-worker')
transforms = TransformSequence()