Skip to content

Commit d5dca6e

Browse files
authored
Merge pull request #29 from cloud-native-toolkit/dam-5.0.1
update for 5.0.1
2 parents 24fbd1a + 648dd94 commit d5dca6e

4 files changed

Lines changed: 80 additions & 57 deletions

File tree

cp4d/5.0.x-tse-l4-base/cp4d-cloud-pak-deployer-pipeline-run.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ spec:
2020
value: "false"
2121
- name: cpd-use-fs-iam
2222
value: "False"
23+
- name: cpd-sequential-install
24+
value: "True"
2325
- name: cloud-pak-deployer-version
24-
value: "v2.8.1"
26+
value: "v2.9.4"
2527
# - name: analyticsengine-state
2628
# value: "installed"
2729
# - name: spss-state

cp4d/5.0.x-tse-l4-base/cp4d-cloud-pak-deployer-pipeline.yaml

Lines changed: 42 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ spec:
4545
- name: ocp-client-version
4646
type: string
4747
description: Openshift client version
48-
default: "4.14"
4948
- name: cp4d-version
5049
type: string
5150
description: Cloud Pak for Data version
@@ -57,6 +56,17 @@ spec:
5756
type: string
5857
description: Should the cloud pak deployer delete components that already exist in the cluster if you don't define them? True to delete components, False to not delete components.
5958
default: "True"
59+
- name: cpd-sequential-install
60+
type: string
61+
description: |
62+
Do you want to install components sequentially?
63+
{
64+
"options": [
65+
{"text": "No","value": "False"},
66+
{"text": "Yes","value": "True", "default": "true"}
67+
]
68+
}
69+
default: "True"
6070
- name: cpd-use-fs-iam
6171
type: string
6272
description: |
@@ -675,49 +685,47 @@ spec:
675685
]
676686
}
677687
default: "removed"
678-
- name: llm-granite-13b-chat-v1-state
688+
- name: llm-granite-13b-chat-v2-state
679689
type: string
680690
description: |
681-
Do you want to install ibm-granite-13b-chat-v1 llm?
691+
Do you want to install ibm-granite-13b-chat-v2 llm?
682692
{
683693
"options": [
684694
{"text": "No","value": "removed", "default": "true"},
685695
{"text": "Yes","value": "installed"}
686696
]
687697
}
688698
default: "removed"
689-
- name: llm-granite-13b-chat-v2-state
699+
- name: llm-ibm-granite-13b-instruct-v2-state
690700
type: string
691701
description: |
692-
Do you want to install ibm-granite-13b-chat-v2 llm?
702+
Do you want to install ibm-granite-13b-instruct-v2 llm?
693703
{
694704
"options": [
695705
{"text": "No","value": "removed", "default": "true"},
696706
{"text": "Yes","value": "installed"}
697707
]
698708
}
699709
default: "removed"
700-
- name: llm-ibm-granite-13b-instruct-v1-state
710+
- name: llm-ibm-granite-3b-code-instruct-state
701711
type: string
702712
description: |
703-
Do you want to install ibm-granite-13b-instruct-v1 llm?
704-
{
705-
"options": [
706-
{"text": "No","value": "removed", "default": "true"},
707-
{"text": "Yes","value": "installed"}
708-
]
709-
}
713+
Do you want to install ibm-granite-3b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
710714
default: "removed"
711-
- name: llm-ibm-granite-13b-instruct-v2-state
715+
- name: llm-ibm-granite-8b-code-instruct-state
712716
type: string
713717
description: |
714-
Do you want to install ibm-granite-13b-instruct-v2 llm?
715-
{
716-
"options": [
717-
{"text": "No","value": "removed", "default": "true"},
718-
{"text": "Yes","value": "installed"}
719-
]
720-
}
718+
Do you want to install ibm-granite-8b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
719+
default: "removed"
720+
- name: llm-ibm-granite-20b-code-instruct-state
721+
type: string
722+
description: |
723+
Do you want to install ibm-granite-20b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
724+
default: "removed"
725+
- name: llm-ibm-granite-34b-code-instruct-state
726+
type: string
727+
description: |
728+
Do you want to install ibm-granite-34b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
721729
default: "removed"
722730
- name: llm-meta-llama-llama-2-70b-chat-state
723731
type: string
@@ -1522,7 +1530,7 @@ spec:
15221530
- project: cpd
15231531
cp4d_version: $(params.cp4d-version)
15241532
use_fs_iam: $(params.cpd-use-fs-iam)
1525-
sequential_install: False
1533+
sequential_install: $(params.cpd-sequential-install)
15261534
accept_licenses: True
15271535
cartridges:
15281536
- name: cp-foundation
@@ -1753,14 +1761,18 @@ spec:
17531761
state: $(params.llm-eleutherai-gpt-neox-20b-state)
17541762
- model_id: ibm-granite-8b-japanese
17551763
state: $(params.llm-ibm-granite-8b-japanese-state)
1756-
- model_id: ibm-granite-13b-chat-v1
1757-
state: $(params.llm-granite-13b-chat-v1-state)
17581764
- model_id: ibm-granite-13b-chat-v2
17591765
state: $(params.llm-granite-13b-chat-v2-state)
1760-
- model_id: ibm-granite-13b-instruct-v1
1761-
state: $(params.llm-ibm-granite-13b-instruct-v1-state)
17621766
- model_id: ibm-granite-13b-instruct-v2
17631767
state: $(params.llm-ibm-granite-13b-instruct-v2-state)
1768+
- model_id: ibm-granite-3b-code-instruct
1769+
state: $(params.llm-ibm-granite-3b-code-instruct-state)
1770+
- model_id: ibm-granite-8b-code-instruct
1771+
state: $(params.llm-ibm-granite-8b-code-instruct-state)
1772+
- model_id: ibm-granite-20b-code-instruct
1773+
state: $(params.llm-ibm-granite-20b-code-instruct-state)
1774+
- model_id: ibm-granite-34b-code-instruct
1775+
state: $(params.llm-ibm-granite-34b-code-instruct-state)
17641776
- model_id: ibm-granite-20b-multilingual
17651777
state: $(params.llm-ibm-granite-20b-multilingual-state)
17661778
- model_id: core42-jais-13b-chat
@@ -1972,6 +1984,10 @@ spec:
19721984
params:
19731985
- name: SCRIPT
19741986
value: |
1987+
oc delete job cloud-pak-deployer-debug -n $(params.namespace) --ignore-not-found
1988+
1989+
sleep 20
1990+
19751991
oc apply -f - <<EOF
19761992
apiVersion: batch/v1
19771993
kind: Job

