summaryrefslogtreecommitdiffstats
path: root/setup/projects/kaas/templates/10-kaas-builder.yml.j2
blob: 52066a58c8d89813075c6582909ba35398ec1d97 (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
apiVersion: v1
kind: Template
metadata:
  name: kaas-manager-build
  labels:
    app: kaas-manager
  annotations:
    descriptions: "KaaS Data Manager Build"
objects:
  - kind: ImageStream
    apiVersion: v1
    metadata:
      name: kaas-manager
  - kind: "BuildConfig"
    apiVersion: "v1"
    metadata:
      name: "kaas-manager"
    spec:
#      runPolicy: "Serial"
      successfulBuildsHistoryLimit: "{{ kaas_pod_history_limit }}"
      failedBuildsHistoryLimit: "{{ kaas_pod_history_limit }}"
      triggers: 
        - type: "ConfigChange"
      source: 
        type: "Git"
        git:
          uri: "http://adei.info/git/csa/devops/docker/ands-management.git"
      strategy: 
        dockerStrategy:
          dockerfilePath: Dockerfile
      output: 
        to:
          kind: "ImageStreamTag"
          name: "kaas-manager:latest"
        imageLabels:
        - name: "vendor"
          value: "KIT"
        - name: "author"
          value: "Suren A. Chilingaryan"
        - name: "authoritative-source-url"
          value: "adei.info"