-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
86 lines (72 loc) · 2.45 KB
/
config.yaml
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
default_auth:
auth_pubkey_file:
username: ayourtch
pubkey: /home/ubuntu/.ssh/id_rsa.pub
privatekey: /home/ubuntu/.ssh/id_rsa
passphrase: cisco123
# auth_password:
# username: foo
# password: bar
default_vote:
success: --code-review +1
failure: --code-review -1
clear: --code-review 0
default_query:
# query: status:open project:vpp limit:4
# filter: (status:new OR status:open) project:vpp limit:1
filter: (status:new OR status:open) (project:testproj OR project:testvpp) limit:3
options: --all-approvals --all-reviewers --comments --commit-message --dependencies --patch-sets --submit-records
# options: "" # --all-approvals --all-reviewers --comments --commit-message --dependencies --patch-sets --submit-records
# ? per_batch_command
# ? per_change_command
# default_batch_command: scripts/format-output
default_sync_horizon_sec: 8640000
default_regex_trigger_delay_sec: 60
# where to resolve the relative command paths from
command_rootdir: /home/ubuntu/s5ci/scripts
comment_triggers:
echo_comment:
regex: \secho (?P<testval>.+)
# optional suppress_regex will delete the about-to-be-started jobs of the same name
suppress_regex: Build http
action:
command: run-echo {{regex.testval}}
cron_triggers:
every_half_hour:
# sec min hour day of month month day of week year
cron: "0 15 * * * * * "
action:
command: run-cron once-per-hour-at-15
funky:
cron: "0 30 9,12,15 1,15 May-Aug Mon,Wed,Fri 2018/2"
action:
command: run-cron some-funky-cron
per_project_config:
root_dir: /home/ubuntu/s5ci/scripts/projects
projects:
- testproj
- testvpp
debug_verbosity: 0
patchset_extract_regex: '(?s)^Patch Set (?P<patchset>\d+):'
jobs:
rootdir: /var/www/html/jobs
root_url: http://s5ci-dev.myvpp.net/jobs
install_rootdir: /home/ubuntu/s5ci
hostname: gerrit-client
db_url: /home/ubuntu/s5ci/db/s5ci.sqlite3
autorestart:
on_config_change: true
on_exe_change: true
server:
address: 136.243.48.188
port: 29418
poll_type:
# direct_ssh: {} # use built-in ssh client
# auth:
shell:
command: /usr/bin/ssh
args: ['-p', '29418', '[email protected]']
poll_wait_ms: 5000
syncing_poll_wait_ms: 1000
# sync_horizon_sec: 600
sync_horizon_sec: 0