-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.toml
63 lines (48 loc) · 2.05 KB
/
config.example.toml
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
http_server_listen_addr = ":8085"
#https_server_listen_addr = ":8084"
#https_ssl_cert_file = ""
#https_ssl_key_file = ""
# the local http and https endpoints that receives github webhook events
github_webhook_endpoint = "/listener/github"
github_webhook_secret = ""
# expose Prometheus metrics at the specified endpoint
# prometheus_metrics_endpoint = "/metrics"
# GitHub API token, required when github actions are defined or autoupdate is
# enabled.
github_api_token = "my-secret-token"
# Supported log formats: logfmt, console, json
log_format = "logfmt"
# The key that is used for logging the timestamp. If empty, timestamps will not
# be included in log messages.
log_time_key = "time_iso8601"
# log_level controls the priority threshold for log messages.
# All messages with the specified or a higher priority are logged.
# Supported values: debug, info, warn, error, panic, fatal
log_level = "info"
# local http server endpoint under which a minimal webinterface is served
webinterface_endpoint = "/autoupdater"
# enqueue/dequeue a pull request for autoupdates when one of the labels is added/removed
trigger_labels = ["queue-add"]
# enqueue/dequeue a pull request for autoupdates when auto-merge is enabled
# (https://docs.github.com/en/github/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)
trigger_on_auto_merge = true
# queue_pr_head_label is the name of the GitHub label that is applied to the pull
# request that is the first in the autoupdate queue
queue_pr_head_label = "autoupdater-first"
[[repository]]
# the GitHub login name of the subject owning the repository
owner = "simplesurance"
repository = "goordinator"
[ci]
server_url = "https://jenkins"
basic_auth.user = "cetautomatix"
basic_auth.password = "hammer"
[[ci.job]]
url_path = "job/check/{{ queryescape .Branch }}"
[[ci.job]]
url_path = "job/build/{{ queryescape .PullRequestNr }}"
[[ci.job]]
url_path = "job/test/"
[ci.job.parameters]
branch = "{{ .Branch }}"
pr_nr = "{{ .PullRequestNr }}"