kind.yml (3512B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 loader: taskgraph.loader.transform:loader 6 7 transforms: 8 - taskgraph.transforms.from_deps 9 - gecko_taskgraph.transforms.attribution:resolve_keyed_by_transforms 10 - taskgraph.transforms.task_context 11 - gecko_taskgraph.transforms.attribution:transforms 12 - gecko_taskgraph.transforms.job:transforms 13 - gecko_taskgraph.transforms.task:transforms 14 15 kind-dependencies: 16 - toolchain 17 # Windows 18 - repackage-signing-l10n 19 # Mac 20 - repackage-l10n 21 22 task-defaults: 23 run-on-repo-type: [hg] 24 description: Attribute release builds 25 shipping-phase: promote 26 # never run as part of CI 27 run-on-projects: [] 28 worker-type: b-linux 29 attributes: 30 build_type: opt 31 release_artifacts: 32 by-build-platform: 33 win.*: 34 - public/build/target.installer.exe 35 mac.*: 36 - public/build/target.dmg 37 treeherder: 38 symbol: Attr-L10n({locale}) 39 kind: other 40 tier: 1 41 task-context: 42 from-file: browser/installer/attribution.yml 43 substitution-fields: 44 - run.command 45 - dlsource 46 dlsource: "{attribution_code[json][dlsource]}" 47 worker: 48 artifacts: 49 - name: public/build 50 type: directory 51 path: /builds/worker/artifacts 52 docker-image: 53 in-tree: "partner-repack" 54 chain-of-trust: true 55 # Each task only processes one installer...this should be quick. 56 max-run-time: 600 57 run: 58 using: run-task 59 cwd: "{checkout}" 60 command: 61 by-build-platform: 62 win.*: 63 - ./mach 64 - python 65 - python/mozrelease/mozrelease/attribute_builds.py 66 - --attribution 67 - dlsource={attribution_code[json][dlsource]} 68 - --output 69 - /builds/worker/artifacts 70 # All jobs require attribution of target.installer.exe. Some may require 71 # attribution of other files, which they can append themselves. 72 - --input 73 - /builds/worker/fetches/target.installer.exe 74 mac.*: [] # Defined in transforms 75 use-python: default 76 77 tasks: 78 windows: 79 from-deps: 80 kinds: 81 - repackage-signing-l10n 82 with-attributes: 83 build_platform: 84 - win32-devedition 85 - win32-shippable 86 - win64-aarch64-devedition 87 - win64-aarch64-shippable 88 - win64-devedition 89 - win64-shippable 90 build_type: opt 91 copy-attributes: true 92 fetches: 93 repackage-signing-l10n: 94 - artifact: "{locale}/target.installer.exe" 95 96 macosx: 97 from-deps: 98 kinds: 99 - repackage-l10n 100 with-attributes: 101 build_platform: 102 - macosx64-devedition 103 - macosx64-shippable 104 build_type: opt 105 copy-attributes: true 106 fetches: 107 repackage-l10n: 108 - artifact: "{locale}/target.dmg"