Skip to content

Commit c927500

Browse files
authored
Merge pull request #2 from cloud-native-toolkit/dls-manage
add cp4d and maximo manage
2 parents 16990fc + 0f6c2a4 commit c927500

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

8.11.x/pipeline.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ spec:
2828
type: string
2929
description: "Controls version of Maximo Operators. Do not change this unless you know what you are doing."
3030
default: "8.11.x"
31+
- name: mas-install-cp4d-manage
32+
type: string
33+
description: "controls whether Maximo Manage and CP4D+Cognos is installed"
34+
default: "false"
3135
- name: license-file-secret-name
3236
description: "Store your BYOL license key stored as a base64 encoded arbitrary secret in the kube-system namespace. provide the name of the secret here. the defaul is false which means the pipeline will attempt to download a techzone license"
3337
type: string
@@ -225,6 +229,7 @@ spec:
225229
fi
226230
- name: install-mas
227231
retries: 2
232+
timeout: "3h"
228233
runAfter:
229234
- get-tls-certs
230235
- get-maximo-licensefile
@@ -295,3 +300,39 @@ spec:
295300
export MAS_WORKSPACE_NAME=$(params.mas-workspace-name)
296301
297302
ansible-playbook ibm.mas_devops.oneclick_core
303+
- name: install-cp4d-manage
304+
when:
305+
- input: "$(params.mas-install-cp4d-manage)"
306+
operator: in
307+
values: ["true"]
308+
retries: 2
309+
timeout: "3h"
310+
runAfter:
311+
- install-mas
312+
workspaces:
313+
- name: ws
314+
params:
315+
- name: mas-instance-id
316+
value: "$(params.mas-instance-id)"
317+
taskSpec:
318+
workspaces:
319+
- name: ws
320+
params:
321+
- name: mas-instance-id
322+
steps:
323+
- name: run-mas-cli
324+
image: quay.io/ibmmas/cli:latest
325+
script: |
326+
#!/usr/bin/env bash
327+
export MAS_INSTANCE_ID=$(params.mas-instance-id)
328+
export MAS_CONFIG_DIR=$(workspaces.ws.path)/masconfig
329+
export IBM_ENTITLEMENT_KEY=$(cat $(workspaces.ws.path)/ek.dat)
330+
export MAS_APP_ID=manage
331+
332+
export MAS_APPWS_COMPONENTS="base=latest,health=latest"
333+
334+
export CPD_INSTALL_PLATFORM="true"
335+
export CPD_INSTALL_COGNOS="true"
336+
export CPD_PRODUCT_VERSION="4.6.6"
337+
338+
ansible-playbook ibm.mas_devops.oneclick_add_manage

0 commit comments

Comments
 (0)