summaryrefslogtreecommitdiffstats
path: root/setup/projects/adei/templates/10-adei-build.yml.j2
blob: f9612190e63399fad74d5131d67f1aae8c8df0d8 (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
apiVersion: v1
kind: Template
metadata:
  name: adei-build
  annotations:
    descriptions: "ADEI Build"
objects:
  - kind: ImageStream
    apiVersion: v1
    metadata:
      name: adei
      labels:
        name: adei
  - kind: "BuildConfig"
    apiVersion: "v1"
    metadata:
      name: "adei"
      labels:
        name: adei
    spec:
#      runPolicy: "Serial"
      triggers: 
        - type: "ConfigChange"
      source: 
        type: "Git"
        git:
          uri: "http://adei.info/git/csa/devops/docker/adei.git"
        contextDir: "adei"
      strategy: 
        dockerStrategy:
          dockerfilePath: Dockerfile
      output: 
        to:
          kind: "ImageStreamTag"
          name: "adei:latest"
        imageLabels:
        - name: "vendor"
          value: "KIT"
        - name: "author"
          value: "Suren A. Chilingaryan"
        - name: "authoritative-source-url"
          value: "adei.info"