From b740e7119c473ba8bcec23ccfe19511141ef79f9 Mon Sep 17 00:00:00 2001 From: Morgan Fine Date: Wed, 24 Feb 2016 08:21:07 -0800 Subject: [PATCH] Revert "Delete unused file for pending merge" This reverts commit ce37b9bfad0f17f625e8d807ec5d4e5063155279. --- templates/cf-mysql-template.yml | 368 ++++++++++++++++++++++++++++++++ 1 file changed, 368 insertions(+) create mode 100644 templates/cf-mysql-template.yml diff --git a/templates/cf-mysql-template.yml b/templates/cf-mysql-template.yml new file mode 100644 index 00000000..105ac37f --- /dev/null +++ b/templates/cf-mysql-template.yml @@ -0,0 +1,368 @@ +--- +meta: + # override this in your stub to set the environment name, + # which is used as a prefix for the deployment name + # + # e.g. `environment: cf-tabasco` makes a deployment named cf-tabasco-mysql + environment: ~ + + syslog_aggregator: ~ + +properties: + app_domains: (( merge )) + domain: (( merge )) + nats: + user: (( merge )) + password: (( merge )) + port: (( merge )) + machines: (( merge )) + cf: + api_url: (( "https://api." .properties.domain )) + admin_username: (( merge )) + admin_password: (( merge )) + apps_domain: (( .properties.app_domains.[0] )) + skip_ssl_validation: (( merge || nil )) + standalone: (( merge || false )) + default_mysql_cluster_ips: + - (( jobs.mysql_z1.networks.mysql1.static_ips.[0] || nil )) + - (( jobs.mysql_z2.networks.mysql2.static_ips.[0] || nil )) + - (( jobs.mysql_z3.networks.mysql3.static_ips.[0] || nil )) + default_proxy_ips: + - (( jobs.proxy_z1.networks.mysql1.static_ips.[0] || nil )) + - (( jobs.proxy_z2.networks.mysql2.static_ips.[0] || nil )) + temp: + # spiff does not allow concating multiple fields of different types + # without adding new temporary properties + database_startup_timeout_str: (( "" jobs.mysql_z1.properties.database_startup_timeout )) + canary_end_in_sec: (( .properties.temp.database_startup_timeout_str "000" )) + +name: (( meta.environment "-mysql" )) +director_uuid: (( merge )) + +releases: +- name: cf-mysql + version: (( merge || "latest" )) + +compilation: + workers: 4 + network: compilation + reuse_compilation_vms: true + cloud_properties: (( merge )) + +update: + canaries: 1 + canary_watch_time: (( "30000-" .properties.temp.canary_end_in_sec )) + update_watch_time: (( "30000-" .properties.temp.canary_end_in_sec )) + max_in_flight: 1 + serial: true + +networks: (( merge )) + +resource_pools: +- name: mysql_z1 + network: mysql1 + stemcell: (( merge )) + cloud_properties: (( merge )) +- name: mysql_z2 + network: mysql2 + stemcell: (( merge )) + cloud_properties: (( merge )) +- name: mysql_z3 + network: mysql3 + stemcell: (( merge )) + cloud_properties: (( merge )) +- name: proxy_z1 + network: mysql1 + stemcell: (( merge || resource_pools.mysql_z1.stemcell )) + cloud_properties: (( merge || resource_pools.mysql_z1.cloud_properties )) +- name: proxy_z2 + network: mysql2 + stemcell: (( merge || resource_pools.mysql_z2.stemcell )) + cloud_properties: (( merge || resource_pools.mysql_z2.cloud_properties )) +- name: cf-mysql-broker_z1 + network: mysql1 + stemcell: (( merge || resource_pools.mysql_z1.stemcell )) + cloud_properties: (( merge || resource_pools.mysql_z1.cloud_properties )) +- name: cf-mysql-broker_z2 + network: mysql2 + stemcell: (( merge || resource_pools.mysql_z2.stemcell )) + cloud_properties: (( merge || resource_pools.mysql_z2.cloud_properties )) +- name: errands_z1 + network: mysql1 + stemcell: (( merge || resource_pools.mysql_z1.stemcell )) + cloud_properties: (( merge || resource_pools.mysql_z1.cloud_properties )) + +disk_pools: +- name: mysql-persistent-disk + disk_size: (( merge || 100000 )) + cloud_properties: + <<: (( merge || nil )) + +jobs: +- name: mysql_z1 + release: cf-mysql + template: mysql + instances: (( merge || 1 )) + resource_pool: mysql_z1 + persistent_disk_pool: (( disk_pools.[0].name )) + networks: + - name: mysql1 + static_ips: (( static_ips(0) )) + properties: + <<: (( merge || nil )) + admin_password: (( merge )) + cluster_ips: (( merge || .properties.default_mysql_cluster_ips )) + seeded_databases: ~ + database_startup_timeout: (( merge || 600 )) + max_heap_table_size: (( merge || nil )) + tmp_table_size: (( merge || nil )) + wsrep_max_ws_rows: (( merge || nil )) + wsrep_max_ws_size: (( merge || nil )) + syslog_aggregator: (( meta.syslog_aggregator )) + network_name: mysql1 + skip_name_resolve: (( merge || nil )) + bootstrap_endpoint: + username: (( merge )) + password: (( merge )) + +- name: mysql_z2 + release: cf-mysql + template: mysql + instances: (( merge || 1 )) + resource_pool: mysql_z2 + persistent_disk_pool: (( disk_pools.[0].name )) + networks: + - name: mysql2 + static_ips: (( merge || static_ips(0) )) + properties: + <<: (( merge || nil )) + admin_password: (( jobs.mysql_z1.properties.admin_password )) + cluster_ips: (( jobs.mysql_z1.properties.cluster_ips )) + seeded_databases: ~ + database_startup_timeout: (( jobs.mysql_z1.properties.database_startup_timeout )) + max_heap_table_size: (( jobs.mysql_z1.properties.max_heap_table_size )) + tmp_table_size: (( jobs.mysql_z1.properties.tmp_table_size )) + wsrep_max_ws_rows: (( jobs.mysql_z1.properties.wsrep_max_ws_rows )) + wsrep_max_ws_size: (( jobs.mysql_z1.properties.wsrep_max_ws_size )) + syslog_aggregator: (( meta.syslog_aggregator )) + network_name: mysql2 + skip_name_resolve: (( jobs.mysql_z1.properties.skip_name_resolve )) + bootstrap_endpoint: (( jobs.mysql_z1.properties.bootstrap_endpoint )) + +- name: mysql_z3 + release: cf-mysql + template: mysql + instances: (( merge || 1 )) + resource_pool: mysql_z3 + persistent_disk_pool: (( disk_pools.[0].name )) + networks: + - name: mysql3 + static_ips: (( merge || static_ips(0) )) + properties: + <<: (( merge || nil )) + admin_password: (( jobs.mysql_z1.properties.admin_password )) + cluster_ips: (( jobs.mysql_z1.properties.cluster_ips )) + seeded_databases: ~ + database_startup_timeout: (( jobs.mysql_z1.properties.database_startup_timeout )) + max_heap_table_size: (( jobs.mysql_z1.properties.max_heap_table_size )) + tmp_table_size: (( jobs.mysql_z1.properties.tmp_table_size )) + wsrep_max_ws_rows: (( jobs.mysql_z1.properties.wsrep_max_ws_rows )) + wsrep_max_ws_size: (( jobs.mysql_z1.properties.wsrep_max_ws_size )) + syslog_aggregator: (( meta.syslog_aggregator )) + network_name: mysql3 + skip_name_resolve: (( jobs.mysql_z1.properties.skip_name_resolve )) + bootstrap_endpoint: (( jobs.mysql_z1.properties.bootstrap_endpoint )) + +- name: proxy_z1 + release: cf-mysql + template: proxy + instances: (( merge || 1 )) + resource_pool: proxy_z1 + networks: + - name: mysql1 + static_ips: (( merge || static_ips(1) )) + properties: + <<: (( merge || nil )) + proxy: + <<: (( merge || nil )) + health_port: (( merge || nil )) + api_force_https: (( merge || nil )) + api_username: (( merge )) + api_password: (( merge )) + proxy_ips: (( merge || .properties.default_proxy_ips )) + cluster_ips: (( jobs.mysql_z1.properties.cluster_ips )) + network_name: mysql1 + external_host: (( "p-mysql." .properties.domain )) + nats: (( .properties.nats )) + syslog_aggregator: (( meta.syslog_aggregator )) + standalone: (( .properties.standalone )) + +- name: proxy_z2 + release: cf-mysql + template: proxy + instances: (( merge || 1 )) + resource_pool: proxy_z2 + networks: + - name: mysql2 + static_ips: (( merge || static_ips(1) )) + properties: + <<: (( merge || nil )) + proxy: + <<: (( merge || nil )) + health_port: (( jobs.proxy_z1.properties.proxy.health_port )) + api_force_https: (( jobs.proxy_z1.properties.proxy.api_force_https )) + api_username: (( jobs.proxy_z1.properties.proxy.api_username )) + api_password: (( jobs.proxy_z1.properties.proxy.api_password )) + proxy_ips: (( jobs.proxy_z1.properties.proxy.proxy_ips )) + cluster_ips: (( jobs.mysql_z1.properties.cluster_ips )) + network_name: mysql2 + external_host: (( "p-mysql." .properties.domain )) + nats: (( .properties.nats )) + syslog_aggregator: (( meta.syslog_aggregator )) + standalone: (( .properties.standalone )) + +- name: cf-mysql-broker_z1 + release: cf-mysql + template: cf-mysql-broker + instances: (( merge || 1 )) + resource_pool: cf-mysql-broker_z1 + networks: + - name: mysql1 + properties: + <<: (( merge || nil )) + max_user_connections_default: (( merge || 40 )) + syslog_aggregator: (( meta.syslog_aggregator )) + network_name: mysql1 + ssl_enabled: (( merge || nil )) + skip_ssl_validation: (( .properties.cf.skip_ssl_validation )) + auth_username: (( merge )) + auth_password: (( merge )) + cookie_secret: (( merge )) + external_host: (( merge || "p-mysql." .properties.domain )) + cc_api_uri: (( .properties.cf.api_url )) + nats: (( .properties.nats )) + networks: + broker_network: mysql1 + services: + - name: p-mysql + plan_updateable: (( merge || true )) + id: 44b26033-1f54-4087-b7bc-da9652c2a539 + description: MySQL databases on demand + tags: + - mysql + metadata: + displayName: "MySQL for Cloud Foundry" + imageUrl: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAJo5JREFUeNrsXQtsVNeZvvPwzBiD3zyNwxgWhEKqmEibR9skdhQtaao2Rqtks4+qthKp1e5KxKhVCg3BbrKOst3lIW2rrUQVR5W2adgKp92ikG1ik2RbkpWCs4WWQomHVyAY8NhgPDOex97v+F4zHs97zrlz7z3/Jw1j/Ji5c+/9vv9x/v8/DoVgK9Rt7/arT37tv7XqozXT7zorK1clotFgYnp6PMtLDquPoPZ1YKxvd4DOsn3goFNgOYK3asRuUx81SQRvM/hQhpIEYlz7f1AViGG6SiQABH6WHMS+U/u61SKHDxGAp/CxJgzDqjAE6aqSABAyE75NI/iD2rPfZh8xoAnDYdfCquEr218coqtOAiC7K9+hEb5N0tMw5PBUHE5EpgcodCABsDvha5MI36HF8YRbQIgw4PR5D8dD4QEKGUgA7BLHg+yPSWzli7sx3e4hxeV8w11bO3B5y7YAnRESAKtZ+i2KdZJ2pobT6x2Oh8N74SGQZ0ACYFbig/Rf18hPEHGzulzqP44BR0XFq1d39A3QGSEBMIOLD0vfSTG94WIQdHi9/a5FC/dSiEACYCgaXtjeEZ+aImtvnnzBQCIa3auGB0N0NkgARFp8WPqdiv3W6O1xM3s9gUQ40qsKQT+dDRIAXqSHa/+M5uqTm2+R8MBZ6dvrXe3fc+HJpylpSAJAxCchICEgASDikxCQEJAAZCF/DxHf/kJwZfuLPXQ2SACSid+pUHJPnpve6wk4fb7eK8/29pMAyE38No34bUQLCW9+t3vI3VDfe3nLtiESAPni/N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gXwKhwxPGoK8gkHFmTgPYp80U42CujxScByCYEfc/1xKdCW6yYH5gX36tigKQhle/Oi/P3qsTvoVNBApAWTa/tqw1/EnjGLkJAuEV89bFHVlefBICEgIhPIAEgISDiE0gAikLd9u5Oh9dj2WShBAgolNwjATBACNocbveWRDTaQWfDFECn3l67deqRAJgcrLz4+o0tiXC4k8KDsrj5/RrxA3Q6SADKioYXtnckpqe/riQSHXacSmQya/+qlefwkQDYOzyAJ9Dh9Hq3xMPhVjojXIDhm0jqDVBSjwTAUiFCNBjsUGLxxxLRaBudkYKAeP4NjfTk4pMAWN8zcPq8HfFQ+EF4COqDcgbzY3q49YfJ0pMAyCAIrQ5PRUciMg1BkNU7GEoi/DDdFSQA0qKx77m22I1J5AwgCHj22+wjBrRYHoQfpiU7EgBCjpBBEwJ4B3dqgmCVpOKwRviPNSs/TC49CQCBU+ig5Q8gDDVJomB0GDGURPZx7f9BcuVJAAjlFQh/UvhQy8FrAKF16x2gjLy98P8CDADMneNqQ66ddAAAAABJRU5ErkJggg==" + longDescription: "Creating a service instance provisions a database. Binding applications provisions unique credentials for each application to access the database." + providerDisplayName: "Cloud Foundry Foundation" + documentationUrl: "https://github.com/cloudfoundry/cf-mysql-release/blob/master/README.md" + supportUrl: "http://docs.cloudfoundry.org/" + dashboard_client: + id: p-mysql + secret: (( merge )) + plans: (( merge )) + mysql_node: + host: (( merge || jobs.proxy_z1.networks.mysql1.static_ips.[0] )) + admin_password: (( jobs.mysql_z1.properties.admin_password )) + persistent_disk: (( disk_pools.[0].disk_size )) + +- name: cf-mysql-broker_z2 + release: cf-mysql + template: cf-mysql-broker + instances: (( merge || 1 )) + resource_pool: cf-mysql-broker_z2 + networks: + - name: mysql2 + properties: + <<: (( merge || nil )) + max_user_connections_default: (( merge || 40 )) + syslog_aggregator: (( meta.syslog_aggregator )) + network_name: mysql2 + auth_username: (( jobs.cf-mysql-broker_z1.properties.auth_username )) + auth_password: (( jobs.cf-mysql-broker_z1.properties.auth_password )) + cookie_secret: (( jobs.cf-mysql-broker_z1.properties.cookie_secret )) + ssl_enabled: (( jobs.cf-mysql-broker_z1.properties.ssl_enabled || nil )) + skip_ssl_validation: (( jobs.cf-mysql-broker_z1.properties.skip_ssl_validation )) + external_host: (( "p-mysql." .properties.domain )) + cc_api_uri: (( jobs.cf-mysql-broker_z1.properties.cc_api_uri )) + nats: (( .properties.nats )) + networks: + broker_network: mysql2 + services: (( jobs.cf-mysql-broker_z1.properties.services )) + mysql_node: (( jobs.cf-mysql-broker_z1.properties.mysql_node )) + +- name: broker-registrar + template: broker-registrar + release: cf-mysql + instances: 1 + resource_pool: errands_z1 + lifecycle: errand + networks: + - name: mysql1 + properties: + cf: (( .properties.cf )) + broker: + name: p-mysql + host: (( jobs.cf-mysql-broker_z1.properties.external_host )) + username: (( jobs.cf-mysql-broker_z1.properties.auth_username )) + password: (( jobs.cf-mysql-broker_z1.properties.auth_password )) + services: (( jobs.cf-mysql-broker_z1.properties.services )) + +- name: broker-deregistrar + template: broker-deregistrar + release: cf-mysql + instances: 1 + resource_pool: errands_z1 + lifecycle: errand + networks: + - name: mysql1 + properties: + cf: (( .properties.cf )) + broker: + name: p-mysql + +- name: acceptance-tests + template: acceptance-tests + release: cf-mysql + instances: 1 + resource_pool: errands_z1 + lifecycle: errand + networks: + - name: mysql1 + properties: + <<: (( merge || nil )) + smoke_tests_only: (( merge || nil )) + standalone_tests_only: (( .properties.standalone )) + proxy: + external_host: (( jobs.proxy_z1.properties.external_host )) + proxy_count: (( merge || 2 )) + api_username: (( jobs.proxy_z1.properties.proxy.api_username )) + api_password: (( jobs.proxy_z1.properties.proxy.api_password )) + api_force_https: (( jobs.proxy_z1.properties.proxy.api_force_https )) + skip_ssl_validation: (( merge || nil )) + cf: (( .properties.cf )) + broker: + host: (( jobs.cf-mysql-broker_z1.properties.external_host )) + service: + max_user_connections_default: (( jobs.cf-mysql-broker_z1.properties.max_user_connections_default )) + name: (( jobs.cf-mysql-broker_z1.properties.services.[0].name )) + plans: (( jobs.cf-mysql-broker_z1.properties.services.[0].plans )) + standalone: + host: (( merge || jobs.proxy_z1.networks.[0].static_ips.[0] )) + port: (( jobs.mysql_z1.properties.port || nil )) + username: (( jobs.mysql_z1.properties.admin_username || nil )) + password: (( jobs.mysql_z1.properties.admin_password || nil )) + +- name: bootstrap + template: bootstrap + release: cf-mysql + instances: 1 + resource_pool: errands_z1 + lifecycle: errand + networks: + - name: mysql1 + properties: + cluster_ips: (( jobs.mysql_z1.properties.cluster_ips )) + healthcheck_port: (( merge || nil )) + database_startup_timeout: (( jobs.mysql_z1.properties.database_startup_timeout )) + bootstrap_endpoint: (( jobs.mysql_z1.properties.bootstrap_endpoint ))