cp4d/5.0.x/cp4d-cloud-pak-deployer-pipeline-run.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ spec:
1919
- name: ibm-entitlement-key
2020
value: "false"
2121
- name: cpd-sequential-install
22-
value: "False"
22+
value: "True"
2323
- name: cpd-use-fs-iam
2424
value: "True"
2525
- name: cloud-pak-deployer-version
26-
value: "v2.8.1"
26+
value: "v2.9.4"
2727
# - name: analyticsengine-state
2828
# value: "installed"
2929
# - name: spss-state

cp4d/5.0.x/cp4d-cloud-pak-deployer-pipeline.yaml

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ spec:
4545
- name: ocp-client-version
4646
type: string
4747
description: Openshift client version
48-
default: "4.14"
4948
- name: cp4d-version
5049
type: string
5150
description: Cloud Pak for Data version
@@ -63,11 +62,11 @@ spec:
6362
Do you want to install components sequentially?
6463
{
6564
"options": [
66-
{"text": "No","value": "False", "default": "true"},
67-
{"text": "Yes","value": "True"}
65+
{"text": "No","value": "False"},
66+
{"text": "Yes","value": "True", "default": "true"}
6867
]
6968
}
70-
default: "False"
69+
default: "True"
7170
- name: cpd-use-fs-iam
7271
type: string
7372
description: |
@@ -694,49 +693,47 @@ spec:
694693
]
695694
}
696695
default: "removed"
697-
- name: llm-granite-13b-chat-v1-state
696+
- name: llm-granite-13b-chat-v2-state
698697
type: string
699698
description: |
700-
Do you want to install ibm-granite-13b-chat-v1 llm?
699+
Do you want to install ibm-granite-13b-chat-v2 llm?
701700
{
702701
"options": [
703702
{"text": "No","value": "removed", "default": "true"},
704703
{"text": "Yes","value": "installed"}
705704
]
706705
}
707706
default: "removed"
708-
- name: llm-granite-13b-chat-v2-state
707+
- name: llm-ibm-granite-13b-instruct-v2-state
709708
type: string
710709
description: |
711-
Do you want to install ibm-granite-13b-chat-v2 llm?
710+
Do you want to install ibm-granite-13b-instruct-v2 llm?
712711
{
713712
"options": [
714713
{"text": "No","value": "removed", "default": "true"},
715714
{"text": "Yes","value": "installed"}
716715
]
717716
}
718717
default: "removed"
719-
- name: llm-ibm-granite-13b-instruct-v1-state
718+
- name: llm-ibm-granite-3b-code-instruct-state
720719
type: string
721720
description: |
722-
Do you want to install ibm-granite-13b-instruct-v1 llm?
723-
{
724-
"options": [
725-
{"text": "No","value": "removed", "default": "true"},
726-
{"text": "Yes","value": "installed"}
727-
]
728-
}
721+
Do you want to install ibm-granite-3b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
729722
default: "removed"
730-
- name: llm-ibm-granite-13b-instruct-v2-state
723+
- name: llm-ibm-granite-8b-code-instruct-state
731724
type: string
732725
description: |
733-
Do you want to install ibm-granite-13b-instruct-v2 llm?
734-
{
735-
"options": [
736-
{"text": "No","value": "removed", "default": "true"},
737-
{"text": "Yes","value": "installed"}
738-
]
739-
}
726+
Do you want to install ibm-granite-8b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
727+
default: "removed"
728+
- name: llm-ibm-granite-20b-code-instruct-state
729+
type: string
730+
description: |
731+
Do you want to install ibm-granite-20b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
732+
default: "removed"
733+
- name: llm-ibm-granite-34b-code-instruct-state
734+
type: string
735+
description: |
736+
Do you want to install ibm-granite-34b-code-instruct llm? If yes then make this parameter "installed" and if no then make this parameter "removed"
740737
default: "removed"
741738
- name: llm-meta-llama-llama-2-70b-chat-state
742739
type: string
@@ -1780,14 +1777,18 @@ spec:
17801777
state: $(params.llm-eleutherai-gpt-neox-20b-state)
17811778
- model_id: ibm-granite-8b-japanese
17821779
state: $(params.llm-ibm-granite-8b-japanese-state)
1783-
- model_id: ibm-granite-13b-chat-v1
1784-
state: $(params.llm-granite-13b-chat-v1-state)
17851780
- model_id: ibm-granite-13b-chat-v2
17861781
state: $(params.llm-granite-13b-chat-v2-state)
1787-
- model_id: ibm-granite-13b-instruct-v1
1788-
state: $(params.llm-ibm-granite-13b-instruct-v1-state)
17891782
- model_id: ibm-granite-13b-instruct-v2
17901783
state: $(params.llm-ibm-granite-13b-instruct-v2-state)
1784+
- model_id: ibm-granite-3b-code-instruct
1785+
state: $(params.llm-ibm-granite-3b-code-instruct-state)
1786+
- model_id: ibm-granite-8b-code-instruct
1787+
state: $(params.llm-ibm-granite-8b-code-instruct-state)
1788+
- model_id: ibm-granite-20b-code-instruct
1789+
state: $(params.llm-ibm-granite-20b-code-instruct-state)
1790+
- model_id: ibm-granite-34b-code-instruct
1791+
state: $(params.llm-ibm-granite-34b-code-instruct-state)
17911792
- model_id: ibm-granite-20b-multilingual
17921793
state: $(params.llm-ibm-granite-20b-multilingual-state)
17931794
- model_id: core42-jais-13b-chat
@@ -1999,6 +2000,10 @@ spec:
19992000
params:
20002001
- name: SCRIPT
20012002
value: |
2003+
oc delete job cloud-pak-deployer-debug -n $(params.namespace) --ignore-not-found
2004+
2005+
sleep 20
2006+
20022007
oc apply -f - <<EOF
20032008
apiVersion: batch/v1
20042009
kind: Job

0 commit comments

Comments
 (0)