mas-cli 10.0.5__tar.gz → 10.1.0__tar.gz
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-10.0.5 → mas_cli-10.1.0}/PKG-INFO +1 -1
- {mas_cli-10.0.5 → mas_cli-10.1.0}/setup.py +1 -3
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/__init__.py +1 -1
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/cli.py +4 -3
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/displayMixins.py +3 -2
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/__init__.py +2 -0
- mas_cli-10.0.5/src/mas-install → mas_cli-10.1.0/src/mas/cli/install/app.py +10 -34
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/argParser.py +1 -1
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/ibm-mas-tekton.yaml +53 -53
- mas_cli-10.1.0/src/mas/cli/uninstall/__init__.py +11 -0
- mas_cli-10.1.0/src/mas/cli/uninstall/app.py +192 -0
- mas_cli-10.1.0/src/mas/cli/uninstall/argParser.py +108 -0
- mas_cli-10.1.0/src/mas/cli/upgrade/__init__.py +11 -0
- mas_cli-10.0.5/src/mas-upgrade → mas_cli-10.1.0/src/mas/cli/upgrade/app.py +12 -64
- mas_cli-10.1.0/src/mas/cli/upgrade/argParser.py +56 -0
- mas_cli-10.1.0/src/mas-cli +75 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas_cli.egg-info/PKG-INFO +1 -1
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas_cli.egg-info/SOURCES.txt +10 -4
- mas_cli-10.1.0/test/test_help.py +42 -0
- mas_cli-10.0.5/src/mas-uninstall +0 -284
- {mas_cli-10.0.5 → mas_cli-10.1.0}/MANIFEST.in +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/README.rst +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/pyproject.toml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/setup.cfg +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/gencfg.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/settings/__init__.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/settings/additionalConfigs.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/settings/db2Settings.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/settings/kafkaSettings.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/settings/manageSettings.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/settings/turbonomicSettings.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/install/summarizer.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/jdbccfg.yml.j2 +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-bascfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-coreidp.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-actions.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-auth.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-datapower.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-devops.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-dm.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-dsc.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-edgeconfig.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-fpl.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-guardian.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-iot.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-mbgx.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-mfgx.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-monitor.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-orgmgmt.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-provision.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-registry.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-state.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-iot-webui.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-manage-healthextaccelerator.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-manage-healthextworkspace.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-manage-imagestitching.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-manage-manageaccelerators.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-manage-manageapp.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-manage-manageworkspace.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-manage-slackproxy.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-pushnotificationcfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-scimcfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-slscfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-smtpcfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-suite.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-mas-visualinspection.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/best-effort/ibm-sls-licenseservice.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-data-dictionary-assetdatadictionary.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-bascfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-coreidp.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-actions.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-auth.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-datapower.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-devops.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-dm.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-dsc.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-edgeconfig.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-fpl.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-guardian.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-iot.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-mbgx.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-mfgx.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-monitor.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-orgmgmt.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-provision.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-registry.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-state.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-iot-webui.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-manage-healthextaccelerator.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-manage-healthextworkspace.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-manage-imagestitching.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-manage-manageaccelerators.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-manage-manageapp.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-manage-manageworkspace.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-manage-slackproxy.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-pushnotificationcfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-scimcfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-slscfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-smtpcfg.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-suite.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-mas-visualinspection.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/guaranteed/ibm-sls-licenseservice.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/templates/pod-templates/saas-essentials/ibm-mas-visualinspection.yml +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas/cli/validators.py +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas_cli.egg-info/dependency_links.txt +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas_cli.egg-info/requires.txt +0 -0
- {mas_cli-10.0.5 → mas_cli-10.1.0}/src/mas_cli.egg-info/top_level.txt +0 -0
|
@@ -47,9 +47,7 @@ setup(
|
|
|
47
47
|
packages=find_namespace_packages(where='src'),
|
|
48
48
|
include_package_data=True,
|
|
49
49
|
scripts=[
|
|
50
|
-
'src/mas-
|
|
51
|
-
'src/mas-upgrade',
|
|
52
|
-
'src/mas-uninstall'
|
|
50
|
+
'src/mas-cli'
|
|
53
51
|
],
|
|
54
52
|
url='https://github.com/ibm-mas/cli',
|
|
55
53
|
license='Eclipse Public License - v1.0',
|
|
@@ -124,9 +124,7 @@ class BaseApp(PrintMixin, PromptMixin):
|
|
|
124
124
|
self.printTitle(f"\nIBM Maximo Application Suite Admin CLI v{self.version}")
|
|
125
125
|
print_formatted_text(HTML("Powered by <DarkGoldenRod><u>https://github.com/ibm-mas/ansible-devops/</u></DarkGoldenRod> and <DarkGoldenRod><u>https://tekton.dev/</u></DarkGoldenRod>\n"))
|
|
126
126
|
if which("kubectl") is None:
|
|
127
|
-
|
|
128
|
-
print_formatted_text(HTML("\n<Red>Error: Could not find kubectl on the path, see <u>https://kubernetes.io/docs/tasks/tools/#kubectl</u> for installation instructions</Red>\n"))
|
|
129
|
-
exit(1)
|
|
127
|
+
self.fatalError("Could not find kubectl on the path, see <u>https://kubernetes.io/docs/tasks/tools/#kubectl</u> for installation instructions")
|
|
130
128
|
|
|
131
129
|
def getCompatibleVersions(self, coreChannel: str, appId: str) -> list:
|
|
132
130
|
if coreChannel in self.compatibilityMatrix:
|
|
@@ -136,8 +134,11 @@ class BaseApp(PrintMixin, PromptMixin):
|
|
|
136
134
|
|
|
137
135
|
def fatalError(self, message: str, exception: Exception=None) -> None:
|
|
138
136
|
if exception is not None:
|
|
137
|
+
logger.error(message)
|
|
138
|
+
logger.exception(exception, stack_info=True)
|
|
139
139
|
print_formatted_text(HTML(f"<Red>Fatal Exception: {message.replace(' & ', ' & ')}: {exception}</Red>"))
|
|
140
140
|
else:
|
|
141
|
+
logger.error(message)
|
|
141
142
|
print_formatted_text(HTML(f"<Red>Fatal Error: {message.replace(' & ', ' & ')}</Red>"))
|
|
142
143
|
exit(1)
|
|
143
144
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
from os import path, getenv
|
|
12
12
|
from prompt_toolkit import prompt, print_formatted_text, HTML
|
|
13
|
+
from prompt_toolkit.completion import WordCompleter
|
|
13
14
|
from prompt_toolkit.validation import Validator
|
|
14
15
|
|
|
15
16
|
from .validators import YesNoValidator, FileExistsValidator, DirectoryExistsValidator
|
|
@@ -71,11 +72,11 @@ class PromptMixin():
|
|
|
71
72
|
self.params[param] = "true" if responseAsBool else "false"
|
|
72
73
|
return responseAsBool
|
|
73
74
|
|
|
74
|
-
def promptForString(self, message: str, param: str=None, default: str="", isPassword: bool=False, validator: Validator=None) -> str:
|
|
75
|
+
def promptForString(self, message: str, param: str=None, default: str="", isPassword: bool=False, validator: Validator=None, completer: WordCompleter=None) -> str:
|
|
75
76
|
if param is not None and default == "":
|
|
76
77
|
default = getenv(param.upper(), default="")
|
|
77
78
|
|
|
78
|
-
response = prompt(masPromptValue(message), is_password=isPassword, default=default, validator=validator, validate_while_typing=False)
|
|
79
|
+
response = prompt(masPromptValue(message), is_password=isPassword, default=default, completer=completer, validator=validator, validate_while_typing=False)
|
|
79
80
|
if param is not None:
|
|
80
81
|
self.params[param] = response
|
|
81
82
|
return response
|
|
@@ -18,20 +18,16 @@ import re
|
|
|
18
18
|
from openshift.dynamic.exceptions import NotFoundError
|
|
19
19
|
|
|
20
20
|
from prompt_toolkit import prompt, print_formatted_text, HTML
|
|
21
|
-
from urllib3.exceptions import MaxRetryError
|
|
22
|
-
from jinja2.exceptions import TemplateNotFound
|
|
23
|
-
from kubeconfig.exceptions import KubectlCommandError
|
|
24
|
-
from kubernetes.client.exceptions import ApiException
|
|
25
21
|
|
|
26
22
|
from tabulate import tabulate
|
|
27
23
|
|
|
28
24
|
from halo import Halo
|
|
29
25
|
|
|
30
|
-
from
|
|
31
|
-
from
|
|
32
|
-
from
|
|
33
|
-
from
|
|
34
|
-
from
|
|
26
|
+
from ..cli import BaseApp
|
|
27
|
+
from ..gencfg import ConfigGeneratorMixin
|
|
28
|
+
from .argParser import installArgParser
|
|
29
|
+
from .settings import InstallSettingsMixin
|
|
30
|
+
from .summarizer import InstallSummarizerMixin
|
|
35
31
|
|
|
36
32
|
from mas.cli.validators import (
|
|
37
33
|
InstanceIDFormatValidator,
|
|
@@ -47,7 +43,7 @@ from mas.devops.tekton import installOpenShiftPipelines, updateTektonDefinitions
|
|
|
47
43
|
logger = logging.getLogger(__name__)
|
|
48
44
|
|
|
49
45
|
|
|
50
|
-
class
|
|
46
|
+
class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGeneratorMixin):
|
|
51
47
|
def validateCatalogSource(self):
|
|
52
48
|
catalogsAPI = self.dynamicClient.resources.get(api_version="operators.coreos.com/v1alpha1", kind="CatalogSource")
|
|
53
49
|
try:
|
|
@@ -667,7 +663,7 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
667
663
|
"mas_arcgis_channel"
|
|
668
664
|
]
|
|
669
665
|
|
|
670
|
-
for key, value in vars(args).items():
|
|
666
|
+
for key, value in vars(self.args).items():
|
|
671
667
|
# These fields we just pass straight through to the parameters and fail if they are not set
|
|
672
668
|
if key in requiredParams:
|
|
673
669
|
if value is None:
|
|
@@ -778,10 +774,12 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
778
774
|
self.validateCatalogSource()
|
|
779
775
|
self.licensePrompt()
|
|
780
776
|
|
|
781
|
-
def install(self,
|
|
777
|
+
def install(self, argv):
|
|
782
778
|
"""
|
|
783
779
|
Install MAS instance
|
|
784
780
|
"""
|
|
781
|
+
args = installArgParser.parse_args(args=argv)
|
|
782
|
+
|
|
785
783
|
# We use the presence of --mas-instance-id to determine whether
|
|
786
784
|
# the CLI is being started in interactive mode or not
|
|
787
785
|
instanceId = args.mas_instance_id
|
|
@@ -967,25 +965,3 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
967
965
|
else:
|
|
968
966
|
h.stop_and_persist(symbol=self.failureIcon, text=f"Failed to submit PipelineRun for {self.getParam('mas_instance_id')} install, see log file for details")
|
|
969
967
|
print()
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
if __name__ == '__main__':
|
|
973
|
-
args = installArgParser.parse_args()
|
|
974
|
-
|
|
975
|
-
try:
|
|
976
|
-
app = App()
|
|
977
|
-
app.install(args)
|
|
978
|
-
except KeyboardInterrupt as e:
|
|
979
|
-
pass
|
|
980
|
-
except ApiException as e:
|
|
981
|
-
logger.exception(e, stack_info=True)
|
|
982
|
-
app.fatalError(message=f"An error occured communicating with the target server: {e.reason} ({e.status})")
|
|
983
|
-
except MaxRetryError as e:
|
|
984
|
-
logger.exception(e, stack_info=True)
|
|
985
|
-
app.fatalError(message="Unable to connect to API server", exception=e)
|
|
986
|
-
except TemplateNotFound as e:
|
|
987
|
-
logger.exception(e, stack_info=True)
|
|
988
|
-
app.fatalError("Could not find template", exception=e)
|
|
989
|
-
except KubectlCommandError as e:
|
|
990
|
-
logger.exception(e, stack_info=True)
|
|
991
|
-
app.fatalError("Could not execute kubectl command", exception=e)
|
|
@@ -21,7 +21,7 @@ def isValidFile(parser, arg) -> str:
|
|
|
21
21
|
return arg
|
|
22
22
|
|
|
23
23
|
installArgParser = argparse.ArgumentParser(
|
|
24
|
-
prog="mas
|
|
24
|
+
prog="mas install",
|
|
25
25
|
description="\n".join([
|
|
26
26
|
f"IBM Maximo Application Suite Admin CLI v{packageVersion}",
|
|
27
27
|
"Install MAS by configuring and launching the MAS Uninstall Tekton Pipeline.\n",
|
|
@@ -108,7 +108,7 @@ spec:
|
|
|
108
108
|
command:
|
|
109
109
|
- /opt/app-root/src/run-role.sh
|
|
110
110
|
- appconnect
|
|
111
|
-
image: quay.io/ibmmas/cli:10.0
|
|
111
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
112
112
|
imagePullPolicy: $(params.image_pull_policy)
|
|
113
113
|
workingDir: /workspace/configs
|
|
114
114
|
|
|
@@ -226,7 +226,7 @@ spec:
|
|
|
226
226
|
command:
|
|
227
227
|
- /opt/app-root/src/run-role.sh
|
|
228
228
|
- arcgis
|
|
229
|
-
image: quay.io/ibmmas/cli:10.0
|
|
229
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
230
230
|
imagePullPolicy: $(params.image_pull_policy)
|
|
231
231
|
# --------------------------------------------------------------------------------
|
|
232
232
|
# /home/runner/work/cli/cli/tekton/target/tasks/cert-manager.yaml
|
|
@@ -296,7 +296,7 @@ spec:
|
|
|
296
296
|
command:
|
|
297
297
|
- /opt/app-root/src/run-role.sh
|
|
298
298
|
- cert_manager
|
|
299
|
-
image: quay.io/ibmmas/cli:10.0
|
|
299
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
300
300
|
imagePullPolicy: $(params.image_pull_policy)
|
|
301
301
|
workingDir: /workspace/configs
|
|
302
302
|
# --------------------------------------------------------------------------------
|
|
@@ -359,7 +359,7 @@ spec:
|
|
|
359
359
|
command:
|
|
360
360
|
- /opt/app-root/src/run-role.sh
|
|
361
361
|
- common_services
|
|
362
|
-
image: quay.io/ibmmas/cli:10.0
|
|
362
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
363
363
|
imagePullPolicy: $(params.image_pull_policy)
|
|
364
364
|
workingDir: /workspace/configs
|
|
365
365
|
# --------------------------------------------------------------------------------
|
|
@@ -454,7 +454,7 @@ spec:
|
|
|
454
454
|
command:
|
|
455
455
|
- /opt/app-root/src/run-role.sh
|
|
456
456
|
- cos
|
|
457
|
-
image: quay.io/ibmmas/cli:10.0
|
|
457
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
458
458
|
imagePullPolicy: $(params.image_pull_policy)
|
|
459
459
|
workingDir: /workspace/configs
|
|
460
460
|
# --------------------------------------------------------------------------------
|
|
@@ -569,7 +569,7 @@ spec:
|
|
|
569
569
|
command:
|
|
570
570
|
- /opt/app-root/src/run-role.sh
|
|
571
571
|
- cos
|
|
572
|
-
image: quay.io/ibmmas/cli:10.0
|
|
572
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
573
573
|
imagePullPolicy: $(params.image_pull_policy)
|
|
574
574
|
workingDir: /workspace/configs
|
|
575
575
|
|
|
@@ -689,7 +689,7 @@ spec:
|
|
|
689
689
|
command:
|
|
690
690
|
- /opt/app-root/src/run-role.sh
|
|
691
691
|
- cp4d_service
|
|
692
|
-
image: quay.io/ibmmas/cli:10.0
|
|
692
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
693
693
|
imagePullPolicy: $(params.image_pull_policy)
|
|
694
694
|
workingDir: /workspace/configs
|
|
695
695
|
# --------------------------------------------------------------------------------
|
|
@@ -806,7 +806,7 @@ spec:
|
|
|
806
806
|
command:
|
|
807
807
|
- /opt/app-root/src/run-role.sh
|
|
808
808
|
- cp4d_service
|
|
809
|
-
image: quay.io/ibmmas/cli:10.0
|
|
809
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
810
810
|
imagePullPolicy: $(params.image_pull_policy)
|
|
811
811
|
workingDir: /workspace/configs
|
|
812
812
|
|
|
@@ -912,7 +912,7 @@ spec:
|
|
|
912
912
|
command:
|
|
913
913
|
- /opt/app-root/src/run-role.sh
|
|
914
914
|
- cp4d
|
|
915
|
-
image: quay.io/ibmmas/cli:10.0
|
|
915
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
916
916
|
imagePullPolicy: $(params.image_pull_policy)
|
|
917
917
|
# --------------------------------------------------------------------------------
|
|
918
918
|
# /home/runner/work/cli/cli/tekton/target/tasks/db2.yaml
|
|
@@ -1234,7 +1234,7 @@ spec:
|
|
|
1234
1234
|
command:
|
|
1235
1235
|
- /opt/app-root/src/run-role.sh
|
|
1236
1236
|
- db2
|
|
1237
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1237
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1238
1238
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1239
1239
|
workingDir: /workspace/configs
|
|
1240
1240
|
|
|
@@ -1337,7 +1337,7 @@ spec:
|
|
|
1337
1337
|
command:
|
|
1338
1338
|
- /opt/app-root/src/run-role.sh
|
|
1339
1339
|
- eck
|
|
1340
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1340
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1341
1341
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1342
1342
|
# --------------------------------------------------------------------------------
|
|
1343
1343
|
# /home/runner/work/cli/cli/tekton/target/tasks/gencfg-workspace.yaml
|
|
@@ -1426,7 +1426,7 @@ spec:
|
|
|
1426
1426
|
command:
|
|
1427
1427
|
- /opt/app-root/src/run-role.sh
|
|
1428
1428
|
- gencfg_workspace
|
|
1429
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1429
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1430
1430
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1431
1431
|
workingDir: /workspace/configs
|
|
1432
1432
|
|
|
@@ -1478,7 +1478,7 @@ spec:
|
|
|
1478
1478
|
|
|
1479
1479
|
steps:
|
|
1480
1480
|
- name: grafana
|
|
1481
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1481
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1482
1482
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1483
1483
|
command:
|
|
1484
1484
|
- /opt/app-root/src/run-role.sh
|
|
@@ -1612,7 +1612,7 @@ spec:
|
|
|
1612
1612
|
command:
|
|
1613
1613
|
- /opt/app-root/src/run-role.sh
|
|
1614
1614
|
- ibm_catalogs
|
|
1615
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1615
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1616
1616
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1617
1617
|
workingDir: /workspace/configs
|
|
1618
1618
|
# --------------------------------------------------------------------------------
|
|
@@ -1719,7 +1719,7 @@ spec:
|
|
|
1719
1719
|
command:
|
|
1720
1720
|
- /opt/app-root/src/run-role.sh
|
|
1721
1721
|
- kafka
|
|
1722
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1722
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1723
1723
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1724
1724
|
workingDir: /workspace/configs
|
|
1725
1725
|
# --------------------------------------------------------------------------------
|
|
@@ -1961,7 +1961,7 @@ spec:
|
|
|
1961
1961
|
command:
|
|
1962
1962
|
- /opt/app-root/src/run-role.sh
|
|
1963
1963
|
- kafka
|
|
1964
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1964
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1965
1965
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1966
1966
|
workingDir: /workspace/configs
|
|
1967
1967
|
|
|
@@ -1988,7 +1988,7 @@ spec:
|
|
|
1988
1988
|
|
|
1989
1989
|
steps:
|
|
1990
1990
|
- name: start-pipelinerun
|
|
1991
|
-
image: quay.io/ibmmas/cli:10.0
|
|
1991
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
1992
1992
|
imagePullPolicy: $(params.image_pull_policy)
|
|
1993
1993
|
command:
|
|
1994
1994
|
- ansible-playbook
|
|
@@ -2093,7 +2093,7 @@ spec:
|
|
|
2093
2093
|
optional: false
|
|
2094
2094
|
|
|
2095
2095
|
- name: wait-for-pipelinerun
|
|
2096
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2096
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2097
2097
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2098
2098
|
# 50 retries at 10 minute intervals = just over 8 hours
|
|
2099
2099
|
command:
|
|
@@ -2287,7 +2287,7 @@ spec:
|
|
|
2287
2287
|
command:
|
|
2288
2288
|
- /opt/app-root/src/run-role.sh
|
|
2289
2289
|
- mongodb
|
|
2290
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2290
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2291
2291
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2292
2292
|
workingDir: /workspace/configs
|
|
2293
2293
|
|
|
@@ -2330,7 +2330,7 @@ spec:
|
|
|
2330
2330
|
- $(params.base_output_dir)
|
|
2331
2331
|
- --extra-namespaces
|
|
2332
2332
|
- selenium
|
|
2333
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2333
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2334
2334
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2335
2335
|
env:
|
|
2336
2336
|
- name: DEVOPS_MONGO_URI
|
|
@@ -2447,7 +2447,7 @@ spec:
|
|
|
2447
2447
|
command:
|
|
2448
2448
|
- /opt/app-root/src/run-role.sh
|
|
2449
2449
|
- nvidia_gpu
|
|
2450
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2450
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2451
2451
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2452
2452
|
workingDir: /workspace/configs
|
|
2453
2453
|
|
|
@@ -2526,7 +2526,7 @@ spec:
|
|
|
2526
2526
|
command:
|
|
2527
2527
|
- /opt/app-root/src/run-role.sh
|
|
2528
2528
|
- ocp_deprovision
|
|
2529
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2529
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2530
2530
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2531
2531
|
# --------------------------------------------------------------------------------
|
|
2532
2532
|
# /home/runner/work/cli/cli/tekton/target/tasks/ocp-verify-all.yaml
|
|
@@ -2558,7 +2558,7 @@ spec:
|
|
|
2558
2558
|
# Verify Cluster
|
|
2559
2559
|
# -------------------------------------------------------------------------
|
|
2560
2560
|
- name: ocp-verify-cluster
|
|
2561
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2561
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2562
2562
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2563
2563
|
command:
|
|
2564
2564
|
- /opt/app-root/src/run-role.sh
|
|
@@ -2600,7 +2600,7 @@ spec:
|
|
|
2600
2600
|
# Verify Catalogs
|
|
2601
2601
|
# -------------------------------------------------------------------------
|
|
2602
2602
|
- name: ocp-verify-catalogs
|
|
2603
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2603
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2604
2604
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2605
2605
|
command:
|
|
2606
2606
|
- /opt/app-root/src/run-role.sh
|
|
@@ -2642,7 +2642,7 @@ spec:
|
|
|
2642
2642
|
# Verify Subscriptions
|
|
2643
2643
|
# -------------------------------------------------------------------------
|
|
2644
2644
|
- name: ocp-verify-subscriptions
|
|
2645
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2645
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2646
2646
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2647
2647
|
command:
|
|
2648
2648
|
- /opt/app-root/src/run-role.sh
|
|
@@ -2684,7 +2684,7 @@ spec:
|
|
|
2684
2684
|
# Verify Workloads
|
|
2685
2685
|
# -------------------------------------------------------------------------
|
|
2686
2686
|
- name: ocp-verify-workloads
|
|
2687
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2687
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2688
2688
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2689
2689
|
command:
|
|
2690
2690
|
- /opt/app-root/src/run-role.sh
|
|
@@ -2726,7 +2726,7 @@ spec:
|
|
|
2726
2726
|
# Verify Catalogs - Ingress TLS
|
|
2727
2727
|
# -------------------------------------------------------------------------
|
|
2728
2728
|
- name: ocp-verify-ingress
|
|
2729
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2729
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2730
2730
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2731
2731
|
command:
|
|
2732
2732
|
- /opt/app-root/src/run-role.sh
|
|
@@ -2852,7 +2852,7 @@ spec:
|
|
|
2852
2852
|
command:
|
|
2853
2853
|
- /opt/app-root/src/run-role.sh
|
|
2854
2854
|
- ocp_verify
|
|
2855
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2855
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2856
2856
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2857
2857
|
workingDir: /workspace/configs
|
|
2858
2858
|
# --------------------------------------------------------------------------------
|
|
@@ -2920,7 +2920,7 @@ spec:
|
|
|
2920
2920
|
command:
|
|
2921
2921
|
- /opt/app-root/src/run-role.sh
|
|
2922
2922
|
- ocs
|
|
2923
|
-
image: quay.io/ibmmas/cli:10.0
|
|
2923
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
2924
2924
|
imagePullPolicy: $(params.image_pull_policy)
|
|
2925
2925
|
workingDir: /workspace/configs
|
|
2926
2926
|
|
|
@@ -3101,7 +3101,7 @@ spec:
|
|
|
3101
3101
|
command:
|
|
3102
3102
|
- /opt/app-root/src/run-role.sh
|
|
3103
3103
|
- sls
|
|
3104
|
-
image: quay.io/ibmmas/cli:10.0
|
|
3104
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
3105
3105
|
imagePullPolicy: $(params.image_pull_policy)
|
|
3106
3106
|
workingDir: /workspace/configs
|
|
3107
3107
|
|
|
@@ -3476,12 +3476,12 @@ spec:
|
|
|
3476
3476
|
command:
|
|
3477
3477
|
- /opt/app-root/src/run-role.sh
|
|
3478
3478
|
- suite_app_config
|
|
3479
|
-
image: quay.io/ibmmas/cli:10.0
|
|
3479
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
3480
3480
|
imagePullPolicy: $(params.image_pull_policy)
|
|
3481
3481
|
|
|
3482
3482
|
# If configmap/approval-app-cfg-$(params.mas_app_id) exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
|
|
3483
3483
|
- name: app-cfg-post-verify
|
|
3484
|
-
image: quay.io/ibmmas/cli:10.0
|
|
3484
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
3485
3485
|
imagePullPolicy: $(params.image_pull_policy)
|
|
3486
3486
|
command:
|
|
3487
3487
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
@@ -3682,7 +3682,7 @@ spec:
|
|
|
3682
3682
|
command:
|
|
3683
3683
|
- /opt/app-root/src/run-role.sh
|
|
3684
3684
|
- suite_app_install
|
|
3685
|
-
image: quay.io/ibmmas/cli:10.0
|
|
3685
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
3686
3686
|
imagePullPolicy: $(params.image_pull_policy)
|
|
3687
3687
|
|
|
3688
3688
|
workspaces:
|
|
@@ -3771,7 +3771,7 @@ spec:
|
|
|
3771
3771
|
command:
|
|
3772
3772
|
- /opt/app-root/src/run-role.sh
|
|
3773
3773
|
- suite_app_rollback
|
|
3774
|
-
image: quay.io/ibmmas/cli:10.0
|
|
3774
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
3775
3775
|
imagePullPolicy: $(params.image_pull_policy)
|
|
3776
3776
|
# --------------------------------------------------------------------------------
|
|
3777
3777
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-uninstall.yaml
|
|
@@ -3834,7 +3834,7 @@ spec:
|
|
|
3834
3834
|
command:
|
|
3835
3835
|
- /opt/app-root/src/run-role.sh
|
|
3836
3836
|
- suite_app_uninstall
|
|
3837
|
-
image: quay.io/ibmmas/cli:10.0
|
|
3837
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
3838
3838
|
imagePullPolicy: $(params.image_pull_policy)
|
|
3839
3839
|
# --------------------------------------------------------------------------------
|
|
3840
3840
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-upgrade.yaml
|
|
@@ -3909,7 +3909,7 @@ spec:
|
|
|
3909
3909
|
command:
|
|
3910
3910
|
- /opt/app-root/src/run-role.sh
|
|
3911
3911
|
- suite_app_upgrade
|
|
3912
|
-
image: quay.io/ibmmas/cli:10.0
|
|
3912
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
3913
3913
|
imagePullPolicy: $(params.image_pull_policy)
|
|
3914
3914
|
# --------------------------------------------------------------------------------
|
|
3915
3915
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-app-verify.yaml
|
|
@@ -4010,7 +4010,7 @@ spec:
|
|
|
4010
4010
|
command:
|
|
4011
4011
|
- /opt/app-root/src/run-role.sh
|
|
4012
4012
|
- suite_app_verify
|
|
4013
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4013
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4014
4014
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4015
4015
|
# --------------------------------------------------------------------------------
|
|
4016
4016
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-certs.yaml
|
|
@@ -4153,7 +4153,7 @@ spec:
|
|
|
4153
4153
|
command:
|
|
4154
4154
|
- /opt/app-root/src/run-role.sh
|
|
4155
4155
|
- suite_certs
|
|
4156
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4156
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4157
4157
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4158
4158
|
|
|
4159
4159
|
workspaces:
|
|
@@ -4220,7 +4220,7 @@ spec:
|
|
|
4220
4220
|
command:
|
|
4221
4221
|
- /opt/app-root/src/run-role.sh
|
|
4222
4222
|
- suite_config
|
|
4223
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4223
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4224
4224
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4225
4225
|
workingDir: /workspace/configs
|
|
4226
4226
|
|
|
@@ -4291,7 +4291,7 @@ spec:
|
|
|
4291
4291
|
command:
|
|
4292
4292
|
- /opt/app-root/src/run-role.sh
|
|
4293
4293
|
- suite_db2_setup_for_manage
|
|
4294
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4294
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4295
4295
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4296
4296
|
# --------------------------------------------------------------------------------
|
|
4297
4297
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-dns.yaml
|
|
@@ -4481,7 +4481,7 @@ spec:
|
|
|
4481
4481
|
command:
|
|
4482
4482
|
- /opt/app-root/src/run-role.sh
|
|
4483
4483
|
- suite_dns
|
|
4484
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4484
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4485
4485
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4486
4486
|
# --------------------------------------------------------------------------------
|
|
4487
4487
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-install.yaml
|
|
@@ -4661,7 +4661,7 @@ spec:
|
|
|
4661
4661
|
command:
|
|
4662
4662
|
- /opt/app-root/src/run-role.sh
|
|
4663
4663
|
- suite_install
|
|
4664
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4664
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4665
4665
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4666
4666
|
workingDir: /workspace/configs
|
|
4667
4667
|
|
|
@@ -4749,7 +4749,7 @@ spec:
|
|
|
4749
4749
|
command:
|
|
4750
4750
|
- /opt/app-root/src/run-role.sh
|
|
4751
4751
|
- suite_rollback
|
|
4752
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4752
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4753
4753
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4754
4754
|
# --------------------------------------------------------------------------------
|
|
4755
4755
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-uninstall.yaml
|
|
@@ -4814,7 +4814,7 @@ spec:
|
|
|
4814
4814
|
command:
|
|
4815
4815
|
- /opt/app-root/src/run-role.sh
|
|
4816
4816
|
- suite_uninstall
|
|
4817
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4817
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4818
4818
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4819
4819
|
# --------------------------------------------------------------------------------
|
|
4820
4820
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-upgrade.yaml
|
|
@@ -4884,7 +4884,7 @@ spec:
|
|
|
4884
4884
|
command:
|
|
4885
4885
|
- /opt/app-root/src/run-role.sh
|
|
4886
4886
|
- suite_upgrade
|
|
4887
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4887
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4888
4888
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4889
4889
|
# --------------------------------------------------------------------------------
|
|
4890
4890
|
# /home/runner/work/cli/cli/tekton/target/tasks/suite-verify.yaml
|
|
@@ -4946,12 +4946,12 @@ spec:
|
|
|
4946
4946
|
command:
|
|
4947
4947
|
- /opt/app-root/src/run-role.sh
|
|
4948
4948
|
- suite_verify
|
|
4949
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4949
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4950
4950
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4951
4951
|
|
|
4952
4952
|
# If configmap/approval-suite-verify exists then set CONFIGMAP_KEY=pending and wait for it to be changed to "approved"
|
|
4953
4953
|
- name: suite-post-verify
|
|
4954
|
-
image: quay.io/ibmmas/cli:10.0
|
|
4954
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
4955
4955
|
imagePullPolicy: $(params.image_pull_policy)
|
|
4956
4956
|
command:
|
|
4957
4957
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
@@ -5080,7 +5080,7 @@ spec:
|
|
|
5080
5080
|
command:
|
|
5081
5081
|
- /opt/app-root/src/run-role.sh
|
|
5082
5082
|
- turbonomic
|
|
5083
|
-
image: quay.io/ibmmas/cli:10.0
|
|
5083
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
5084
5084
|
imagePullPolicy: $(params.image_pull_policy)
|
|
5085
5085
|
# --------------------------------------------------------------------------------
|
|
5086
5086
|
# /home/runner/work/cli/cli/tekton/target/tasks/uds.yaml
|
|
@@ -5161,7 +5161,7 @@ spec:
|
|
|
5161
5161
|
# IBM User Data Services (UDS)
|
|
5162
5162
|
# -------------------------------------------------------------------------
|
|
5163
5163
|
- name: uds
|
|
5164
|
-
image: quay.io/ibmmas/cli:10.0
|
|
5164
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
5165
5165
|
imagePullPolicy: $(params.image_pull_policy)
|
|
5166
5166
|
workingDir: /workspace/configs
|
|
5167
5167
|
command:
|
|
@@ -5224,7 +5224,7 @@ spec:
|
|
|
5224
5224
|
# IBM Data Reporter Operator (DRO)
|
|
5225
5225
|
# -------------------------------------------------------------------------
|
|
5226
5226
|
- name: dro
|
|
5227
|
-
image: quay.io/ibmmas/cli:10.0
|
|
5227
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
5228
5228
|
imagePullPolicy: $(params.image_pull_policy)
|
|
5229
5229
|
workingDir: /workspace/configs
|
|
5230
5230
|
command:
|
|
@@ -5310,7 +5310,7 @@ spec:
|
|
|
5310
5310
|
|
|
5311
5311
|
steps:
|
|
5312
5312
|
- name: update-configmap
|
|
5313
|
-
image: quay.io/ibmmas/cli:10.0
|
|
5313
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
5314
5314
|
command:
|
|
5315
5315
|
- /opt/app-root/src/update-configmap.sh
|
|
5316
5316
|
env:
|
|
@@ -5372,7 +5372,7 @@ spec:
|
|
|
5372
5372
|
|
|
5373
5373
|
steps:
|
|
5374
5374
|
- name: wait-for-configmap
|
|
5375
|
-
image: quay.io/ibmmas/cli:10.0
|
|
5375
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
5376
5376
|
command:
|
|
5377
5377
|
- /opt/app-root/src/wait-for-configmap.sh
|
|
5378
5378
|
env:
|
|
@@ -5436,7 +5436,7 @@ spec:
|
|
|
5436
5436
|
|
|
5437
5437
|
steps:
|
|
5438
5438
|
- name: wait
|
|
5439
|
-
image: quay.io/ibmmas/cli:10.0
|
|
5439
|
+
image: quay.io/ibmmas/cli:10.1.0
|
|
5440
5440
|
command:
|
|
5441
5441
|
- /opt/app-root/src/wait-for-tekton.sh
|
|
5442
5442
|
env:
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# *****************************************************************************
|
|
2
|
+
# Copyright (c) 2024 IBM Corporation and other Contributors.
|
|
3
|
+
#
|
|
4
|
+
# All rights reserved. This program and the accompanying materials
|
|
5
|
+
# are made available under the terms of the Eclipse Public License v1.0
|
|
6
|
+
# which accompanies this distribution, and is available at
|
|
7
|
+
# http://www.eclipse.org/legal/epl-v10.html
|
|
8
|
+
#
|
|
9
|
+
# *****************************************************************************
|
|
10
|
+
|
|
11
|
+
from ..cli import BaseApp
|