Skip to content

Commit

Permalink
fixes for installing manage, and param for demo data
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudnativetoolkit committed Oct 15, 2023
1 parent c686117 commit 0e7bae1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions 8.11.x/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
type: string
description: "controls whether Maximo Manage and CP4D+Cognos is installed"
default: "false"
- name: install-demo-data
type: string
description: "install demo data, adds 2+ hours to install time"
default: "false"
- name: license-file-secret-name
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"
type: string
Expand Down Expand Up @@ -272,23 +276,27 @@ spec:
params:
- name: mas-instance-id
value: "$(params.mas-instance-id)"
- name: install-demo-data
value: "$(params.install-demo-data)"
taskSpec:
workspaces:
- name: ws
params:
- name: mas-instance-id
- name: install-demo-data
steps:
- name: run-mas-cli
image: quay.io/ibmmas/cli:latest
script: |
#!/usr/bin/env bash
export MAS_INSTANCE_ID=$(params.mas-instance-id)
export MAS_CONFIG_DIR=$(workspaces.ws.path)/masconfig
export MAS_CONFIG_SCOPE=system
export IBM_ENTITLEMENT_KEY=$(cat $(workspaces.ws.path)/ek.dat)
export MAS_APP_ID=manage
export MAS_APPWS_COMPONENTS="base=latest,health=latest"
export MAS_APP_SETTINGS_DEMODATA=true
export MAS_APPWS_COMPONENTS="base=latest"
export MAS_APP_SETTINGS_DEMODATA=$(params.install-demo-data)
export CPD_INSTALL_PLATFORM="true"
export CPD_INSTALL_COGNOS="true"
Expand Down

0 comments on commit 0e7bae1

Please sign in to comment.