mas-cli 15.8.0__py3-none-any.whl → 15.9.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mas-cli might be problematic. Click here for more details.
- mas/cli/__init__.py +1 -1
- mas/cli/aiservice/install/app.py +2 -0
- mas/cli/aiservice/install/argBuilder.py +2 -0
- mas/cli/aiservice/install/argParser.py +10 -4
- mas/cli/aiservice/install/params.py +1 -0
- mas/cli/cli.py +1 -1
- mas/cli/install/catalogs.py +2 -2
- mas/cli/templates/ibm-mas-tekton.yaml +458 -176
- mas/cli/update/app.py +7 -5
- {mas_cli-15.8.0.dist-info → mas_cli-15.9.1.dist-info}/METADATA +1 -1
- {mas_cli-15.8.0.dist-info → mas_cli-15.9.1.dist-info}/RECORD +14 -14
- {mas_cli-15.8.0.data → mas_cli-15.9.1.data}/scripts/mas-cli +0 -0
- {mas_cli-15.8.0.dist-info → mas_cli-15.9.1.dist-info}/WHEEL +0 -0
- {mas_cli-15.8.0.dist-info → mas_cli-15.9.1.dist-info}/top_level.txt +0 -0
mas/cli/__init__.py
CHANGED
mas/cli/aiservice/install/app.py
CHANGED
|
@@ -599,6 +599,8 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
|
|
|
599
599
|
self.promptForString("Watsonxai api key", "aiservice_watsonxai_apikey", isPassword=True)
|
|
600
600
|
self.promptForString("Watsonxai machine learning url", "aiservice_watsonxai_url")
|
|
601
601
|
self.promptForString("Watsonxai project id", "aiservice_watsonxai_project_id")
|
|
602
|
+
if self.yesOrNo("Does the Watsonxai AI use a self-signed certificate?"):
|
|
603
|
+
self.promptForString("Watsonxai CA certificate (PEM format)", "aiservice_watsonxai_ca_crt")
|
|
602
604
|
self.promptForString("Watsonxai Deployment ID (optional)", "aiservice_watsonxai_deployment_id")
|
|
603
605
|
self.promptForString("Watsonxai Space ID (optional)", "aiservice_watsonxai_space_id")
|
|
604
606
|
|
|
@@ -135,6 +135,8 @@ class aiServiceInstallArgBuilderMixin():
|
|
|
135
135
|
command += f" --watsonxai-project-id \"{self.getParam('aiservice_watsonxai_project_id')}\"{newline}"
|
|
136
136
|
if self.getParam('aiservice_watsonx_action') != "":
|
|
137
137
|
command += f" --watsonx-action \"{self.getParam('aiservice_watsonx_action')}\"{newline}"
|
|
138
|
+
if self.getParam('aiservice_watsonxai_ca_crt') != "":
|
|
139
|
+
command += f" --watsonxai-ca-crt \"{self.getParam('aiservice_watsonxai_ca_crt')}\"{newline}"
|
|
138
140
|
if self.getParam('aiservice_watsonxai_deployment_id'):
|
|
139
141
|
command += f" --watsonxai-deployment-id {self.getParam('aiservice_watsonxai_deployment_id')}\"{newline}"
|
|
140
142
|
if self.getParam('aiservice_watsonxai_space_id'):
|
|
@@ -302,16 +302,22 @@ watsonxArgGroup.add_argument(
|
|
|
302
302
|
help="Action to perform with WatsonX (install/remove)"
|
|
303
303
|
)
|
|
304
304
|
watsonxArgGroup.add_argument(
|
|
305
|
-
|
|
305
|
+
"--watsonxai-ca-crt",
|
|
306
|
+
dest="aiservice_watsonxai_ca_crt",
|
|
307
|
+
required=False,
|
|
308
|
+
help="CA certificate for WatsonX AI (PEM format, optional, only if using self-signed certs)"
|
|
309
|
+
)
|
|
310
|
+
watsonxArgGroup.add_argument(
|
|
311
|
+
"--watsonxai-deployment-id",
|
|
306
312
|
dest="aiservice_watsonxai_deployment_id",
|
|
307
313
|
required=False,
|
|
308
|
-
help=
|
|
314
|
+
help="WatsonX deployment ID"
|
|
309
315
|
)
|
|
310
316
|
watsonxArgGroup.add_argument(
|
|
311
|
-
|
|
317
|
+
"--watsonxai-space-id",
|
|
312
318
|
dest="aiservice_watsonxai_space_id",
|
|
313
319
|
required=False,
|
|
314
|
-
help=
|
|
320
|
+
help="WatsonX space ID"
|
|
315
321
|
)
|
|
316
322
|
|
|
317
323
|
|
mas/cli/cli.py
CHANGED
|
@@ -118,7 +118,7 @@ class BaseApp(PrintMixin, PromptMixin):
|
|
|
118
118
|
logging.getLogger('asyncio').setLevel(logging.INFO)
|
|
119
119
|
|
|
120
120
|
# Supports extended semver, unlike mas.cli.__version__
|
|
121
|
-
self.version = "15.
|
|
121
|
+
self.version = "15.9.1"
|
|
122
122
|
self.h1count = 0
|
|
123
123
|
self.h2count = 0
|
|
124
124
|
|
mas/cli/install/catalogs.py
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
# *****************************************************************************
|
|
10
10
|
supportedCatalogs = {
|
|
11
11
|
"amd64": [
|
|
12
|
+
"v9-251010-amd64",
|
|
12
13
|
"v9-250925-amd64",
|
|
13
14
|
"v9-250902-amd64",
|
|
14
15
|
"v9-250828-amd64",
|
|
15
|
-
"v9-250731-amd64",
|
|
16
16
|
],
|
|
17
17
|
"s390x": [
|
|
18
18
|
# No "v9-250925-s390x" catalog for the s390x
|
|
@@ -20,9 +20,9 @@ supportedCatalogs = {
|
|
|
20
20
|
"v9-250828-s390x",
|
|
21
21
|
],
|
|
22
22
|
"ppc64le": [
|
|
23
|
+
"v9-251010-ppc64le",
|
|
23
24
|
"v9-250925-ppc64le",
|
|
24
25
|
"v9-250902-ppc64le",
|
|
25
26
|
"v9-250828-ppc64le",
|
|
26
|
-
"v9-250731-ppc64le",
|
|
27
27
|
],
|
|
28
28
|
}
|