-
Notifications
You must be signed in to change notification settings - Fork 5
/
limesurvey-bcgov.bc.yaml
66 lines (66 loc) · 1.54 KB
/
limesurvey-bcgov.bc.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
---
kind: Template
apiVersion: template.openshift.io/v1
labels:
app: "limesurvey"
metadata:
name: "nrms-limesurvey-bc"
objects:
- kind: ImageStream
apiVersion: v1
metadata:
name: "${NAME}"
labels:
app: "${NAME}"
spec:
lookupPolicy:
local: false
- kind: BuildConfig
apiVersion: v1
metadata:
name: "${NAME}"
labels:
buildconfig: "${NAME}"
app: "${NAME}"
spec:
source:
type: Git
git:
uri: https://github.com/garywong-bc/nrm-survey
contextDir: backend
strategy:
type: Docker
dockerStrategy:
dockerfilePath: Dockerfile
buildArgs:
- name: DOCKER_REGISTRY
value: docker-remote.artifacts.developer.gov.bc.ca
pullSecret:
name: docker-pull-passthru
completionDeadlineSeconds: 600
failedBuildsHistoryLimit: 3
successfulBuildsHistoryLimit: 3
output:
to:
kind: ImageStreamTag
name: "${NAME}:${VERSION}"
postCommit: {}
resources:
limits:
cpu: 1800m
memory: 750Mi
requests:
cpu: 1200m
memory: 500Mi
runPolicy: SerialLatestOnly
parameters:
- name: NAME
displayName: Name
description: The name assigned to all of the objects defined in this template.
required: true
value: limesurvey-bcgov
- name: VERSION
displayName: Image version tag
description: The version tag of the built image
required: true
value: latest