Skip to content

Commit 0e7bae1

Browse files
fixes for installing manage, and param for demo data
1 parent c686117 commit 0e7bae1

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

8.11.x/pipeline.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ spec:
1515
type: string
1616
description: "controls whether Maximo Manage and CP4D+Cognos is installed"
1717
default: "false"
18+
- name: install-demo-data
19+
type: string
20+
description: "install demo data, adds 2+ hours to install time"
21+
default: "false"
1822
- name: license-file-secret-name
1923
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"
2024
type: string
@@ -272,23 +276,27 @@ spec:
272276
params:
273277
- name: mas-instance-id
274278
value: "$(params.mas-instance-id)"
279+
- name: install-demo-data
280+
value: "$(params.install-demo-data)"
275281
taskSpec:
276282
workspaces:
277283
- name: ws
278284
params:
279285
- name: mas-instance-id
286+
- name: install-demo-data
280287
steps:
281288
- name: run-mas-cli
282289
image: quay.io/ibmmas/cli:latest
283290
script: |
284291
#!/usr/bin/env bash
285292
export MAS_INSTANCE_ID=$(params.mas-instance-id)
286293
export MAS_CONFIG_DIR=$(workspaces.ws.path)/masconfig
294+
export MAS_CONFIG_SCOPE=system
287295
export IBM_ENTITLEMENT_KEY=$(cat $(workspaces.ws.path)/ek.dat)
288296
export MAS_APP_ID=manage
289297
290-
export MAS_APPWS_COMPONENTS="base=latest,health=latest"
291-
export MAS_APP_SETTINGS_DEMODATA=true
298+
export MAS_APPWS_COMPONENTS="base=latest"
299+
export MAS_APP_SETTINGS_DEMODATA=$(params.install-demo-data)
292300
293301
export CPD_INSTALL_PLATFORM="true"
294302
export CPD_INSTALL_COGNOS="true"

0 commit comments

Comments
 (0)