mas-cli 15.6.3__py3-none-any.whl → 15.7.0__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 +9 -0
- mas/cli/aiservice/install/argBuilder.py +4 -0
- mas/cli/aiservice/install/argParser.py +12 -0
- mas/cli/aiservice/install/params.py +2 -0
- mas/cli/cli.py +7 -2
- mas/cli/install/catalogs.py +3 -4
- mas/cli/templates/ibm-mas-tekton.yaml +347 -362
- mas/cli/update/app.py +6 -4
- mas/cli/upgrade/app.py +12 -1
- {mas_cli-15.6.3.dist-info → mas_cli-15.7.0.dist-info}/METADATA +1 -1
- {mas_cli-15.6.3.dist-info → mas_cli-15.7.0.dist-info}/RECORD +15 -15
- {mas_cli-15.6.3.data → mas_cli-15.7.0.data}/scripts/mas-cli +0 -0
- {mas_cli-15.6.3.dist-info → mas_cli-15.7.0.dist-info}/WHEEL +0 -0
- {mas_cli-15.6.3.dist-info → mas_cli-15.7.0.dist-info}/top_level.txt +0 -0
mas/cli/update/app.py
CHANGED
|
@@ -254,13 +254,13 @@ class UpdateApp(BaseApp):
|
|
|
254
254
|
self.printH1("Select IBM Maximo Operator Catalog Version")
|
|
255
255
|
self.printDescription([
|
|
256
256
|
"Select MAS Catalog",
|
|
257
|
-
" 1) Sep
|
|
258
|
-
" 2)
|
|
259
|
-
" 3)
|
|
257
|
+
" 1) Sep 25 2025 Update (MAS 9.1.4, 9.0.15, 8.11.24, & 8.10.29)",
|
|
258
|
+
" 2) Sep 02 2025 Update (MAS 9.1.2, 9.0.14, 8.11.23, & 8.10.28)",
|
|
259
|
+
" 3) July 31 2025 Update (MAS 9.1.1, 9.0.13, 8.11.22, & 8.10.27)",
|
|
260
260
|
])
|
|
261
261
|
|
|
262
262
|
catalogOptions = [
|
|
263
|
-
"v9-
|
|
263
|
+
"v9-250925-amd64", "v9-250902-amd64", "v9-250731-amd64",
|
|
264
264
|
]
|
|
265
265
|
self.promptForListSelect("Select catalog version", catalogOptions, "mas_catalog_version", default=1)
|
|
266
266
|
|
|
@@ -379,6 +379,7 @@ class UpdateApp(BaseApp):
|
|
|
379
379
|
"v9-250731-amd64": "7.0.22",
|
|
380
380
|
"v9-250828-amd64": "7.0.22",
|
|
381
381
|
"v9-250902-amd64": "7.0.22",
|
|
382
|
+
"v9-250925-amd64": "7.0.22",
|
|
382
383
|
}
|
|
383
384
|
catalogVersion = self.getParam('mas_catalog_version')
|
|
384
385
|
if catalogVersion in mongoVersions:
|
|
@@ -518,6 +519,7 @@ class UpdateApp(BaseApp):
|
|
|
518
519
|
"v9-250731-amd64": "5.1.3",
|
|
519
520
|
"v9-250828-amd64": "5.1.3",
|
|
520
521
|
"v9-250902-amd64": "5.1.3",
|
|
522
|
+
"v9-250925-amd64": "5.1.3",
|
|
521
523
|
}
|
|
522
524
|
|
|
523
525
|
with Halo(text='Checking for IBM Cloud Pak for Data', spinner=self.spinner) as h:
|
mas/cli/upgrade/app.py
CHANGED
|
@@ -23,7 +23,7 @@ from .argParser import upgradeArgParser
|
|
|
23
23
|
from .settings import UpgradeSettingsMixin
|
|
24
24
|
|
|
25
25
|
from mas.devops.ocp import createNamespace
|
|
26
|
-
from mas.devops.mas import listMasInstances, getMasChannel, getWorkspaceId, verifyAppInstance
|
|
26
|
+
from mas.devops.mas import listMasInstances, getMasChannel, getAppsSubscriptionChannel, getWorkspaceId, verifyAppInstance
|
|
27
27
|
from mas.devops.tekton import installOpenShiftPipelines, updateTektonDefinitions, launchUpgradePipeline
|
|
28
28
|
|
|
29
29
|
logger = logging.getLogger(__name__)
|
|
@@ -83,6 +83,17 @@ class UpgradeApp(BaseApp, UpgradeSettingsMixin):
|
|
|
83
83
|
if currentChannel not in self.upgrade_path:
|
|
84
84
|
self.fatalError(f"No upgrade available, {instanceId} is are already on the latest release {currentChannel}")
|
|
85
85
|
nextChannel = self.upgrade_path[currentChannel]
|
|
86
|
+
|
|
87
|
+
# For the Feature Channels we do not allow upgrade when an installed app is not onboarded yet
|
|
88
|
+
if nextChannel in self.compatibilityMatrix:
|
|
89
|
+
if "feature" in nextChannel:
|
|
90
|
+
unsupportedAppForFC = []
|
|
91
|
+
installedAppsChannel = getAppsSubscriptionChannel(self.dynamicClient, instanceId)
|
|
92
|
+
for installedApp in installedAppsChannel:
|
|
93
|
+
if installedApp["appId"] not in self.compatibilityMatrix[nextChannel]:
|
|
94
|
+
unsupportedAppForFC.append(installedApp["appId"])
|
|
95
|
+
if len(unsupportedAppForFC) > 0:
|
|
96
|
+
self.fatalError(f"No feature channel available for {unsupportedAppForFC} on the release {nextChannel}. Upgrade cancelled.")
|
|
86
97
|
else:
|
|
87
98
|
# We still allow the upgrade to proceed even though we can't detect the MAS instance. The upgrade may be being
|
|
88
99
|
# queued up to run after install for instance
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
mas/cli/__init__.py,sha256=
|
|
2
|
-
mas/cli/cli.py,sha256=
|
|
1
|
+
mas/cli/__init__.py,sha256=xZ27IJFKtG0yuxXf5KbU-y-PfsndgMi6mBMkPFqy2Xw,526
|
|
2
|
+
mas/cli/cli.py,sha256=soXtdTaj8inF7v_NVTYQ889uVNPwMB4-j4ZL-om1lds,20079
|
|
3
3
|
mas/cli/displayMixins.py,sha256=o61M4Jdi7hXk7aopIfShT9oTh1lrrRd_GgfKu4QvgUM,6056
|
|
4
4
|
mas/cli/gencfg.py,sha256=kgbYihOcqGADK8XnrfcEoBawaY1qSGKuVNW1unACOnU,4433
|
|
5
5
|
mas/cli/validators.py,sha256=-QbWyHJI5g9l_PVQBtnKrk4y8b8K0AKoKqtnO6EFqnI,6481
|
|
6
6
|
mas/cli/aiservice/install/__init__.py,sha256=Af-TjB2oIy3bM-Rt3YNeJ_2ndsZZU7azqFkT5um7XQY,515
|
|
7
|
-
mas/cli/aiservice/install/app.py,sha256=
|
|
8
|
-
mas/cli/aiservice/install/argBuilder.py,sha256=
|
|
9
|
-
mas/cli/aiservice/install/argParser.py,sha256=
|
|
10
|
-
mas/cli/aiservice/install/params.py,sha256=
|
|
7
|
+
mas/cli/aiservice/install/app.py,sha256=KefxKuU3XsrNY3aFE71COuVRjKvF13spFEyEodTy03k,43480
|
|
8
|
+
mas/cli/aiservice/install/argBuilder.py,sha256=kMR5QT2Lrhqe9pO7fYNQTLEgmkokCPN-5VsFQzc0lgk,9604
|
|
9
|
+
mas/cli/aiservice/install/argParser.py,sha256=rpt7Q-rtdr3GUp1oxpSfzDvQEembhKI2-riy5kHpUf8,14254
|
|
10
|
+
mas/cli/aiservice/install/params.py,sha256=r08cAnDne7Z9ZvmOvIwGqTkGjY2feA-ctYg3ry8krv8,2367
|
|
11
11
|
mas/cli/aiservice/install/summarizer.py,sha256=WO0SR8H1mFBN8mn17eoq1tNf7mvNjlgVSu1Lx0fAfp8,6008
|
|
12
12
|
mas/cli/install/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
13
13
|
mas/cli/install/app.py,sha256=IHyAxfeknbaDWZ3ocOW2zWw7QTnqy1gsXx6An-AZcM8,70107
|
|
14
14
|
mas/cli/install/argBuilder.py,sha256=lco77lRujd7uK2enc8urcR7MXXuqSUY_o2U045SyRVA,29072
|
|
15
15
|
mas/cli/install/argParser.py,sha256=sOa0Irmt1azaSal24wk4aFgDoYeUFvh2HzzKYOLClFQ,36271
|
|
16
|
-
mas/cli/install/catalogs.py,sha256=
|
|
16
|
+
mas/cli/install/catalogs.py,sha256=GUxTs8uiuHmNrP4GvXjWSsOdQTc4EEQuNobvkjKYVXM,890
|
|
17
17
|
mas/cli/install/params.py,sha256=bUJzf2V3oJhsIH9-OUp0BOfzD-ycxh3HWaIKL7DlU2Q,4919
|
|
18
18
|
mas/cli/install/summarizer.py,sha256=qfvcLAaOgcyj6O0sbd7HLqgOPDQKT5uFzhrIPantUlo,22554
|
|
19
19
|
mas/cli/install/settings/__init__.py,sha256=RdyBSh-rM0wkuvILVzJ1gxjOtLuQ1mF6QbEL0MyiKIY,1034
|
|
@@ -24,7 +24,7 @@ mas/cli/install/settings/manageSettings.py,sha256=VEMOkFoyJot29Sc8DrTg2ytZiM6Ga5
|
|
|
24
24
|
mas/cli/install/settings/mongodbSettings.py,sha256=aZdQHpeMwLVznrJWAkJsZu2Ok9t4Dkra2RGa_uKJHaY,2604
|
|
25
25
|
mas/cli/install/settings/turbonomicSettings.py,sha256=ul4eWf53b1NCzJTFsEPX6DWM23YUlWILYBygplqXYlU,1631
|
|
26
26
|
mas/cli/templates/facilities-configs.yml.j2,sha256=Er4UwxUl1Y3rtjIPMExVM8EXNcbesMusgLcRV050B1s,774
|
|
27
|
-
mas/cli/templates/ibm-mas-tekton.yaml,sha256
|
|
27
|
+
mas/cli/templates/ibm-mas-tekton.yaml,sha256=-ch24-Zt0dhBMbgTaIFudkyEdnn3imgYU-YZYIANA8w,1576357
|
|
28
28
|
mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
|
|
29
29
|
mas/cli/templates/suite_mongocfg.yml.j2,sha256=WrgJUfGyvfaRIHjY5VR_zLZ5irTpV5khKNq76ejIxKU,1606
|
|
30
30
|
mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
|
|
@@ -101,14 +101,14 @@ mas/cli/uninstall/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc
|
|
|
101
101
|
mas/cli/uninstall/app.py,sha256=uPJy3z-1Yt66MSFdZz1Qh8MjA97ZrQmjSgTx-Gqua9I,10047
|
|
102
102
|
mas/cli/uninstall/argParser.py,sha256=VVG4myUvFOtg98L6HAzpgGg7s5c-vub_UMZPGuNQko4,3452
|
|
103
103
|
mas/cli/update/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
104
|
-
mas/cli/update/app.py,sha256=
|
|
104
|
+
mas/cli/update/app.py,sha256=a6tQF6wUUMYoDJCb64fDFxoYgjwsqXTDN9HYbnS_j7A,40357
|
|
105
105
|
mas/cli/update/argParser.py,sha256=oOIXzB_rsI2p3og_5X5SFt_g7LURyEdLxZeiGCKq1nU,4711
|
|
106
106
|
mas/cli/upgrade/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
107
|
-
mas/cli/upgrade/app.py,sha256=
|
|
107
|
+
mas/cli/upgrade/app.py,sha256=Ucg_-8V9yt10W2kddmcMzUTyY_9SSHzLxKaV2Zz92gc,9732
|
|
108
108
|
mas/cli/upgrade/argParser.py,sha256=5JxAcbwKjFKCKnbucCxg7Xacdhjphb9nRORfsgB1h_0,2196
|
|
109
109
|
mas/cli/upgrade/settings/__init__.py,sha256=QI2CUsj-NXBU1qrPOsOk4MbeWnfNq0UOF3rYYc_1l2A,775
|
|
110
|
-
mas_cli-15.
|
|
111
|
-
mas_cli-15.
|
|
112
|
-
mas_cli-15.
|
|
113
|
-
mas_cli-15.
|
|
114
|
-
mas_cli-15.
|
|
110
|
+
mas_cli-15.7.0.data/scripts/mas-cli,sha256=ijL4Ecg_2fRtdrQ8Mk28qsi6o3O6KRIAUM8BUry5cPs,3621
|
|
111
|
+
mas_cli-15.7.0.dist-info/METADATA,sha256=x8j9TYpY-NmnrRdlXAz0tjEeOztCglZeI9AbRqcuAMs,2258
|
|
112
|
+
mas_cli-15.7.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
113
|
+
mas_cli-15.7.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
|
|
114
|
+
mas_cli-15.7.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|