Skip to content

Commit

Permalink
v1.5.2 OCI location
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien Chabrolles <s.chabrolles@fr.ibm.com>
  • Loading branch information
schabrolles committed Jun 3, 2024
1 parent 12decc1 commit 0e179da
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
4 changes: 2 additions & 2 deletions charts/cpd-install-pipeline/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.5.1
version: 1.5.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.5.1"
appVersion: "1.5.2"
34 changes: 22 additions & 12 deletions charts/cpd-install-pipeline/templates/cpd-install-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,44 +57,48 @@ spec:
- default: "false"
description: Set true if you want to enable ibm-scheduler
name: SCHEDULER
type: string
type: "boolean"
{{ if .Values.tektonPatch.activateEnum }}
enum: ["true", "false"]
{{ end }}
- name: ACCEPT_LICENCE
description: 'Please Accept LICENCE (set true)'
type: string
type: "boolean"
{{ if .Values.tektonPatch.activateEnum }}
enum: ["true", "false"]
{{ end }}
- default: "true"
description: 'Set false for non-prod environment '
name: PRODUCTION
type: string
type: "boolean"
{{ if .Values.tektonPatch.activateEnum }}
enum: ["true", "false"]
{{ end }}
- name: APPLY_MACHINECONFIG
description: Apply KubeletConfig for cloud-pak-for-data (PidsLimit)
type: string
type: "boolean"
default: "true"
{{ if .Values.tektonPatch.activateEnum }}
enum: ["true", "false"]
{{ end }}
- name: DB2_LIMITED_PRIV
description: Run DB2 pod in Limited Privilege mode
type: string
type: "boolean"
default: "false"
{{ if .Values.tektonPatch.activateEnum }}
enum: ["true", "false"]
{{ end }}
- default: "true"
description: Set true to download CASE as OCI, false to get CASE from Github.
name: CASE_FROM_OCI
type: string
type: "boolean"
{{ if .Values.tektonPatch.activateEnum }}
enum: ["true", "false"]
{{ end }}
{{ end }}
- default: "icr.io/cpopen"
description: if CASE_FROM_OCI=true, set the registry URL from which you want to download CASE packages
name: OCI_LOCATION
type: "string"
- default: "false"
description: (for watsonx.ai) Set true to preform the installation without GPU.
name: NO_GPU
Expand All @@ -108,6 +112,7 @@ spec:
type: string
tasks:
- name: kubelet-pod-pids-limit
retries: 10
params:
- name: OLM_UTILS_IMAGE
value: $(params.OLM_UTILS_IMAGE):$(params.VERSION){{- if ne .Values.arch "x86" -}} .{{ .Values.arch }}{{- end }}
Expand Down Expand Up @@ -192,7 +197,8 @@ spec:
--cert_manager_ns=$(params.PROJECT_CERT_MANAGER) \
--licensing_ns=$(params.PROJECT_LICENSE_SERVICE) \
--case_download=true \
--from_oci=$(params.CASE_FROM_OCI)
--from_oci=$(params.CASE_FROM_OCI) \
--oci_location=$(params.OCI_LOCATION)
runAfter:
- update-pull-secret
- kubelet-pod-pids-limit
Expand All @@ -214,7 +220,8 @@ spec:
--license_acceptance=$(params.ACCEPT_LICENCE) \
--scheduler_ns=$(params.PROJECT_SCHEDULING_SERVICE) \
--case_download=true \
--from_oci=$(params.CASE_FROM_OCI)
--from_oci=$(params.CASE_FROM_OCI) \
--oci_location=$(params.OCI_LOCATION)
runAfter:
- apply-cluster-components
taskRef:
Expand Down Expand Up @@ -257,7 +264,8 @@ spec:
--license_acceptance=$(params.ACCEPT_LICENCE) \
--block_storage_class=$(params.STG_CLASS_BLOCK) \
--case_download=true \
--from_oci=$(params.CASE_FROM_OCI)
--from_oci=$(params.CASE_FROM_OCI) \
--oci_location=$(params.OCI_LOCATION)
runAfter:
- authorize-inst-topology
taskRef:
Expand All @@ -276,7 +284,8 @@ spec:
--cpd_operator_ns=$(params.PROJECT_CPD_INST_OPERATORS) \
--components=cpd_platform \
--case_download=true \
--from_oci=$(params.CASE_FROM_OCI)
--from_oci=$(params.CASE_FROM_OCI) \
--oci_location=$(params.OCI_LOCATION)
runAfter:
- setup-inst-topology
taskRef:
Expand Down Expand Up @@ -346,7 +355,8 @@ spec:
--cpd_operator_ns=$(params.PROJECT_CPD_INST_OPERATORS) \
--components=$(params.COMPONENTS) \
--case_download=true \
--from_oci=$(params.CASE_FROM_OCI)
--from_oci=$(params.CASE_FROM_OCI) \
--oci_location=$(params.OCI_LOCATION)
runAfter:
- cpd-platform-apply-olm
- set-db2-limited-privs
Expand Down

0 comments on commit 0e179da

Please sign in to comment.