-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json.example
52 lines (52 loc) · 1.75 KB
/
config.json.example
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
{
"app_setting": {
"app_host": "localhost",
"app_port": "4001",
"app_basic_auth_username": "user",
"app_basic_auth_password": "pass"
},
"webhook_setting": {
"github": {
"mapping": [
{
"repo_name": "popular-github-repo",
"branch_name": "main",
"command": "echo '[github] this is the trigger when main branch got pushed'"
},
{
"repo_name": "popular-github-repo",
"branch_name": "dev",
"command": "echo '[github] hello dev' && ls -la"
}
]
},
"gitlab": {
"mapping": [
{
"repo_name": "popular-gitlab-repo",
"branch_name": "master",
"command": "echo '[gitlab] this is the trigger when master branch got pushed'"
},
{
"repo_name": "popular-gitlab-repo",
"branch_name": "develop",
"command": "echo '[gitlab] hello gitlab develop' >> test.txt && cat test.txt && rm test.txt"
}
]
},
"bitbucket": {
"mapping": [
{
"repo_name": "popular-bitbucket-repo",
"branch_name": "main",
"command": "echo '[bitbucket] this is the trigger when main branch got pushed'"
},
{
"repo_name": "popular-bitbucket-repo",
"branch_name": "test",
"command": "echo '[bitbucket] hello bitbucket test'"
}
]
}
}
}