Skip to content

Commit c109cdf

Browse files
remove params from pipeline run and add cert app directories
1 parent d448f78 commit c109cdf

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

8.11.x/pipeline-run.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ kind: PipelineRun
44
metadata:
55
generateName: pr-mas-devops-
66
spec:
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:
@@ -22,7 +15,7 @@ spec:
2215
storage: 1Gi
2316
timeouts:
2417
pipeline: "0"
25-
tasks: "3h"
18+
tasks: "4h"
2619
pipelineRef:
2720
name: mas-masdevops-deploy
2821
podTemplate:

8.11.x/pipeline.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)