donal
2018-04-19 cb933d400035237a65f811748109746a3289504f
commit | author | age
2c08e4 1 ---
D 2 kind: Template
3 apiVersion: v1
4 metadata:
5   name: todolist-fe-build
6   annotations:
7     openshift.io/display-name: S2I App Build Template
8     description: S2I binary build config to create an image with your app baked in.
9     iconClass: fa-cube
10     tags: s2i
11 objects:
12 - apiVersion: v1
13   kind: BuildConfig
14   metadata:
15     labels:
16       build: "${NAME}"
17     name: "${NAME}"
18   spec:
19     nodeSelector:
20     output:
21       to:
22         kind: ImageStreamTag
23         name: "${NAME}:{BUILD_TAG}"
24     postCommit: {}
25     resources: {}
26     runPolicy: Serial
27     source:
28       binary: {}
29       type: Binary
30     strategy:
31       dockerStrategy:
32         dockerfilePath: Dockerfile
33   status:
34     lastVersion: 1
35 - apiVersion: v1
36   kind: ImageStream
37   metadata:
38     labels:
39       build: "${NAME}"
40     name: "${NAME}"
41   spec: {}
42 parameters:
43 - name: NAME
44   displayName: Name
45   description: The name assigned to all objects and the resulting imagestream.
46   required: true
47   value: s2i-app
48 - name: BUILD_TAG
49   displayName: Build Tag for Docker image
50   description: The tag to apply to the Docker image being built.
51   required: true
52   value: latest
53 labels:
54   template: todolist-fe-build-template