Bug 1641131 - [taskgraph] Fix the 'push-interval-*' schema to not require an argument, r=jmaher

The Backstop optimization doesn't take any arguments, yet the schema for 'push-optimization-*'
requires a 'schedules-component' that goes ignored. Fix this.

Differential Revision: https://phabricator.services.mozilla.com/D77058
This commit is contained in:
Andrew Halberstadt 2020-05-29 14:48:07 +00:00
Родитель 1b2e865f8c
Коммит bd5660af34
11 изменённых файлов: 30 добавлений и 58 удалений

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

@ -363,8 +363,7 @@ android-api-16-gcp/debug:
- linux64-clang
- linux64-sccache
optimization:
push-interval-25:
- android
push-interval-25: null
android-x86-gcp/opt:
@ -391,8 +390,7 @@ android-x86-gcp/opt:
- linux64-clang
- linux64-sccache
optimization:
push-interval-25:
- android
push-interval-25: null
android-api-16-gcp/opt:
description: "Android 4.0 api-16+ Opt - built on GCP"
@ -418,8 +416,7 @@ android-api-16-gcp/opt:
- linux64-clang
- linux64-sccache
optimization:
push-interval-25:
- android
push-interval-25: null
android-aarch64-gcp/opt:
description: "Android 5.0 AArch64 Opt - built on GCP"
@ -445,8 +442,7 @@ android-aarch64-gcp/opt:
- linux64-clang
- linux64-sccache
optimization:
push-interval-25:
- android
push-interval-25: null
android-aarch64-gcp/debug:
description: "Android 5.0 AArch64 Debug - built on GCP"
@ -472,8 +468,7 @@ android-aarch64-gcp/debug:
- linux64-clang
- linux64-sccache
optimization:
push-interval-25:
- android
push-interval-25: null
android-x86_64-gcp/opt:
description: "Android 5.0 x86-64 Opt - built on GCP"
@ -499,8 +494,7 @@ android-x86_64-gcp/opt:
- linux64-clang
- linux64-sccache
optimization:
push-interval-25:
- android
push-interval-25: null
android-x86_64-gcp/debug:
description: "Android 5.0 x86-64 Debug - built on GCP"
@ -525,8 +519,7 @@ android-x86_64-gcp/debug:
toolchain:
- linux64-clang
optimization:
push-interval-25:
- android
push-interval-25: null
android-x86_64-asan-fuzzing/opt:
description: "Android 5.0 x86-64 Fuzzing Opt ASAN"

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

@ -80,8 +80,7 @@ linux64-plain/opt:
- linux64-lucetc
- wasi-sysroot
optimization:
push-interval-10:
- linux
push-interval-10: null
linux64-fuzzing/debug:
description: "Linux64 Fuzzing Debug"
@ -262,8 +261,7 @@ linux64-plain/debug:
- linux64-lucetc
- wasi-sysroot
optimization:
push-interval-10:
- linux
push-interval-10: null
linux64-devedition/opt:
description: "Linux64 devedition (shippable)"
@ -360,8 +358,7 @@ linux64-base-toolchains/debug:
platform: linux64/debug
symbol: Bb
optimization:
push-interval-10:
- linux
push-interval-10: null
worker-type: b-linux
worker:
docker-image: {in-tree: debian8-amd64-build-base}
@ -444,8 +441,7 @@ linux64-base-toolchains-clang/debug:
platform: linux64/debug
symbol: Bbc
optimization:
push-interval-10:
- linux
push-interval-10: null
worker-type: b-linux
worker:
docker-image: {in-tree: debian8-amd64-build-base}
@ -1423,8 +1419,7 @@ linux64-aarch64/opt:
- linux64-lucetc
- wasi-sysroot
optimization:
push-interval-10:
- linux
push-interval-10: null
linux-gcp/debug:
description: "Linux32 Debug - built on GCP"
@ -1473,8 +1468,7 @@ linux-gcp/debug:
# this dependency can be removed.
- linux64-fix-stacks
optimization:
push-interval-25:
- linux
push-interval-25: null
linux-gcp/opt:
description: "Linux32 Opt - built on GCP"
@ -1562,8 +1556,7 @@ linux64-gcp/debug:
# this dependency can be removed.
- linux64-fix-stacks
optimization:
push-interval-25:
- linux
push-interval-25: null
linux64-gcp/opt:
description: "Linux64 Opt - built on GCP"

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

