-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpromenade-ws-server.yaml
77 lines (71 loc) · 1.58 KB
/
promenade-ws-server.yaml
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
kind: "BuildConfig"
apiVersion: "v1"
metadata:
name: "promenade-ws-server"
namespace: promenade
spec:
runPolicy: "Serial"
triggers:
- type: "GitHub"
github:
secretReference:
name: "promenade-ws-server-secret"
source:
git:
ref: master
uri: 'https://github.com/licit-lab/promenade-ws-server'
sourceSecret:
name: github
type: Git
strategy:
type: "Docker"
output:
to:
kind: "ImageStreamTag"
name: "promenade-ws-server:latest"
# postCommit:
# script: "bundle exec rake test"
---
- kind: Secret
apiVersion: v1
metadata:
name: "promenade-ws-server-secret"
data:
WebHookSecretKey: f5SepgQ7lwVplSLr
---
apiVersion: v1
kind: ImageStream
metadata:
labels:
application: promenade-ws-server
name: promenade-ws-server
namespace: promenade
---
kind: "DeploymentConfig"
apiVersion: "v1"
metadata:
name: "promenade-ws-server"
spec:
template:
metadata:
labels:
name: "promenade-ws-server"
spec:
containers:
- name: "promenade-ws-server-container"
image: "promenade/promenade-ws-server"
ports:
- containerPort: 8025
protocol: "TCP"
replicas: 1
triggers:
- type: "ImageChange"
imageChangeParams:
automatic: true
containerNames:
- "promenade-ws-server-container"
from:
kind: "ImageStreamTag"
name: "promenade-ws-server:latest"
strategy:
type: "Rolling"