summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/attribution/kind.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /taskcluster/ci/attribution/kind.yml
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/ci/attribution/kind.yml')
-rw-r--r--taskcluster/ci/attribution/kind.yml176
1 files changed, 176 insertions, 0 deletions
diff --git a/taskcluster/ci/attribution/kind.yml b/taskcluster/ci/attribution/kind.yml
new file mode 100644
index 0000000000..6a13ee5096
--- /dev/null
+++ b/taskcluster/ci/attribution/kind.yml
@@ -0,0 +1,176 @@
+# 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.transform:loader
+
+transforms:
+ - gecko_taskgraph.transforms.attribution:resolve_keyed_by_transforms
+ - taskgraph.transforms.task_context
+ - gecko_taskgraph.transforms.attribution:transforms
+ - gecko_taskgraph.transforms.job:transforms
+ - gecko_taskgraph.transforms.task:transforms
+
+kind-dependencies:
+ - toolchain
+ # Windows
+ - repackage-signing
+ # Mac
+ - repackage
+
+job-defaults:
+ description: Attribute release builds
+ shipping-phase: promote
+ # never run as part of CI
+ run-on-projects: []
+ worker-type: b-linux-gcp
+ fetches:
+ by-build-platform:
+ win.*:
+ repackage-signing:
+ - target.installer.exe
+ mac.*:
+ repackage:
+ - target.dmg
+ toolchain:
+ - linux64-libdmg
+ attributes:
+ release_artifacts:
+ by-build-platform:
+ win.*:
+ - public/build/target.installer.exe
+ mac.*:
+ - public/build/target.dmg
+ treeherder:
+ symbol: Attr
+ kind: other
+ tier: 1
+ task-context:
+ from-file: browser/installer/attribution.yml
+ substitution-fields:
+ - run.command
+ worker:
+ artifacts:
+ - name: public/build
+ type: directory
+ path: /builds/worker/artifacts
+ docker-image:
+ in-tree: "partner-repack"
+ chain-of-trust: true
+ # Each task only processes one installer...this should be quick.
+ max-run-time: 600
+ run:
+ using: run-task
+ cwd: "{checkout}"
+ command:
+ by-build-platform:
+ win.*:
+ - ./mach
+ - python
+ - python/mozrelease/mozrelease/attribute_builds.py
+ - --attribution
+ - dlsource={attribution_code[json][dlsource]}
+ - --output
+ - /builds/worker/artifacts
+ # All jobs require attribution of target.installer.exe. Some may require
+ # attribution of other files, which they can append themselves.
+ - --input
+ - /builds/worker/fetches/target.installer.exe
+ mac.*:
+ - mkdir -p /builds/worker/artifacts &&
+ - /builds/worker/fetches/dmg/dmg
+ - attribute
+ - /builds/worker/fetches/target.dmg
+ - /builds/worker/artifacts/target.dmg
+ - __MOZCUSTOM__
+ - __MOZCUSTOM__dlsource%3D{attribution_code[json][dlsource]}
+ use-system-python: false
+
+jobs:
+ win32-devedition/opt:
+ label: attribution-win32-devedition/opt
+ shipping-product: devedition
+ attributes:
+ build_platform: win32-devedition
+ build_type: opt
+ treeherder:
+ platform: win32-devedition/opt
+ dependencies:
+ repackage-signing: repackage-signing-win32-devedition/opt
+
+ win32-shippable/opt:
+ label: attribution-win32-shippable/opt
+ shipping-product: firefox
+ attributes:
+ build_platform: win32-shippable
+ build_type: opt
+ treeherder:
+ platform: win32-shippable/opt
+ dependencies:
+ repackage-signing: repackage-signing-win32-shippable/opt
+
+ win64-devedition/opt:
+ label: attribution-win64-devedition/opt
+ shipping-product: devedition
+ attributes:
+ build_platform: win64-devedition
+ build_type: opt
+ treeherder:
+ platform: win64-devedition/opt
+ dependencies:
+ repackage-signing: repackage-signing-win64-devedition/opt
+
+ win64-shippable/opt:
+ label: attribution-win64-shippable/opt
+ shipping-product: firefox
+ attributes:
+ build_platform: win64-shippable
+ build_type: opt
+ treeherder:
+ platform: win64-shippable/opt
+ dependencies:
+ repackage-signing: repackage-signing-win64-shippable/opt
+
+ win64-aarch64-shippable/opt:
+ label: attribution-win64-aarch64-shippable/opt
+ shipping-product: firefox
+ attributes:
+ build_platform: win64-aarch64-shippable
+ build_type: opt
+ treeherder:
+ platform: win64-aarch64-shippable/opt
+ dependencies:
+ repackage-signing: repackage-signing-win64-aarch64-shippable/opt
+
+ win64-aarch64-devedition/opt:
+ label: attribution-win64-aarch64-devedition/opt
+ shipping-product: devedition
+ attributes:
+ build_platform: win64-aarch64-devedition
+ build_type: opt
+ treeherder:
+ platform: win64-aarch64-devedition/opt
+ dependencies:
+ repackage-signing: repackage-signing-win64-aarch64-devedition/opt
+
+ macosx64-devedition/opt:
+ label: attribution-macosx64-devedition/opt
+ shipping-product: devedition
+ attributes:
+ build_platform: macosx64-devedition
+ build_type: opt
+ treeherder:
+ platform: macosx64-devedition/opt
+ dependencies:
+ repackage: repackage-macosx64-devedition/opt
+
+ macosx64-shippable/opt:
+ label: attribution-macosx64-shippable/opt
+ shipping-product: firefox
+ attributes:
+ build_platform: macosx64-shippable
+ build_type: opt
+ treeherder:
+ platform: macosx64-shippable/opt
+ dependencies:
+ repackage: repackage-macosx64-shippable/opt