kind.yml (3421B)
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 19 # Mac 20 - repackage 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 release_artifacts: 31 by-build-platform: 32 win.*: 33 - public/build/target.installer.exe 34 mac.*: 35 - public/build/target.dmg 36 treeherder: 37 symbol: Attr 38 kind: other 39 tier: 1 40 task-context: 41 from-file: browser/installer/attribution.yml 42 substitution-fields: 43 - run.command 44 - dlsource 45 dlsource: "{attribution_code[json][dlsource]}" 46 worker: 47 artifacts: 48 - name: public/build 49 type: directory 50 path: /builds/worker/artifacts 51 docker-image: 52 in-tree: "partner-repack" 53 chain-of-trust: true 54 # Each task only processes one installer...this should be quick. 55 max-run-time: 600 56 run: 57 using: run-task 58 cwd: "{checkout}" 59 command: 60 by-build-platform: 61 win.*: 62 - ./mach 63 - python 64 - python/mozrelease/mozrelease/attribute_builds.py 65 - --attribution 66 - dlsource={attribution_code[json][dlsource]} 67 - --output 68 - /builds/worker/artifacts 69 # All jobs require attribution of target.installer.exe. Some may require 70 # attribution of other files, which they can append themselves. 71 - --input 72 - /builds/worker/fetches/target.installer.exe 73 mac.*: [] # Defined in transforms 74 use-python: default 75 76 tasks: 77 windows: 78 from-deps: 79 kinds: 80 - repackage-signing 81 with-attributes: 82 build_platform: 83 - win32-devedition 84 - win32-shippable 85 - win64-aarch64-devedition 86 - win64-aarch64-shippable 87 - win64-devedition 88 - win64-shippable 89 build_type: opt 90 copy-attributes: true 91 fetches: 92 repackage-signing: 93 - artifact: target.installer.exe 94 95 macosx: 96 from-deps: 97 kinds: 98 - repackage 99 with-attributes: 100 build_platform: 101 - macosx64-devedition 102 - macosx64-shippable 103 build_type: opt 104 copy-attributes: true 105 fetches: 106 repackage: 107 - artifact: target.dmg