-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.conf
54 lines (48 loc) · 1.38 KB
/
application.conf
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
encryptedPasswords = true
application {
# The secret key which should be used for decrypting tokens
secret = ${?GITLAB_BOT_SECRET}
}
http-server {
host = "0.0.0.0"
port = 9003
}
http-client {
connecting-timeout = 1 seconds
}
slack {
private-token = {
# The slack token encrypted using application.secret value
encrypted = ${?SLACK_TOKEN_ENCRYPTED}
secret = ${application.secret}
}
# Usually looks like https://{your_company}.slack.com/api
api-url = "${SLACK_API_URL}"
send-message-path = "/chat.postMessage",
# Slack channel which will be used for sending notifications
channel = "${NOTIFICATION_CHANNEL}"
}
git-lab {
# GITLAB API, api version #4 should be used
api-url = "${?GITLAB_API_V4}"
project-path = "/projects"
merge-request-path = "/merge_requests"
# The list of gitlab projects that should be listened by bot
# Example of project:
# {id: project_id }, token.encrypted = "project_token_encrypted_with_application.secret_value", token.secret = ${application.secret} },
projects = []
}
team = [
{
team-name = "first-team-name"
# The list of gitlab users that are owners of gitlab projects
# Example of username:
# { username: "username", gitlab-id: 111 }
usernames = [
]
# amount of team members that will be assigned on MR
amount = 2
# project ids that should be assigned to team
project-ids = []
}
]