Skip to content

Commit 1e83a5d

Browse files
authored
Merge pull request #48 from khajduczenia/testdrive-update
Schema files restored
2 parents 1a85177 + ebcb301 commit 1e83a5d

File tree

4 files changed

+161
-2
lines changed

4 files changed

+161
-2
lines changed

simple/cluster.py.schema

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
imports:
2+
- path: group.py
3+
- path: naming.py
4+
5+
required:
6+
- license
7+
- serverVersion
8+
- syncGatewayVersion
9+
- couchbaseUsername
10+
- couchbasePassword
11+
- region
12+
- cluster
13+
- groups
14+
- runtimeconfigName
15+
16+
properties:
17+
license:
18+
enum:
19+
- byol
20+
- hourly-pricing
21+
description: Type of Couchbase license to be supported by the deployment.
22+
serverVersion:
23+
type: string
24+
syncGatewayVersion:
25+
type: string
26+
27+
couchbaseUsername:
28+
type: string
29+
default: couchbase
30+
couchbasePassword:
31+
type: string
32+
33+
region:
34+
type: string
35+
description: GCE region name - the instance group location.
36+
37+
cluster:
38+
type: string
39+
description: The containing cluster resource name.
40+
groups:
41+
type: array
42+
description: The list of objects, each containing configuration for cluster's groups.
43+
runtimeconfigName:
44+
type: string
45+
description: The runtime config resource name. Used for notifying DM about the deployment status.

simple/deployment.py.schema

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
imports:
2+
- path: cluster.py
3+
- path: naming.py
4+
5+
required:
6+
- license
7+
- serverVersion
8+
- syncGatewayVersion
9+
- couchbaseUsername
10+
- couchbasePassword
11+
- clusters
12+
13+
properties:
14+
license:
15+
enum:
16+
- byol
17+
- hourly-pricing
18+
description: Type of Couchbase license to be supported by the deployment.
19+
serverVersion:
20+
type: string
21+
syncGatewayVersion:
22+
type: string
23+
24+
couchbaseUsername:
25+
type: string
26+
default: couchbase
27+
couchbasePassword:
28+
type: string
29+
30+
clusters:
31+
type: array
32+
description: The list of objects, each containing configuration for a single cluster resource.

simple/group.py.schema

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
imports:
2+
- path: naming.py
3+
- path: startupCommon.sh
4+
- path: server.sh
5+
- path: syncGateway.sh
6+
- path: successNotification.sh
7+
8+
required:
9+
- license
10+
- serverVersion
11+
- syncGatewayVersion
12+
- couchbaseUsername
13+
- couchbasePassword
14+
- region
15+
- cluster
16+
- group
17+
- runtimeconfigName
18+
- nodeType
19+
- services
20+
21+
properties:
22+
license:
23+
enum:
24+
- byol
25+
- hourly-pricing
26+
description: Type of Couchbase license to be supported by the deployment.
27+
serverVersion:
28+
type: string
29+
default: 5.5.0
30+
enum:
31+
- 5.5.0
32+
- 5.1.0
33+
- 5.0.1
34+
- 4.6.4
35+
- 4.6.3
36+
- 4.6.2
37+
syncGatewayVersion:
38+
type: string
39+
default: 2.0.0
40+
enum:
41+
- 2.0.0
42+
- 1.5.1
43+
44+
couchbaseUsername:
45+
type: string
46+
default: couchbase
47+
couchbasePassword:
48+
type: string
49+
50+
region:
51+
type: string
52+
description: GCE region name - the instance group location.
53+
54+
cluster:
55+
type: string
56+
description: The containing cluster resource name.
57+
group:
58+
type: string
59+
description: The group resource name.
60+
runtimeconfigName:
61+
type: string
62+
description: The runtime config resource name. Used for notifying DM about the deployment status.
63+
64+
useImageFamily:
65+
type: boolean
66+
default: false
67+
nodeCount:
68+
type: integer
69+
default: 3
70+
minimum: 1
71+
description: The target size for the instance group.
72+
nodeType:
73+
type: string
74+
description: GCE instance type name.
75+
diskSize:
76+
type: integer
77+
default: 500
78+
minimum: 10
79+
services:
80+
type: array
81+
description: A list of Couchbase services to be included in the instance group.
82+

testdrive/couchbase.py.schema

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ properties:
2626
default: 10
2727
serverVersion:
2828
type: string
29-
default: 5.1.1
29+
default: 5.5.0
3030
enum:
31-
- 5.5.0-beta
31+
- 5.5.0
3232
- 5.1.1
3333
- 5.1.0
3434
- 5.0.1

0 commit comments

Comments
 (0)