Bug 1461777 - Taskcluster Sa target should also run on Windows. r=gps

MozReview-Commit-ID: 7o7iPneK34e

--HG--
extra : rebase_source : ea5f003fea925267b79b5f3f7f3fd0d5a03e26b1
This commit is contained in:
Andi-Bogdan Postelnicu 2018-06-26 16:06:13 +01:00
Родитель 323ffd48be
Коммит d890dfdfe3
3 изменённых файлов: 43 добавлений и 9 удалений

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

@ -17,6 +17,15 @@ transforms:
job-defaults:
index:
product: firefox
worker:
skip-artifacts: true
max-run-time: 3600
env:
PERFHERDER_EXTRA_OPTIONS: static-analysis-autotest
run:
using: mozharness
actions: [static-analysis-autotest]
script: mozharness/scripts/fx_desktop_build.py
treeherder:
symbol: Sa
kind: build
@ -30,17 +39,10 @@ jobs:
treeherder:
platform: linux64/debug
worker-type: aws-provisioner-v1/gecko-t-linux-large
worker:
max-run-time: 3600
env:
PERFHERDER_EXTRA_OPTIONS: static-analysis-autotest
run:
using: mozharness
actions: [static-analysis-autotest]
config:
- builds/releng_base_firefox.py
- builds/releng_sub_linux_configs/64_stat_and_debug.py
script: "mozharness/scripts/fx_desktop_build.py"
tooltool-downloads: public
keep-artifacts: false
toolchains:
@ -48,3 +50,26 @@ jobs:
- linux64-clang-tidy
- linux64-rust
- linux64-sccache
win64-st-autotest/debug:
description: "Win64 Debug Static Analysis Autotest"
index:
job-name: win64-st-autotest-debug
treeherder:
platform: windows2012-64/debug
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker:
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/releng.manifest"
run:
config:
- builds/releng_base_firefox.py
- builds/taskcluster_base_windows.py
- builds/taskcluster_base_win64.py
- builds/taskcluster_sub_win64/clang_debug.py
toolchains:
- win64-clang-cl-st-an
- win64-rust
- win64-sccache
- win64-clang-tidy

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

@ -242,7 +242,8 @@ def mozharness_on_generic_worker(config, job, taskdesc):
worker = taskdesc['worker']
generic_worker_add_artifacts(config, job, taskdesc)
if not worker.get('skip-artifacts', False):
generic_worker_add_artifacts(config, job, taskdesc)
support_vcs_checkout(config, job, taskdesc)
env = worker['env']

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

@ -298,6 +298,9 @@ task_description_schema = Schema({
# the exit status code(s) that indicates the caches used by the task
# should be purged
Optional('purge-caches-exit-status'): [int],
# Wether any artifacts are assigned to this worker
Optional('skip-artifacts'): bool,
}, {
Required('implementation'): 'generic-worker',
Required('os'): Any('windows', 'macosx'),
@ -376,6 +379,9 @@ task_description_schema = Schema({
# optional features
Required('chain-of-trust'): bool,
Optional('taskcluster-proxy'): bool,
# Wether any artifacts are assigned to this worker
Optional('skip-artifacts'): bool,
}, {
Required('implementation'): 'native-engine',
Required('os'): Any('macosx', 'linux'),
@ -409,6 +415,8 @@ task_description_schema = Schema({
# type=directory)
Required('name'): basestring,
}],
# Wether any artifacts are assigned to this worker
Optional('skip-artifacts'): bool,
}, {
Required('implementation'): 'script-engine-autophone',
Required('os'): Any('macosx', 'linux'),
@ -939,7 +947,7 @@ def build_generic_worker_payload(config, task, task_def):
artifacts = []
for artifact in worker['artifacts']:
for artifact in worker.get('artifacts', []):
a = {
'path': artifact['path'],
'type': artifact['type'],