-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.json
99 lines (99 loc) · 2.25 KB
/
config.example.json
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
93
94
95
96
97
98
99
{
"hoster": [
{
"name": "gitlab_organization",
"type": "gitlab",
"api-version": 4,
"domain": "gitlab.domain.com",
"organization": "<gitlab-group>",
"user": "<gitlab-user>",
"password": "<password>",
"ignored-repositories": [
"<repo name to be ignored>"
]
},
{
"name": "gitlab_personal",
"type": "gitlab",
"api-version": 4,
"domain": "gitlab.domain2.com",
"user": "<gitlab-user>",
"password": "<password>"
},
{
"name": "bitbucket_organization",
"type": "bitbucket",
"api-version": 2,
"organization": "<bitbucket-team>",
"user": "<bitbucket-user>",
"password": "<app-password>",
"ignored-repositories": [
"<repo name to be ignored>"
]
},
{
"name": "bitbucket_personal",
"type": "bitbucket",
"api-version": 2,
"user": "<bitbucket-user>",
"password": "<app-password>"
},
{
"name": "github_organization",
"type": "github",
"api-version": 3,
"organization": "<github-organization>",
"user": "<github-user>",
"password": "<password>"
},
{
"name": "github_personal",
"type": "github",
"api-version": 3,
"user": "<github-user",
"password": "<password>"
}
],
"tasks": [
{
"name": "gitlab_github",
"sync": "public",
"create": true,
"delete": true,
"source": "gitlab_organization",
"destinations": [
"github_organization"
],
"ignored-repositories": [
"<another repo name to be ignored>"
]
},
{
"name": "gitlab_bitbucket",
"sync": "internal",
"create": true,
"delete": true,
"source": "gitlab_personal",
"destinations": [
"gitlab_personal",
"bitbucket_organization"
]
},
{
"name": "github_gitlab",
"sync": "manual",
"create": true,
"delete": true,
"source": "github_personal",
"destinations": [
"gitlab_personal",
"github_organization"
],
"repositories": [
"<repository name of poject 1>",
"<repository name of poject 2>",
"<repository name of poject 3>"
]
}
]
}