-
Notifications
You must be signed in to change notification settings - Fork 1
/
Subutai.json
74 lines (71 loc) · 2.04 KB
/
Subutai.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
{
"name": "${environmentName}",
"description": "Jenkins Blueprint",
"version": "1",
"author": "Alina",
"containers": [
{
"hostname": "${webContainerName}",
"template": "debian-stretch",
"peer-criteria": "HTTP-GROUP",
"size": "${webContainerSize}",
"port-mapping": [
{
"protocol": "http",
"domain": "${domainName}",
"internal-port": "80",
"external-port": "8080"
}
]
}
],
"peer-criteria":[{
"name": "HTTP-GROUP",
"max-price": "${maxPeersPrice}"
}
],
"ansible-configuration": {
"source-url": "https://github.com/AlinaPenkina/Jenkins/archive/master.zip",
"ansible-playbook": "ansible-playbook.yml",
"groups": [
{
"name": "Jenkins",
"hostnames": [
"${webContainerName}"
]
}
]
},
"user-variables": {
"environmentName": {
"description": "Enter the environment name",
"type": "string",
"default": "Jenkins",
"validation": "[a-zA-Z0-9]+"
},
"maxPeersPrice":{
"description": "Enter max peers price",
"type": "num",
"default": "100",
"validation": "[0-9]+"
},
"domainName": {
"description": "Enter the application domain name",
"type": "domain",
"default": "Enter the domain name",
"validation": "[a-zA-Z0-9]+"
},
"webContainerName": {
"description": "Enter the container's hostname",
"type": "string",
"default": "Jenkins",
"validation": "[a-zA-Z0-9]+"
},
"webContainerSize": {
"description": "Set the container size to SMALL, MEDIUM, LARGE or HUGE",
"type": "enum",
"default": "SMALL",
"validation": "SMALL,MEDIUM,LARGE,HUGE"
}
}
}