-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhook.json
More file actions
40 lines (39 loc) · 1.35 KB
/
hook.json
File metadata and controls
40 lines (39 loc) · 1.35 KB
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
{
"provisionerId": "aws-provisioner-v1",
"workerType": "github-worker",
"payload": {
"image": "debian:10",
"features": {
"taskclusterProxy": true
},
"command": [
"/bin/bash",
"-c",
"apt-get update && apt-get -y install git mercurial python3-requests && git clone https://github.com/jcristau/fx-release-metrics/ && cd fx-release-metrics && python3 run-taskcluster.py"
],
"maxRunTime": 600,
"artifacts": {
"public/results.json": {
"type": "file",
"path": "/results.json"
}
},
"env": {
"PREVIOUS_RESULTS": "https://index.taskcluster.net/v1/task/garbage.jcristau.fx-release-metrics.latest/artifacts/public/results.json"
}
},
"routes": [
"index.garbage.jcristau.fx-release-metrics.latest",
"notify.email.jcristau@mozilla.com.on-failed"
],
"scopes": [
"queue:route:index.garbage.jcristau.fx-release-metrics.latest",
"queue:route:notify.email.jcristau@mozilla.com.*"
],
"metadata": {
"name": "fx release metrics",
"description": "Taskcluster hook to run fx release metrics",
"owner": "jcristau@mozilla.com",
"source": "https://github.com/jcristau/fx-release-metrics/blob/master/hook.json"
}
}