-
Notifications
You must be signed in to change notification settings - Fork 1
/
continuous-pipe.yml
85 lines (75 loc) · 1.85 KB
/
continuous-pipe.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
variables:
- name: PUBLIC_ADDRESS
value: https://${SERVICE_WEBCE_PUBLIC_ENDPOINT}/
tasks:
images:
build:
services:
webce:
image: ${IMAGE_NAME}
naming_strategy: sha1
infrastructure:
deploy:
cluster: ${CLUSTER}
environment:
name: '"m1demo-" ~ code_reference.branch'
services:
database:
specification:
ports:
- 3306
deployment_strategy:
readiness_probe:
type: tcp
port: 3306
redis:
deployment_strategy:
readiness_probe:
type: tcp
port: 6379
specification:
ports:
- 6379
memcached:
specification:
ports:
- 11211
deployment_strategy:
readiness_probe:
type: tcp
port: 11211
reserve_ip:
deploy:
cluster: ${CLUSTER}
environment:
name: '"m1demo-" ~ code_reference.branch'
services:
webce:
specification:
source:
image: continuouspipe/landing-page
tag: latest
accessibility:
from_external: true
ports:
- 80
- 443
filter:
expression: 'tasks.infrastructure.services.database.created'
application:
deploy:
cluster: ${CLUSTER}
environment:
name: '"m1demo-" ~ code_reference.branch'
services:
webce:
specification:
accessibility:
from_external: true
environment_variables:
- name: PUBLIC_ADDRESS
value: https://${SERVICE_WEBCE_PUBLIC_ENDPOINT}/
deployment_strategy:
readiness_probe:
type: tcp
port: 80