-
Notifications
You must be signed in to change notification settings - Fork 55
/
shippable.resources.yml
164 lines (143 loc) · 3.45 KB
/
shippable.resources.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
161
162
163
164
resources:
- name: dv-image
type: image
integration: ric03uec-dh
pointer:
sourceName: "library/nginx"
seed:
versionName: latest
- name: dv-opts
type: dockerOptions
version:
memory: 64
cpuShares: 256
portMappings:
- "80:80"
- name: dv-params
type: params
version:
params:
MONGO_API_URL: "localhost:28017"
flags:
- dv
- name: box-image
type: image
integration: ric03uec-dh
pointer:
sourceName: "aye0aye/box"
seed:
versionName: "master.35"
- name: box-params
type: params
version:
params:
DB_HOST: "ds015700.mlab.com"
DB_NAME: "ayeaye"
DB_PORT: "15700"
DB_USERNAME: "aye0aye"
DB_PASSWORD: "aye0aye"
ENVIRONMENT: "test-aws"
flags:
- box
- name: box-opts
type: dockerOptions
version:
memory: 64
cpuShares: 512
- name: env-prod
type: cluster
integration: ric03uec-ecs
pointer:
sourceName : "prod-aws" #name of the cluster we are deploying
region: "us-east-1"
- name: env-test
type: cluster
integration: ric03uec-ecs
pointer:
sourceName : "test-aws" #name of the cluster we are deploying
region: "us-east-1"
- name: box-scaler
type: replicas
version:
count: 1
flags:
- replicas
- name: env-dcl
type: cluster
integration: sid-dcl
pointer:
sourceName : "docker-cloud-node" #name of the cluster we are deploying
- name: env-gke
type: cluster
integration: gke-int
pointer:
sourceName: "sid-test-gke-cluster-1" #name of the cluster we are deploying.
region: "us-central1-b"
- name: version-resource
type: version
seed:
versionName: "0.0.1-beta"
- name: env-tripub
type: cluster
integration: tripub-int
pointer:
region: "us-east-1"
flags:
- tripub
- name: box-tripub-opts
type: dockerOptions
version:
memory: 128
#Triton has standard values for memory 128,512 etc.
#If non standard values is given in the memory, it chooses the closest
#standard memory value. Triton also uses this value to choose the plan
#and cpu-shares
publishAllPorts : true
#publishAllPorts assigns a public ip to the container and gives endpoint
#for accessing the exposed ports.
flags:
- tripub
- name: infra-repo
type: gitRepo
integration: github
pointer:
sourceName: shippableSamples/infra-repo
branch: master
# This time resource posts new versions for it, every 2 minutes
- name: nightly
type: time
seed:
interval: "*/2 * * * *"
flags:
- nightly
- name: slackNotification
type: notification
integration: slack
pointer:
recipients:
- "#slackchannel"
- name: myEmail
type: notification
pointer:
method: email
recipients:
- name: slackIntegration
type: integration
integration: slack
- name: app-package-jfrog
type: file
integration: xyzcompany-jfrog
pointer:
sourceName: pages/index.html
seed:
versionName: initial
- name: app-package-rawFile
type: file
pointer:
sourceName: https://raw.githubusercontent.com/shippableSamples/sample_pipelines/master/shippable.resources.yml
seed:
versionName: initial
- name: app-cluster
type: cluster
integration: xyzcompany-node-cluster