This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathcf-mysql-deployment.yml
160 lines (149 loc) · 3.6 KB
/
cf-mysql-deployment.yml
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
name: cf-mysql
addons:
- name: bpm
jobs:
- name: bpm
release: bpm
update:
canaries: 1
canary_watch_time: 10000-600000
update_watch_time: 10000-600000
max_in_flight: 1
serial: true
instance_groups:
- name: mysql
instances: 2
azs: [z1, z2]
networks: [{name: default}]
vm_type: default
stemcell: default
persistent_disk: 10000
jobs:
- name: mysql
release: cf-mysql
properties:
cf_mysql:
mysql:
admin_password: ((cf_mysql_mysql_admin_password))
cluster_health:
password: ((cf_mysql_mysql_cluster_health_password))
galera_healthcheck:
endpoint_password: ((cf_mysql_mysql_galera_healthcheck_endpoint_password))
db_password: ((cf_mysql_mysql_galera_healthcheck_db_password))
- name: smoke-tests-user
release: cf-mysql
properties:
cf_mysql:
smoke_tests:
db_password: ((cf_mysql_smoke_tests_db_password))
- name: arbitrator
instances: 1
azs: [z3]
networks: [{name: default}]
vm_type: default
stemcell: default
jobs:
- release: cf-mysql
name: arbitrator
properties:
cf_mysql:
mysql:
admin_password: ((cf_mysql_mysql_admin_password))
galera_healthcheck:
endpoint_password: ((cf_mysql_mysql_galera_healthcheck_endpoint_password))
- name: proxy
instances: 2
azs: [z1, z2]
networks: [{name: default}]
vm_type: default
stemcell: default
jobs:
- name: proxy
release: cf-mysql
properties:
cf_mysql:
proxy:
api_password: ((cf_mysql_proxy_api_password))
provides:
mysql-database:
as: mysql-database
shared: true
- name: bootstrap-vm
instances: 1
lifecycle: errand
azs: [z1]
networks: [{name: default}]
vm_type: default
stemcell: default
jobs:
- {release: cf-mysql, name: bootstrap}
- name: rejoin-unsafe-vm
instances: 1
lifecycle: errand
azs: [z1]
networks: [{name: default}]
vm_type: default
stemcell: default
jobs:
- {release: cf-mysql, name: rejoin-unsafe}
- name: verify-cluster-schemas-vm
instances: 1
lifecycle: errand
azs: [z1]
networks: [{name: default}]
vm_type: default
stemcell: default
jobs:
- name: verify-cluster-schemas
release: cf-mysql
properties:
cf_mysql:
mysql:
admin_password: ((cf_mysql_mysql_admin_password))
galera_healthcheck:
endpoint_password: ((cf_mysql_mysql_galera_healthcheck_endpoint_password))
- name: smoke-tests-vm
instances: 1
lifecycle: errand
azs: [z1]
networks: [{name: default}]
vm_type: default
stemcell: default
jobs:
- name: smoke-tests
release: cf-mysql
properties:
cf_mysql:
mysql:
admin_password: ((cf_mysql_mysql_admin_password))
proxy:
api_password: ((cf_mysql_proxy_api_password))
smoke_tests:
db_password: ((cf_mysql_smoke_tests_db_password))
standalone_tests_only: true
variables:
- name: cf_mysql_mysql_admin_password
type: password
- name: cf_mysql_mysql_cluster_health_password
type: password
- name: cf_mysql_mysql_galera_healthcheck_db_password
type: password
- name: cf_mysql_mysql_galera_healthcheck_endpoint_password
type: password
- name: cf_mysql_proxy_api_password
type: password
- name: cf_mysql_smoke_tests_db_password
type: password
releases:
- name: cf-mysql
url: https://bosh.io/d/github.com/cloudfoundry/cf-mysql-release?v=36.19.0
version: 36.19.0
sha1: 393a018015fdcb48da40259b6a39b8e30fde9d0c
- name: bpm
url: ""
version: latest
sha1: ""
stemcells:
- alias: default
os: ubuntu-trusty
version: "3586.79"