File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 8
8
workspaces :
9
9
- name : pipeline-workspace
10
10
params :
11
- - name : git-repo
11
+ - name : GIT_REPO
12
12
description : The URL to the git repo
13
13
type : string
14
- - name : git-ref
14
+ - name : GIT_REF
15
15
description : The reference (branch or ref)
16
16
type : string
17
17
default : master
18
- - name : app-name
18
+ - name : APP_NAME
19
19
description : Name of the application
20
20
type : string
21
21
default : petshop
22
- - name : image-name
22
+ - name : IMAGE_NAME
23
23
description : The name of the image to build
24
24
type : string
25
- default : ' image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/$(params.app-name ):latest'
25
+ default : ' image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/$(params.APP_NAME ):latest'
26
26
tasks :
27
27
- name : git-clone
28
28
params :
29
29
- name : url
30
- value : $(params.git-repo )
30
+ value : $(params.GIT_REPO )
31
31
- name : revision
32
- value : $(params.git-ref )
32
+ value : $(params.GIT_REF )
33
33
- name : refspec
34
34
value : ' '
35
35
- name : submodules
@@ -105,7 +105,7 @@ spec:
105
105
- name : buildah
106
106
params :
107
107
- name : IMAGE
108
- value : $(params.image-name )
108
+ value : $(params.IMAGE_NAME )
109
109
- name : BUILDER_IMAGE
110
110
value : ' registry.redhat.io/rhel8/buildah@sha256:b48f410efa0ff8ab0db6ead420a5d8d866d64af846fece5efb185230d7ecf591'
111
111
- name : STORAGE_DRIVER
@@ -135,8 +135,8 @@ spec:
135
135
workspace : pipeline-workspace
136
136
- name : deploy-image
137
137
params :
138
- - name : image-name
139
- value : $(params.image-name )
138
+ - name : IMAGE_NAME
139
+ value : $(params.IMAGE_NAME )
140
140
- name : manifest-dir
141
141
value : k8s
142
142
runAfter :
You can’t perform that action at this time.
0 commit comments