Bug 1596775: Add tasks to upload symbols to server; r=glandium,marco

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tom Prince 2019-12-12 02:03:53 +00:00
Родитель 169be03b0f
Коммит 59d82e0ffc
3 изменённых файлов: 35 добавлений и 0 удалений

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

@ -0,0 +1,29 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
loader: taskgraph.loader.single_dep:loader
transforms:
- taskgraph.transforms.upload_symbols:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
kind-dependencies:
- system-symbols
job-template:
description: Upload Symbols
worker-type: b-linux
worker:
docker-image: {in-tree: "lint"}
max-run-time: 900
env:
# {level} gets replaced in the upload_symbols transform
SYMBOL_SECRET: "project/releng/gecko/build/level-{level}/gecko-symbol-upload"
run:
using: mach
mach: {artifact-reference: "python toolkit/crashreporter/tools/upload_symbols.py <build/public/build/target.crashreporter-symbols.zip>"}
sparse-profile: upload-symbols
scopes:
- secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-upload

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

@ -10,6 +10,8 @@ transforms:
job-defaults:
attributes:
cron: true
# This enables uploading symbols.
enable-full-crashsymbols: true
treeherder:
platform: symbols/opt
kind: build

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

@ -633,3 +633,7 @@ Cron-driven tasks that bump l10n-changesets files in-tree, using data from the l
system-symbols
--------------
Generate missing macOS and windows system symbols from crash reports.
system-symbols-upload
---------------------
Upload macOS and windows system symbols to tecken.