-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtile.yml
103 lines (101 loc) · 3.1 KB
/
tile.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
---
# The high-level description of your tile.
# Replace these properties with real values.
#
name: ecs-tile # By convention lowercase with dashes
icon_file: resources/icon.png
label: Elastic Cloud Storage
description: Dell - EMC Software Defined Storage
# metadata_version: 1.8 # Optional, defaults to 1.5
# Global defaults (all optional)
#
# org: test-org # Name of org to create for your apps
# space: test-space # Name of space to create for your apps
apply_open_security_group: true # Apply open security group, default: false
# Specify the packages to be included in your tile.
# The format of the section to include depends on the type
# of package you are describing. For fragments of each type
# that you can copy & paste, see:
#
# https://github.com/cf-platform-eng/tile-generator/blob/master/README.md
#
packages:
- name: ecs
type: bosh-release
label: EMC ECS 3 Node Cluster # Package name for use in human-readable labels in OpsManager
path: resources/ecs.tgz
jobs:
- name: pcf_ecs_deploy
instances: 1
static_ip: 1
lifecycle: errand
post_deploy: true
templates:
- name: pcf
release: ecs-release
properties:
pcf:
dir_ip: (( $director.deployment_ip ))
dir_user: (( $director.username ))
dir_password: (( $director.password ))
ca_cert: (( $ops_manager.ca_certificate ))
configurable_properties:
vm_type: (( .properties.vm_type.value ))
network: (( .properties.network.value ))
server_azs: (( .properties.server_azs.value ))
provision_az: (( .properties.provision_az.value ))
docker_disk: (( .properties.docker_disk.value ))
ecs_disk: (( .properties.ecs_disk.value ))
stemcell: default
networks:
- name: default
cpu: 2
memory: 2048
- name: pcf_ecs_prov
instances: 1
static_ip: 1
lifecycle: errand
post_deploy: true
templates:
- name: pcf_provision
release: ecs-release
properties:
pcf:
dir_ip: (( $director.deployment_ip ))
dir_user: (( $director.username ))
dir_password: (( $director.password ))
ca_cert: (( $ops_manager.ca_certificate ))
stemcell: default
networks:
- name: default
cpu: 2
memory: 2048
forms:
- name: configurable_properties
label: Configurable Properties
description: All the properties that you can configure!
properties:
- name: vm_type
type: string
label: vm type
description: The VM type defined by your Cloud Configuration
- name: network
type: string
label: Network Name
description: The network to deploy ECS on
- name: server_azs
type: string
label: Server AZs
description: The AZ's to deploy the servers on
- name: provision_az
type: string
label: Provision AZ
description: The AZ of the server to provision ECS on
- name: docker_disk
type: string
label: Docker disk
description: The disk type of the docker image deploying ECS
- name: ecs_disk
type: string
label: ECS disk
description: The disk type on which ECS is deployed