File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,13 +4,6 @@ kind: PipelineRun
44metadata :
55 generateName : pr-mas-devops-
66spec :
7- params :
8- - name : uds-email
9- value : " dev-techzone@ibm.com"
10- - name : uds-firstname
11- value : " TechZone"
12- - name : uds-lastname
13- value : " Developer"
147 workspaces :
158 - name : ws
169 volumeClaimTemplate :
2215 storage : 1Gi
2316 timeouts :
2417 pipeline : " 0"
25- tasks : " 3h "
18+ tasks : " 4h "
2619 pipelineRef :
2720 name : mas-masdevops-deploy
2821 podTemplate :
Original file line number Diff line number Diff line change @@ -221,6 +221,23 @@ spec:
221221 cat $(workspaces.ws.path)/masconfig/certs/core/tls.key
222222 cat $(workspaces.ws.path)/masconfig/certs/core/tls.crt
223223
224+ # copy to app directories
225+ echo "copying to app directories..."
226+ mkdir -p $(workspaces.ws.path)/masconfig/certs/iot/
227+ mkdir -p $(workspaces.ws.path)/masconfig/certs/manage/
228+ mkdir -p $(workspaces.ws.path)/masconfig/certs/monitor/
229+ mkdir -p $(workspaces.ws.path)/masconfig/certs/add/
230+ mkdir -p $(workspaces.ws.path)/masconfig/certs/assist/
231+ mkdir -p $(workspaces.ws.path)/masconfig/certs/optimizer/
232+ mkdir -p $(workspaces.ws.path)/masconfig/certs/visualinspection/
233+ cp $(workspaces.ws.path)/masconfig/certs/core/* $(workspaces.ws.path)/masconfig/certs/iot/
234+ cp $(workspaces.ws.path)/masconfig/certs/core/* $(workspaces.ws.path)/masconfig/certs/manage/
235+ cp $(workspaces.ws.path)/masconfig/certs/core/* $(workspaces.ws.path)/masconfig/certs/monitor/
236+ cp $(workspaces.ws.path)/masconfig/certs/core/* $(workspaces.ws.path)/masconfig/certs/add/
237+ cp $(workspaces.ws.path)/masconfig/certs/core/* $(workspaces.ws.path)/masconfig/certs/assist/
238+ cp $(workspaces.ws.path)/masconfig/certs/core/* $(workspaces.ws.path)/masconfig/certs/optimizer/
239+ cp $(workspaces.ws.path)/masconfig/certs/core/* $(workspaces.ws.path)/masconfig/certs/visualinspection/
240+
224241 # copy letsencrypt-certs secret to the name where maximo is expecting to find it.
225242 if oc get secret -n openshift-ingress router-certs-default; then
226243 echo "router-certs-default secret already exists"
You can’t perform that action at this time.
0 commit comments