Skip to content

Commit 3730e35

Browse files
authored
Merge pull request #152 from khorevaa/feature/v8path
Корректные примеры для команды all
2 parents 248d150 + f3ac3aa commit 3730e35

File tree

2 files changed

+108
-63
lines changed

2 files changed

+108
-63
lines changed

tests/fixtures/config.json

Lines changed: 54 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,54 @@
1-
{
2-
"gitsync-options":
3-
{
4-
"global":
5-
{
6-
"-email": "server.com",
7-
"-v8version": "1cv8.exe",
8-
"-plugins":
9-
[
10-
"pull",
11-
"push",
12-
"vendorUpload",
13-
"smart-tags",
14-
"increment"
15-
],
16-
"flags":
17-
{
18-
"-limit": 5,
19-
"--storage-user": "Администратор"
20-
}
21-
},
22-
"repositories" : [
23-
{
24-
"name" : "test",
25-
"git-local-path": "путь1",
26-
"git-remote": "адрес1",
27-
"v8-storage-dir": "каталог1",
28-
"-plugins":
29-
[
30-
"pull",
31-
"push",
32-
"vendorUpload",
33-
"smart-tags",
34-
"increment"
35-
]
36-
,
37-
"flags": {
38-
"-limit": 5,
39-
"--storage-user": "Администратор"
40-
}
41-
},
42-
{
43-
"name" : "test2",
44-
"git-local-path": "путь2",
45-
"git-remote": "адрес2",
46-
"v8-storage-dir": "каталог2",
47-
"-plugins":
48-
[
49-
"pull",
50-
"push",
51-
"vendorUpload",
52-
"smart-tags",
53-
"increment"
54-
]
55-
,
56-
"flags": {
57-
"-limit": 5,
58-
"--storage-user": "Администратор"
59-
}
60-
}
61-
]
62-
}
63-
}
1+
{
2+
"globals": {
3+
"storage-user": "Администратор",
4+
"storage-pwd": "",
5+
"git-path": "git",
6+
"temp-dir": "",
7+
"v8version": 8.3,
8+
"domain-email": "localhost",
9+
"lic-try-count": 5,
10+
"plugins": {
11+
"enable": [
12+
"test",
13+
"test2"
14+
],
15+
"disable": [
16+
"test3"
17+
]
18+
},
19+
"plugins-config": {
20+
"git-url": "git-url",
21+
"push": true,
22+
"pull": true
23+
}
24+
},
25+
"repositories": [
26+
{
27+
"name": "<ТестовыйРепозиторий>",
28+
"path": "<КаталогХранилища1С_1>",
29+
"dir": "<ПутьКаталогаИсходников_1>",
30+
"plugins": {
31+
"more": [
32+
"test3"
33+
]
34+
},
35+
"plugins-config": {
36+
"git-url": "git-url",
37+
"push": true,
38+
"pull": true
39+
}
40+
},
41+
{
42+
"name": "<ТестовыйРепозиторий2>",
43+
"path": "<КаталогХранилища1С_2>",
44+
"dir": "<ПутьКаталогаИсходников_2>",
45+
"storage-user": "Администратор",
46+
"storage-pwd": "",
47+
"git-path": "git",
48+
"temp-dir": "",
49+
"v8version": 8.3,
50+
"domain-email": "localhost",
51+
"lic-try-count": 5
52+
}
53+
]
54+
}

tests/fixtures/config.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"globals": {
3+
"storage-user": "Администратор",
4+
"storage-pwd": "",
5+
"git-path": "git",
6+
"temp-dir": "",
7+
"v8version": 8.3,
8+
"domain-email": "localhost",
9+
"lic-try-count": 5,
10+
"plugins": {
11+
"enable": [
12+
"test",
13+
"test2"
14+
],
15+
"disable": [
16+
"test3"
17+
]
18+
},
19+
"plugins-config": {
20+
"git-url": "git-url",
21+
"push": true,
22+
"pull": true
23+
}
24+
},
25+
"repositories": [
26+
{
27+
"name": "<ТестовыйРепозиторий>",
28+
"path": "<КаталогХранилища1С_1>",
29+
"dir": "<ПутьКаталогаИсходников_1>",
30+
"plugins": {
31+
"more": [
32+
"test3"
33+
]
34+
},
35+
"plugins-config": {
36+
"git-url": "git-url",
37+
"push": true,
38+
"pull": true
39+
}
40+
},
41+
{
42+
"name": "<ТестовыйРепозиторий2>",
43+
"path": "<КаталогХранилища1С_2>",
44+
"dir": "<ПутьКаталогаИсходников_2>",
45+
"storage-user": "Администратор",
46+
"storage-pwd": "",
47+
"git-path": "git",
48+
"temp-dir": "",
49+
"v8version": 8.3,
50+
"domain-email": "localhost",
51+
"lic-try-count": 5
52+
}
53+
]
54+
}

0 commit comments

Comments
 (0)