-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build config examle
51 lines (51 loc) · 1.25 KB
/
Build config examle
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
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: "2020-04-24T18:47:32Z"
labels:
app: ocpythonflask
name: ocpythonflask
namespace: flask1
resourceVersion: "23447549"
selfLink: /apis/build.openshift.io/v1/namespaces/flask1/buildconfigs/ocpythonflask
uid: 2ec49835-774b-495e-8a04-9a5d94552cbf
spec:
failedBuildsHistoryLimit: 5
nodeSelector: null
output:
to:
kind: ImageStreamTag
name: ocpythonflask:latest
postCommit:
command:
- pep8
- app.py
resources: {}
runPolicy: Serial
source:
git:
uri: https://github.com/jjasghar/oc_python_flask
type: Git
strategy:
sourceStrategy:
from:
kind: ImageStreamTag
name: python:3.6
namespace: openshift
type: Source
successfulBuildsHistoryLimit: 5
triggers:
- github:
secret: Dl51Rl22AMdeF4zo4Lev
type: GitHub
- generic:
secret: zgOS5yYu21j0M3m6THLo
type: Generic
- type: ConfigChange
- imageChange:
lastTriggeredImageID: image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:4ce4f00aeee0b987e768ef3c6f4bc03176e1c0a820469e138036e04778fa6336
type: ImageChange
status:
lastVersion: 8