-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuildconfig.yaml
More file actions
53 lines (53 loc) · 1.16 KB
/
buildconfig.yaml
File metadata and controls
53 lines (53 loc) · 1.16 KB
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
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
name: workshop-docs
namespace: openshift
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
creationTimestamp: null
name: system:image-pusher
namespace: openshift
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:image-pusher
subjects:
- kind: ServiceAccount
name: builder
namespace: workshop-build
---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: workshop-docs-build
namespace: workshop-build
spec:
failedBuildsHistoryLimit: 3
output:
to:
kind: ImageStreamTag
name: workshop-docs:latest
namespace: openshift
runPolicy: Serial
source:
git:
uri: https://github.com/na-launch/developer-experience-workshop-docs.git
ref: main
type: Git
strategy:
dockerStrategy:
dockerfilePath: Containerfile
env:
- name: http_proxy
value: 'http://notused:3128'
- name: https_proxy
value: 'https://notused:3128'
- name: no_proxy
value: '*'
type: Docker
successfulBuildsHistoryLimit: 3
triggers:
- type: ConfigChange