-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcircle-cli.yml.sample
More file actions
92 lines (83 loc) · 1.85 KB
/
circle-cli.yml.sample
File metadata and controls
92 lines (83 loc) · 1.85 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
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
# These can be overridden per command.
globals:
username: ''
project: ''
request:
# You can set any defaults for request here.
# You could set your cirlce token here or prefferably in
# circle-cli.private.yml so you can exclude it from your repo.
# Specify the class to use for notifications.
notifications: Circle\Notification\OsaScriptSubscriber
commands:
build:
endpoint: trigger_build
notifications_enabled: false
cancel:
endpoint: cancel_build
notifications_enabled: false
progress:
endpoint: get_single_build
notifications_enabled: true
projects:
endpoint: get_all_projects
notifications_enabled: false
retry:
endpoint: retry_build
notifications_enabled: false
add-key:
endpoint: add_ssh_key
notifications_enabled: false
status:
endpoint: get_recent_builds
notifications_enabled: true
endpoints:
# https://circleci.com/docs/api#projects
get_all_projects:
display:
- reponame
- vcs_url
- username
- followed
# https://circleci.com/docs/api#recent-builds-project
get_recent_builds:
request:
limit: 3
offset: 0
# Leaving empty defaults to no filter.
# filter: successful/failed/running
display:
- build_num
- committer_name
- subject
- branch
- status
retry_build:
display:
- build_num
- build_url
- branch
- subject
- status
get_single_build:
display:
- build_num
- build_url
- committer_name
- subject
- status
trigger_build:
display:
- build_num
- build_url
- branch
- subject
- status
cancel_build:
display:
- build_num
- build_url
- branch
- subject
- status
# All endpoints currently require a config entry, even if empty.
add_ssh_key: