-
Notifications
You must be signed in to change notification settings - Fork 54
/
kind.yml
128 lines (120 loc) · 4.01 KB
/
kind.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
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
# 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: taskgraph.loader.transform:loader
kind-dependencies:
- build
- fetch
transforms:
- taskgraph.transforms.build_attrs:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
job-defaults:
attributes:
nightly: true
description: "Extract geckodriver binary from common tests package"
treeherder:
kind: other
symbol: Gd(repack)
tier: 2
worker-type: b-linux
worker:
max-run-time: 1200
docker-image: {in-tree: debian9-amd64-build}
chain-of-trust: true
run:
using: run-task
checkout: false
jobs:
linux-nightly/opt:
treeherder:
platform: linux32/opt
dependencies:
build-linux/opt: build-linux-shippable/opt
fetches:
build-linux/opt:
- artifact: target.common.tests.tar.gz
worker:
artifacts:
- type: file
name: public/geckodriver.tar.gz
path: /builds/worker/geckodriver.tar.gz
run-on-projects: ['try', 'release'] # Do not run on autoland, Bug 1599197
run:
command: >
cd /builds/worker/fetches/bin/ &&
tar -cvzf geckodriver.tar.gz geckodriver &&
cp geckodriver.tar.gz /builds/worker
linux64-nightly/opt:
treeherder:
platform: linux64/opt
dependencies:
build-linux64/opt: build-linux64-shippable/opt
fetches:
build-linux64/opt:
- artifact: target.common.tests.tar.gz
worker:
artifacts:
- type: file
name: public/geckodriver.tar.gz
path: /builds/worker/geckodriver.tar.gz
run:
command: >
cd /builds/worker/fetches/bin/ &&
tar -cvzf geckodriver.tar.gz geckodriver &&
cp geckodriver.tar.gz /builds/worker
macosx64-nightly/opt:
treeherder:
platform: osx-cross/opt
dependencies:
build-macosx64/opt: build-macosx64-shippable/opt
fetches:
build-macosx64/opt:
- artifact: target.common.tests.tar.gz
worker:
artifacts:
- type: file
name: public/geckodriver.tar.gz
path: /builds/worker/geckodriver.tar.gz
run:
command: >
cd /builds/worker/fetches/bin/ &&
tar -cvzf geckodriver.tar.gz geckodriver &&
cp geckodriver.tar.gz /builds/worker
win32-nightly/opt:
treeherder:
platform: windows2012-32/opt
dependencies:
build-win32/opt: build-win32-shippable/opt
fetches:
build-win32/opt:
- artifact: target.common.tests.tar.gz
worker:
artifacts:
- type: file
name: public/geckodriver.zip
path: /builds/worker/geckodriver.zip
run:
command: >
cd /builds/worker/fetches/bin/ &&
zip -r geckodriver.zip geckodriver.exe &&
cp geckodriver.zip /builds/worker
win64-nightly/opt:
treeherder:
platform: windows2012-64/opt
dependencies:
build-win64/opt: build-win64-shippable/opt
fetches:
build-win64/opt:
- artifact: target.common.tests.tar.gz
worker:
artifacts:
- type: file
name: public/geckodriver.zip
path: /builds/worker/geckodriver.zip
run:
command: >
cd /builds/worker/fetches/bin/ &&
zip -r geckodriver.zip geckodriver.exe &&
cp geckodriver.zip /builds/worker