@ -458,8 +458,7 @@ macosx64-gcp/debug:
- linux64-lucetc
- wasi-sysroot
optimization:
push-interval-25:
- macosx
push-interval-25: null
macosx64-gcp/opt:
description: "MacOS X x64 Cross-compile - built on GCP"

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

@ -13,8 +13,7 @@ job-defaults:
script: mozharness/scripts/fx_desktop_build.py
need-xvfb: false
optimization:
push-interval-10:
- windows
push-interval-10: null
win32-mingwclang/opt:
description: "Win32 MinGW-Clang Opt"

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

@ -245,8 +245,7 @@ win64-plain/debug:
- win64-cbindgen
- win64-winchecksec
optimization:
push-interval-10:
- windows
push-interval-10: null
win64/opt:
description: "Win64 Opt"
@ -341,8 +340,7 @@ win64-plain/opt:
- win64-cbindgen
- win64-winchecksec
optimization:
push-interval-10:
- windows
push-interval-10: null
win32-shippable/opt:
description: "Win32 Opt Shippable"
@ -1204,8 +1202,7 @@ win64-aarch64/debug:
- nsis-3.01-win
- upx-3.95-win
optimization:
push-interval-10:
- windows
push-interval-10: null
win64-aarch64/opt:
description: "AArch64 Win64 Opt"
@ -1263,8 +1260,7 @@ win64-aarch64/opt:
- nsis-3.01-win
- upx-3.95-win
optimization:
push-interval-10:
- windows
push-interval-10: null
win64-aarch64-eme/opt:
description: "AArch64 Win64 Opt w/ EME"
@ -1307,8 +1303,7 @@ win64-aarch64-eme/opt:
- nsis-3.01-win
- upx-3.95-win
optimization:
push-interval-10:
- windows
push-interval-10: null
win64-aarch64-shippable/opt:
description: "AArch64 Win64 Shippable"
@ -1407,8 +1402,7 @@ win64-aarch64-shippable/opt:
- nsis-3.01-win
- upx-3.95-win
optimization:
push-interval-10:
- windows
push-interval-10: null
win64-aarch64-shippable-no-eme/opt:
description: "AArch64 Win64 Shippable w/o EME"
@ -1470,8 +1464,7 @@ win64-aarch64-shippable-no-eme/opt:
- nsis-3.01-win
- upx-3.95-win
optimization:
push-interval-10:
- windows
push-interval-10: null
win64-aarch64-devedition/opt:
description: "AArch64 Win64 Dev Edition (shippable)"

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

@ -44,8 +44,7 @@ job-defaults:
toolchain:
- linux64-custom-v8
optimization:
push-interval-10:
- linux
push-interval-10: null
bench-ares6:
description: Ares6 JavaScript shell benchmark suite

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

@ -65,8 +65,7 @@ job-defaults:
extra-options:
- --browsertime
optimization:
push-interval-25:
- android
push-interval-25: null
browsertime-tp6m:
description: "Raptor (browsertime) tp6 page-load tests on android"

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

@ -29,8 +29,7 @@ job-defaults:
config:
- raptor/android_hw_config.py
optimization:
push-interval-25:
- android
push-interval-25: null
raptor-tp6m-1-geckoview:
description: "Raptor tp6m-1 on GeckoView"

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

@ -58,5 +58,4 @@ jobs:
- linux64-lucetc
- wasi-sysroot
optimization:
push-interval-10:
- linux
push-interval-10: null

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

@ -42,5 +42,4 @@ job-template:
command: /builds/worker/bin/run-visual-metrics.py -- --orange --perceptual --contentful --force --renderignore 5 --json --viewport
checkout: false
optimization:
push-interval-25:
- android
push-interval-25: null

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

@ -205,8 +205,8 @@ OptimizationSchema = voluptuous.Any(
# search the index for the given index namespaces, and replace this task if found
# the search occurs in order, with the first match winning
{'index-search': [text_type]},
{'push-interval-10': list(schedules.ALL_COMPONENTS)},
{'push-interval-25': list(schedules.ALL_COMPONENTS)},
{'push-interval-10': None},
{'push-interval-25': None},
# consult SETA and skip this task if it is low-value
{'seta': None},
# skip this task if none of the given file patterns match