|
28 | 28 | type: string |
29 | 29 | description: "Controls version of Maximo Operators. Do not change this unless you know what you are doing." |
30 | 30 | 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" |
31 | 35 | - name: license-file-secret-name |
32 | 36 | 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" |
33 | 37 | type: string |
@@ -225,6 +229,7 @@ spec: |
225 | 229 | fi |
226 | 230 | - name: install-mas |
227 | 231 | retries: 2 |
| 232 | + timeout: "3h" |
228 | 233 | runAfter: |
229 | 234 | - get-tls-certs |
230 | 235 | - get-maximo-licensefile |
@@ -295,3 +300,39 @@ spec: |
295 | 300 | export MAS_WORKSPACE_NAME=$(params.mas-workspace-name) |
296 | 301 |
|
297 | 302 | 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