-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup-build.yaml
62 lines (62 loc) · 1.37 KB
/
backup-build.yaml
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
52
53
54
55
56
57
58
59
60
61
62
apiVersion: v1
kind: Template
metadata:
annotations:
description: Build the http-backup Application
iconClass: icon-java
tags: java
name: http-backup-build
objects:
- apiVersion: v1
kind: ImageStream
metadata:
labels:
app: ${APPLICATION_NAME}
name: ${APPLICATION_NAME}
- apiVersion: v1
kind: BuildConfig
metadata:
creationTimestamp: null
labels:
app: ${APPLICATION_NAME}
application: ${APPLICATION_NAME}
template: jws31-tomcat8-basic-s2i
xpaas: 1.4.12
name: ${APPLICATION_NAME}-build
spec:
nodeSelector: null
output:
to:
kind: ImageStreamTag
name: ${APPLICATION_NAME}:latest
postCommit: {}
resources: {}
runPolicy: Serial
source:
git:
ref: master
uri: https://github.com/matallen/backup
type: Git
strategy:
sourceStrategy:
env:
- name: MAVEN_MIRROR_URL
- name: ARTIFACT_DIR
forcePull: true
from:
kind: ImageStreamTag
name: jboss-webserver31-tomcat8-openshift:1.2
namespace: openshift
type: Source
triggers:
- imageChange: {}
type: ImageChange
- type: ConfigChange
status:
lastVersion: 0
parameters:
- description: The name for the application.
displayName: Application name
name: APPLICATION_NAME
required: true
value: http-backup