summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/source-test/shadow-scheduler.yml
blob: 97d1b1f30b172c9b600f75bd5dc6244787b8f6bd (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# 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/.
---
job-defaults:
    platform: gecko-decision/opt
    worker-type: t-linux-xlarge-source
    worker:
        docker-image: {in-tree: "lint"}
        max-run-time: 3600
        artifacts:
            - type: file
              name: public/shadow-scheduler/optimized-tasks.json
              path: /builds/worker/optimized-tasks.json
        env:
            DECISION_TASK_ID: {task-reference: <decision>}
    treeherder:
        kind: other
        tier: 3
    run-on-projects: ['autoland-only']
    run:
        using: mach
        mach: taskgraph optimized -v --json -p task-id=$DECISION_TASK_ID --output-file /builds/worker/optimized-tasks.json
        sparse-profile: taskgraph

relevant_tests:
    description: Runs the relevant_tests optimization strategy instead of the default.
    treeherder:
        symbol: SS(relevant_tests)
    index:
        product: source
        job-name: shadow-scheduler-relevant_tests
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.relevant_tests

bugbug_tasks_medium:
    description: Runs the bugbug_tasks_medium optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_tasks_medium)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_tasks_medium
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_tasks_medium

bugbug_tasks_high:
    description: Runs the bugbug_tasks_high optimization strategy (with a high confidence threshold) instead of the default.
    treeherder:
        symbol: SS(bugbug_tasks_high)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_tasks_high
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_tasks_high

bugbug_debug_disperse:
    description: Runs the bugbug_debug_disperse optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_debug_disperse)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_debug_disperse
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_debug_disperse

bugbug_disperse_low:
    description: Runs the bugbug_disperse_low optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_disperse_low)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_disperse_low
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_disperse_low

bugbug_disperse_medium:
    description: Runs the bugbug_disperse_medium optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_disperse_med)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_disperse_medium
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_disperse_medium

bugbug_disperse_reduced_medium:
    description: Runs the bugbug_disperse_reduced_medium optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_di_r_med_noun)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_disperse_reduced_medium
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_disperse_reduced_medium

bugbug_reduced_manifests_config_selection_low:
    description: Runs the bugbug_reduced_manifests_config_selection_low optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_r_c_s_low)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_reduced_manifests_config_selection_low
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_reduced_manifests_config_selection_low

bugbug_reduced_manifests_config_selection_medium:
    description: Runs the bugbug_reduced_manifests_config_selection_medium optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_r_c_s_med)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_reduced_manifests_config_selection_medium
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_reduced_manifests_config_selection_medium

bugbug_disperse_medium_no_unseen:
    description: Runs the bugbug_disperse_medium_no_unseen optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_disp_med_noun)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_disperse_medium_no_unseen
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_disperse_medium_no_unseen

bugbug_disperse_medium_only_one:
    description: Runs the bugbug_disperse_medium_only_one optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_disp_med_one)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_disperse_medium_only_one
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_disperse_medium_only_one

bugbug_disperse_high:
    description: Runs the bugbug_disperse_high optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_disperse_high)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_disperse_high
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_disperse_high

bugbug_reduced:
    description: Runs the bugbug_reduced optimization strategy instead of the default.
    treeherder:
        symbol: SS(bugbug_reduced)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_reduced
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_reduced

bugbug_reduced_high:
    description: Runs the bugbug_reduced optimization strategy (with a low confidence threshold) instead of the default.
    treeherder:
        symbol: SS(bugbug_reduced_high)
    index:
        product: source
        job-name: shadow-scheduler-bugbug_reduced_high
    worker:
        env:
            TASKGRAPH_OPTIMIZE_STRATEGIES: gecko_taskgraph.optimize:experimental.bugbug_reduced_high