blob: 322b17e026fb42e6ae6e7cf27f3b310df50ce744 (
plain)
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
|
apiVersion: v1
kind: Template
metadata:
name: adei-debug-build
labels:
app: adei
annotations:
descriptions: "ADEI/Debug Build"
objects:
- kind: ImageStream
apiVersion: v1
metadata:
name: adei-debug
- kind: "BuildConfig"
apiVersion: "v1"
metadata:
name: "adei-debug"
spec:
# runPolicy: "Serial"
successfulBuildsHistoryLimit: "{{ adei_pod_history_limit }}"
failedBuildsHistoryLimit: "{{ adei_pod_history_limit }}"
triggers:
- type: "ConfigChange"
- type: "ImageChange"
imageChange: {}
source:
type: "Git"
git:
uri: "http://adei.info/git/csa/devops/docker/adei.git"
contextDir: "adei-debug"
strategy:
dockerStrategy:
dockerfilePath: Dockerfile
from:
kind: "ImageStreamTag"
name: "adei:latest"
output:
to:
kind: "ImageStreamTag"
name: "adei-debug:latest"
imageLabels:
- name: "vendor"
value: "KIT"
- name: "author"
value: "Suren A. Chilingaryan"
- name: "authoritative-source-url"
value: "adei.info"
|