-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild-config.yaml
43 lines (43 loc) · 1.11 KB
/
build-config.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
kind: BuildConfig
apiVersion: build.openshift.io/v1
metadata:
annotations:
app.openshift.io/vcs-ref: ''
app.openshift.io/vcs-uri: 'https://github.com/kamkie/ubuntu-jenkins-slave'
name: ubuntu-jenkins-slave
namespace: jenkins2
labels:
app: ubuntu-jenkins-slave
app.kubernetes.io/component: ubuntu-jenkins-slave
app.kubernetes.io/instance: ubuntu-jenkins-slave
app.kubernetes.io/part-of: ubuntu-jenkins-slave-app
spec:
nodeSelector: null
output:
to:
kind: ImageStreamTag
name: 'ubuntu-jenkins-slave:latest'
resources: {}
successfulBuildsHistoryLimit: 5
failedBuildsHistoryLimit: 5
strategy:
type: Docker
dockerStrategy:
dockerfilePath: Dockerfile
postCommit: {}
source:
type: Git
git:
uri: 'https://github.com/kamkie/ubuntu-jenkins-slave'
contextDir: /
triggers:
- type: Generic
generic:
secretReference:
name: ubuntu-jenkins-slave-generic-webhook-secret
- type: GitHub
github:
secretReference:
name: ubuntu-jenkins-slave-github-webhook-secret
- type: ConfigChange
runPolicy: Serial