-
Notifications
You must be signed in to change notification settings - Fork 1
/
.taskcluster.yml
72 lines (69 loc) · 2.01 KB
/
.taskcluster.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
version: 1
reporting: checks-v1
policy:
pullRequests: public_restricted
allowComments: collaborators
tasks:
- $if: 'tasks_for == "github-pull-request-untrusted"'
then:
taskQueueId: built-in/fail
schedulerId: taskcluster-ui
created: {$fromNow: ''}
deadline: {$fromNow: '1 day'}
payload: {}
metadata:
name: example-task-1
description: An **example** task
owner: [email protected]
source: '${event.repository.url}'
else:
taskQueueId: docker-compose/generic-worker
schedulerId: taskcluster-ui
created: {$fromNow: ''}
deadline: {$fromNow: '1 day'}
payload:
command:
- - /bin/bash
- '-c'
- for ((i=1;i<=500;i++)); do echo $i; sleep 0.1; done
maxRunTime: 630
metadata:
name: example-task-1
description: An **example** task
owner: [email protected]
source: '${event.repository.url}'
- taskQueueId: docker-compose/generic-worker
schedulerId: taskcluster-ui
created: {$fromNow: ''}
deadline: {$fromNow: '1 day'}
payload:
command:
- - /bin/bash
- '-c'
- for ((i=1;i<=200;i++)); do echo $i; sleep 0.1; done
maxRunTime: 630
metadata:
name: Extra-task-for-each-event
description: An **example** task
owner: [email protected]
source: '${event.repository.url}'
- taskQueueId: built-in/succeed
schedulerId: taskcluster-ui
created: {$fromNow: ''}
deadline: {$fromNow: '1 day'}
payload: {}
metadata:
name: this-will-always-succeed
description: An **example** task
owner: [email protected]
source: '${event.repository.url}'
- taskQueueId: built-in/fail
schedulerId: taskcluster-ui
created: {$fromNow: ''}
deadline: {$fromNow: '1 day'}
payload: {}
metadata:
name: this-will-always-fail
description: An **example** task
owner: [email protected]
source: '${event.repository.url}'