-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathblueprint.yml.erb
172 lines (172 loc) · 4.67 KB
/
blueprint.yml.erb
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<%
redirect_uri = "https://services-fabrik-broker.bosh-lite.com/manage/auth/cloudfoundry/callback"
def base64_template(prefix)
filename = "../services/#{prefix}.yml.ejs"
JSON.dump(Base64.encode64(File.read(filename)))
end
%>
---
id: '24731fb8-7b84-4f57-914f-c3d55d793dd4'
name: 'blueprint'
description: &description 'Blueprint service for internal development, testing, and documentation purposes of the Service Fabrik'
bindable: true
tags:
- 'blueprint'
- 'no-not-use'
metadata:
displayName: 'Blueprint'
longDescription: *description
providerDisplayName: 'SAP SE'
documentationUrl: 'https://sap.com/'
supportUrl: 'https://sap.com/'
dashboard_client:
id: 'service-fabrik-blueprint-client'
secret: 'service-fabrik-blueprint-secret'
redirect_uri: <%= redirect_uri %>
plan_updateable: true
actions: Blueprint
plans:
###########################
# CONTAINER SERVICE PLANS #
###########################
- id: '466c5078-df6e-427d-8fb2-c76af50c0f56'
name: 'v1.0-container'
free: true
manager:
name: 'docker'
settings:
image: 'servicefabrikjenkins/blueprint'
tag: 'latest'
memory: '128m'
# disable persistent volumes while running on Bosh Lite where lvmvd isn't available
# persistent_volumes:
# - name: 'data'
# path: '/data'
# size: '100m'
credentials:
username:
key: 'BLUEPRINT_USER_NAME'
password:
key: 'BLUEPRINT_USER_PASS'
uri:
prefix: 'http'
port: 8080/tcp
description: 'Blueprint 1.0 service running inside a Docker container (for non-productive usage)'
metadata:
costs:
- amount:
usd: 0.0
unit: 'MONTHLY'
bullets:
- 'Container Deployment'
- '128 MB Memory'
- '100 MB Disk'
- id: '6a252f89-c974-4ef9-a4de-c49f300de39a'
name: 'v1.0-container-large'
free: true
manager:
name: 'docker'
settings:
image: 'servicefabrikjenkins/blueprint'
tag: 'latest'
memory: '256m'
# disable persistent volumes while running on Bosh Lite where lvmvd isn't available
# persistent_volumes:
# - name: 'data'
# path: '/data'
# size: '200m'
credentials:
username:
key: 'BLUEPRINT_USER_NAME'
password:
key: 'BLUEPRINT_USER_PASS'
uri:
prefix: 'http'
port: 8080/tcp
description: 'Blueprint 1.0 service running inside a large Docker container (for non-productive usage)'
metadata:
costs:
- amount:
usd: 0.0
unit: 'MONTHLY'
bullets:
- 'Container Deployment'
- '256 MB Memory'
- '200 MB Disk'
###########################
# DEDICATED SERVICE PLANS #
###########################
- id: 'bc158c9a-7934-401e-94ab-057082a5073f'
name: 'v1.0-dedicated-xsmall'
free: false
actions: ReserveIps
manager:
name: 'director'
resource_mappings: &director_resource_mappings
resource_group: 'deployment.servicefabrik.io'
resource_type: 'directors'
bind:
resource_group: 'bind.servicefabrik.io'
resource_type: 'directorbinds'
backup:
resource_group: 'backup.servicefabrik.io'
resource_type: 'defaultbackups'
settings:
prefix: 'blueprint'
agent: &agent
version: '1'
auth:
username: agent
password: secret
supported_features:
- state
- lifecycle
- credentials
provider: boshlite
template: <%= base64_template('blueprint-manifest') %>
dashboard_template: <%= base64_template('blueprint-dashboard') %>
releases: &dedicated_releases
- { name: blueprint, version: 1.7.0, git: "https://github.com/sap/service-fabrik-blueprint-boshrelease.git" }
context:
agent: *agent
vm_type: service_fabrik_vm_micro
disk_type: service_fabrik_hdd_1gb
description: 'Blueprint 1.0 service x-small (managed service in beta)'
metadata:
costs:
- amount:
usd: 0.0
unit: 'MONTHLY'
bullets:
- 'Dedicated Deployment'
- '1 VM'
- '1 vCPUs'
- '1 GB Memory'
- '1 GB Disk'
- id: 'd616b00a-5949-4b1c-bc73-0d3c59f3954a'
name: 'v1.0-dedicated-large'
free: false
manager:
name: 'director'
resource_mappings: &director_resource_mappings
settings:
prefix: 'blueprint'
agent: *agent
template: <%= base64_template('blueprint-manifest') %>
releases: *dedicated_releases
context:
agent: *agent
vm_type: service_fabrik_vm_micro
disk_type: service_fabrik_hdd_2gb
description: 'Blueprint 1.0 service large (managed service in beta)'
metadata:
costs:
- amount:
usd: 0.0
unit: 'MONTHLY'
bullets:
- 'Dedicated Deployment'
- '1 VM'
- '1 vCPUs'
- '1 GB Memory'
- '2 GB Disk'