-
Notifications
You must be signed in to change notification settings - Fork 54
/
shadow-scheduler.yml
34 lines (33 loc) · 1.13 KB
/
shadow-scheduler.yml
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
# 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
worker:
docker-image: {in-tree: "lint"}
max-run-time: 3600
artifacts:
- type: file
name: public/shadow-scheduler/optimized_tasks.list
path: /builds/worker/optimized_tasks.list
treeherder:
kind: other
tier: 3
require-decision-task-id: true
run-on-projects: ['autoland']
run:
using: mach
mach: taskgraph optimized -p task-id=$DECISION_TASK_ID --output-file /builds/worker/optimized_tasks.list
sparse-profile: taskgraph
relevant_tests:
description: Runs the relevant_tests optimization strategy instead of SETA.
treeherder:
symbol: SS(relevant_tests)
index:
product: source
job-name: shadow-scheduler-relevant_tests
worker:
env:
TASKGRAPH_OPTIMIZE_STRATEGIES: taskgraph.optimize:relevant_tests