summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/system-symbols-reprocess/kind.yml
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/ci/system-symbols-reprocess/kind.yml')
-rw-r--r--taskcluster/ci/system-symbols-reprocess/kind.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/taskcluster/ci/system-symbols-reprocess/kind.yml b/taskcluster/ci/system-symbols-reprocess/kind.yml
new file mode 100644
index 0000000000..1cde38d58b
--- /dev/null
+++ b/taskcluster/ci/system-symbols-reprocess/kind.yml
@@ -0,0 +1,46 @@
+# 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: gecko_taskgraph.loader.multi_dep:loader
+
+# multi_dep loader will need to group on "build_platform" attribute
+group-by: platform
+
+# we need that to apply grouping only on jobs that have "build_platform", so we
+# dont fail for the "fetch" kind that does is a dependency but does not have it
+only-for-attributes:
+ - build_platform
+
+transforms:
+ - gecko_taskgraph.transforms.reprocess_symbols:transforms
+ - gecko_taskgraph.transforms.job:transforms
+ - gecko_taskgraph.transforms.task:transforms
+
+primary-dependency: system-symbols
+
+kind-dependencies:
+ - system-symbols
+ - system-symbols-upload
+ - fetch
+
+job-template:
+ description: Reprocess Symbols on Crash-Stats
+ attributes:
+ cron: true
+ worker-type: b-linux-gcp
+ worker:
+ docker-image: {in-tree: system-symbols-linux-scraper}
+ max-run-time: 7200
+ env:
+ # {level} gets replaced in the reprocess_symbols transform
+ CRASHSTATS_SECRET: "project/releng/gecko/build/level-{level}/gecko-symbol-reprocess"
+ DUMP_SYMS: "/bin/false"
+ run:
+ using: run-task
+ command: {artifact-reference: "${MOZ_FETCHES_DIR}/symbol-scrapers/reprocess.sh <build/public/build/target.crashreporter-symbols.zip>"}
+ fetches:
+ fetch:
+ - symbol-scrapers
+ scopes:
+ - secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-reprocess