summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/condprof/kind.yml
blob: d1e50620c89560cb49977c2af77bde8a0c17433b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# 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

kind-dependencies:
    - build
    - toolchain

transforms:
    - gecko_taskgraph.transforms.condprof:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    treeherder:
        kind: other
        tier: 2
    scenarios:
        - settled
    run:
        using: run-task
        cwd: fetches/condprofile
        checkout: false
        tooltool-downloads: public
    scopes:
        - secrets:get:project/releng/gecko/build/level-{level}/conditioned-profiles
    worker:
        taskcluster-proxy: true
        max-run-time: 10800
    use-python: default
jobs:
    windows2012-64-firefox:
        worker-type: b-win2022
        description: Creates or updates conditioned profiles on Win64
        run-on-projects: ['mozilla-central']
        treeherder:
            symbol: condprof(firefox)
            platform: windows2012-64/opt
        index:
            product: firefox
            job-name: condprof-win64
        dependencies:
            build: build-win64-shippable/opt
        scenarios:
            - settled
            - full
        fetches:
            build:
                - artifact: target.condprof.tests.tar.gz
                - artifact: target.zip
            toolchain:
                - win64-geckodriver
        run:
            command: >-
                python3.exe condprof/main.py
                ${EXTRA_ARGS}
                --geckodriver ${MOZ_FETCHES_DIR}/geckodriver.exe
                --firefox ${MOZ_FETCHES_DIR}/firefox/firefox.exe
                --scenario ${SCENARIO}
                ../../archive
        worker:
            artifacts:
                - name: public/condprof
                  path: archive
                  type: directory
    linux64-firefox:
        worker-type: b-linux-gcp
        description: Creates or updates conditioned profiles on Linux
        run-on-projects: ['mozilla-central']
        treeherder:
            symbol: condprof(firefox)
            platform: linux64/opt
        index:
            product: firefox
            job-name: condprof-linux64
        dependencies:
            build: build-linux64-shippable/opt
        scenarios:
            - settled
            - full
        fetches:
            build:
                - artifact: target.condprof.tests.tar.gz
                - artifact: target.tar.bz2
            toolchain:
                - linux64-geckodriver
        run:
            command: >-
                python3 -m venv . &&
                bin/python3 condprof/main.py
                ${EXTRA_ARGS}
                --geckodriver ${MOZ_FETCHES_DIR}/geckodriver
                --firefox ${MOZ_FETCHES_DIR}/firefox/firefox-bin
                --scenario ${SCENARIO}
                ../../archive
        worker:
            docker-image: {in-tree: condprof}
            artifacts:
                - name: public/condprof
                  path: /builds/worker/archive
                  type: directory
    macosx64-firefox:
        worker-type: t-osx-1015-r8
        description: Creates or updates conditioned profiles on macOS
        run-on-projects: ['mozilla-central']
        treeherder:
            symbol: condprof(firefox)
            platform: macosx1015-64-qr/opt
        index:
            product: firefox
            job-name: condprof-macosx64
        dependencies:
            build: build-macosx64-shippable/opt
        fetches:
            build:
                - artifact: target.condprof.tests.tar.gz
                - artifact: target.dmg
                  extract: false
            toolchain:
                - macosx64-geckodriver
        run:
            command: >-
                python3 -m venv . &&
                bin/python3 condprof/main.py
                ${EXTRA_ARGS}
                --geckodriver ${MOZ_FETCHES_DIR}/geckodriver
                --firefox ${MOZ_FETCHES_DIR}/target.dmg
                --scenario ${SCENARIO}
                ../../archive
        worker:
            artifacts:
                - name: public/condprof
                  path: archive
                  type: directory