mas-cli 10.0.2__py3-none-any.whl → 10.0.4__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/install/settings/additionalConfigs.py +2 -4
- mas/cli/install/settings/db2Settings.py +1 -1
- mas/cli/install/settings/kafkaSettings.py +5 -10
- mas/cli/install/settings/manageSettings.py +5 -5
- mas/cli/install/summarizer.py +1 -1
- mas/cli/templates/ibm-mas-tekton.yaml +53 -53
- {mas_cli-10.0.2.data → mas_cli-10.0.4.data}/scripts/mas-install +24 -14
- {mas_cli-10.0.2.data → mas_cli-10.0.4.data}/scripts/mas-upgrade +1 -1
- {mas_cli-10.0.2.dist-info → mas_cli-10.0.4.dist-info}/METADATA +1 -1
- {mas_cli-10.0.2.dist-info → mas_cli-10.0.4.dist-info}/RECORD +14 -14
- {mas_cli-10.0.2.data → mas_cli-10.0.4.data}/scripts/mas-uninstall +0 -0
- {mas_cli-10.0.2.dist-info → mas_cli-10.0.4.dist-info}/WHEEL +0 -0
- {mas_cli-10.0.2.dist-info → mas_cli-10.0.4.dist-info}/top_level.txt +0 -0
mas/cli/__init__.py
CHANGED
|
@@ -67,8 +67,7 @@ class AdditionalConfigsMixin():
|
|
|
67
67
|
self.printDescription([
|
|
68
68
|
"The CLI supports two pod template profiles out of the box that allow you to reconfigure MAS for either a guaranteed or best effort QoS level",
|
|
69
69
|
"For more information about the Kubernetes quality of service (QoS) levels, see https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/",
|
|
70
|
-
"You may also choose to use your own customized pod template definitions"
|
|
71
|
-
""
|
|
70
|
+
"You may also choose to use your own customized pod template definitions"
|
|
72
71
|
])
|
|
73
72
|
|
|
74
73
|
if not self.yesOrNo("Use pod templates"):
|
|
@@ -79,8 +78,7 @@ class AdditionalConfigsMixin():
|
|
|
79
78
|
"",
|
|
80
79
|
"1. Guaranteed QoS",
|
|
81
80
|
"2. Best Effort QoS",
|
|
82
|
-
"3. Custom"
|
|
83
|
-
""
|
|
81
|
+
"3. Custom"
|
|
84
82
|
])
|
|
85
83
|
|
|
86
84
|
podTemplateChoice = self.promptForInt("Select pod templates profile")
|
|
@@ -104,7 +104,7 @@ class Db2SettingsMixin():
|
|
|
104
104
|
" 1. DB2 Warehouse (Default option)",
|
|
105
105
|
" 2. DB2 Online Transactional Processing (OLTP)"
|
|
106
106
|
])
|
|
107
|
-
self.promptForListSelect(message="Select the Manage dedicated DB2 instance type", options=["db2wh", "db2oltp"], param="
|
|
107
|
+
self.promptForListSelect(message="Select the Manage dedicated DB2 instance type", options=["db2wh", "db2oltp"], param="db2_type", default="1")
|
|
108
108
|
else:
|
|
109
109
|
workspaceId = self.getParam("mas_workspace_id")
|
|
110
110
|
self.setParam("db2_action_manage", "byo")
|
|
@@ -18,8 +18,7 @@ class KafkaSettingsMixin():
|
|
|
18
18
|
self.printDescription([
|
|
19
19
|
"Maximo IoT requires a shared system-scope Kafka instance",
|
|
20
20
|
"Supported Kafka providers: Strimzi, Red Hat AMQ Streams, IBM Cloud Event Streams and AWS MSK",
|
|
21
|
-
"You may also choose to configure MAS to use an existing Kafka instance by providing a pre-existing configuration file"
|
|
22
|
-
""
|
|
21
|
+
"You may also choose to configure MAS to use an existing Kafka instance by providing a pre-existing configuration file"
|
|
23
22
|
])
|
|
24
23
|
if self.yesOrNo("Create system Kafka instance using one of the supported providers"):
|
|
25
24
|
self.setParam("kafka_action_system", "install")
|
|
@@ -30,8 +29,7 @@ class KafkaSettingsMixin():
|
|
|
30
29
|
" 1. Strimzi (opensource)",
|
|
31
30
|
" 2. Red Hat AMQ Streams (requires a separate license)",
|
|
32
31
|
" 3. IBM Cloud Event Streams (paid IBM Cloud service)",
|
|
33
|
-
" 4. AWS MSK (paid AWS service)"
|
|
34
|
-
""
|
|
32
|
+
" 4. AWS MSK (paid AWS service)"
|
|
35
33
|
])
|
|
36
34
|
self.promptForListSelect("Select Kafka provider", ["strimzi", "redhat", "ibm", "aws"], "kafka_provider")
|
|
37
35
|
|
|
@@ -41,8 +39,7 @@ class KafkaSettingsMixin():
|
|
|
41
39
|
"Strimzi: Cluster Version",
|
|
42
40
|
"The version of the Strimzi operator available on your cluster will determine the supported versions of Kafka that can be deployed.",
|
|
43
41
|
" - If you are using the latest available operator catalog then the default version below can be accepted",
|
|
44
|
-
" - If you are using older operator catalogs (e.g. in a disconnected install) you should confirm the supported versions in your OperatorHub"
|
|
45
|
-
""
|
|
42
|
+
" - If you are using older operator catalogs (e.g. in a disconnected install) you should confirm the supported versions in your OperatorHub"
|
|
46
43
|
])
|
|
47
44
|
self.promptForString("Install namespace", "kafka_namespace", default="strimzi")
|
|
48
45
|
self.promptForString("Kafka version", "kafka_version", default="3.7.0")
|
|
@@ -53,8 +50,7 @@ class KafkaSettingsMixin():
|
|
|
53
50
|
"Red Hat AMQ Streams: Cluster Version",
|
|
54
51
|
"The version of the Red Hat AMQ Streams operator available on your cluster will determine the supported versions of Kafka that can be deployed.",
|
|
55
52
|
" - If you are using the latest available operator catalog then the default version below can be accepted",
|
|
56
|
-
" - If you are using older operator catalogs (e.g. in a disconnected install) you should confirm the supported versions in your OperatorHub"
|
|
57
|
-
""
|
|
53
|
+
" - If you are using older operator catalogs (e.g. in a disconnected install) you should confirm the supported versions in your OperatorHub"
|
|
58
54
|
])
|
|
59
55
|
self.promptForString("Install namespace", "kafka_namespace", default="amq-streams")
|
|
60
56
|
self.promptForString("Kafka version", "kafka_version", default="3.5.0")
|
|
@@ -72,8 +68,7 @@ class KafkaSettingsMixin():
|
|
|
72
68
|
"While provisioning the AWS MSK instance, you will be required to provide the AWS Virtual Private Cloud ID and subnet details",
|
|
73
69
|
"where your instance will be deployed to properly configure inbound and outbound connectivity.",
|
|
74
70
|
"You should be able to find these information inside your VPC and subnet configurations in the target AWS account.",
|
|
75
|
-
"For more details about AWS subnet/CIDR configuration, refer: https://docs.aws.amazon.com/vpc/latest/userguide/subnet-sizing.html"
|
|
76
|
-
""
|
|
71
|
+
"For more details about AWS subnet/CIDR configuration, refer: https://docs.aws.amazon.com/vpc/latest/userguide/subnet-sizing.html"
|
|
77
72
|
])
|
|
78
73
|
self.promptForString("AWS Access Key ID", "aws_access_key_id", isPassword=True)
|
|
79
74
|
self.promptForString("AWS Secret Access Key" "aws_secret_access_key", isPassword=True)
|
|
@@ -104,10 +104,10 @@ class ManageSettingsMixin():
|
|
|
104
104
|
self.promptForString("Indexspace", "mas_app_settings_db2_indexspace", default="MAXINDEX")
|
|
105
105
|
|
|
106
106
|
if self.yesOrNo("Customize database encryption settings"):
|
|
107
|
-
self.promptForString("MXE_SECURITY_CRYPTO_KEY", "
|
|
108
|
-
self.promptForString("MXE_SECURITY_CRYPTOX_KEY", "
|
|
109
|
-
self.promptForString("MXE_SECURITY_OLD_CRYPTO_KEY", "
|
|
110
|
-
self.promptForString("MXE_SECURITY_OLD_CRYPTOX_KEY", "
|
|
107
|
+
self.promptForString("MXE_SECURITY_CRYPTO_KEY", "mas_app_settings_crypto_key")
|
|
108
|
+
self.promptForString("MXE_SECURITY_CRYPTOX_KEY", "mas_app_settings_cryptox_key")
|
|
109
|
+
self.promptForString("MXE_SECURITY_OLD_CRYPTO_KEY", "mas_app_settings_old_crypto_key")
|
|
110
|
+
self.promptForString("MXE_SECURITY_OLD_CRYPTOX_KEY", "mas_app_settings_old_cryptox_key")
|
|
111
111
|
self.yesOrNo("Override database encryption secrets with provided keys", "mas_app_settings_override_encryption_secrets_flag")
|
|
112
112
|
|
|
113
113
|
def manageSettingsServerBundleConfig(self) -> None:
|
|
@@ -166,7 +166,7 @@ class ManageSettingsMixin():
|
|
|
166
166
|
self.promptForString("Password", "mas_app_settings_customization_archive_password", isPassword=True)
|
|
167
167
|
|
|
168
168
|
def manageSettingsDemodata(self) -> None:
|
|
169
|
-
self.yesOrNo("Create demo data", "
|
|
169
|
+
self.yesOrNo("Create demo data", "mas_app_settings_demodata")
|
|
170
170
|
|
|
171
171
|
def manageSettingsTimezone(self) -> None:
|
|
172
172
|
self.promptForString("Manage server timezone", "mas_app_settings_server_timezone", default="GMT")
|
mas/cli/install/summarizer.py
CHANGED
|
@@ -36,7 +36,7 @@ class InstallSummarizerMixin():
|
|
|
36
36
|
def icrSummary(self) -> None:
|
|
37
37
|
self.printH2("IBM Container Registry Credentials")
|
|
38
38
|
self.printSummary("IBM Entitlement Key", f"{self.params['ibm_entitlement_key'][0:8]}<snip>")
|
|
39
|
-
if self.
|
|
39
|
+
if self.devMode:
|
|
40
40
|
self.printSummary("Artifactory Username", self.params['artifactory_username'])
|
|
41
41
|
self.printSummary("Artifactory Token", f"{self.params['artifactory_token'][0:8]}<snip>")
|
|
42
42
|
|
|
@@ -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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
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.0.4
|
|
5440
5440
|
command:
|
|
5441
5441
|
- /opt/app-root/src/wait-for-tekton.sh
|
|
5442
5442
|
env:
|
|
@@ -46,23 +46,23 @@ from mas.devops.tekton import installOpenShiftPipelines, updateTektonDefinitions
|
|
|
46
46
|
|
|
47
47
|
logger = logging.getLogger(__name__)
|
|
48
48
|
|
|
49
|
+
|
|
49
50
|
class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGeneratorMixin):
|
|
50
51
|
def validateCatalogSource(self):
|
|
51
52
|
catalogsAPI = self.dynamicClient.resources.get(api_version="operators.coreos.com/v1alpha1", kind="CatalogSource")
|
|
52
53
|
try:
|
|
53
54
|
catalog = catalogsAPI.get(name="ibm-operator-catalog", namespace="openshift-marketplace")
|
|
54
55
|
catalogDisplayName = catalog.spec.displayName
|
|
55
|
-
catalogImage = catalog.spec.image
|
|
56
56
|
|
|
57
57
|
m = re.match(r".+(?P<catalogId>v[89]-(?P<catalogVersion>[0-9]+)-amd64)", catalogDisplayName)
|
|
58
58
|
if m:
|
|
59
59
|
# catalogId = v8-yymmdd-amd64
|
|
60
60
|
# catalogVersion = yymmdd
|
|
61
61
|
catalogId = m.group("catalogId")
|
|
62
|
-
catalogVersion = m.group("catalogVersion")
|
|
63
62
|
elif re.match(r".+v8-amd64", catalogDisplayName):
|
|
64
63
|
catalogId = "v8-amd64"
|
|
65
|
-
|
|
64
|
+
else:
|
|
65
|
+
self.fatalError(f"IBM Maximo Operator Catalog is already installed on this cluster. However, it is not possible to identify its version. If you wish to install a new MAS instance using the {self.getParam('mas_catalog_version')} catalog please first run 'mas update' to switch to this catalog, this will ensure the appropriate actions are performed as part of the catalog update")
|
|
66
66
|
|
|
67
67
|
if catalogId != self.getParam("mas_catalog_version"):
|
|
68
68
|
self.fatalError(f"IBM Maximo Operator Catalog {catalogId} is already installed on this cluster, if you wish to install a new MAS instance using the {self.getParam('mas_catalog_version')} catalog please first run 'mas update' to switch to this catalog, this will ensure the appropriate actions are performed as part of the catalog update")
|
|
@@ -109,7 +109,7 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
109
109
|
exit(1)
|
|
110
110
|
|
|
111
111
|
def configICR(self):
|
|
112
|
-
if self.
|
|
112
|
+
if self.devMode:
|
|
113
113
|
self.setParam("mas_icr_cp", "docker-na-public.artifactory.swg-devops.com/wiotp-docker-local")
|
|
114
114
|
self.setParam("mas_icr_cpopen", "docker-na-public.artifactory.swg-devops.com/wiotp-docker-local/cpopen")
|
|
115
115
|
self.setParam("sls_icr_cpopen", "docker-na-public.artifactory.swg-devops.com/wiotp-docker-local/cpopen")
|
|
@@ -121,7 +121,7 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
121
121
|
def configICRCredentials(self):
|
|
122
122
|
self.printH1("Configure IBM Container Registry")
|
|
123
123
|
self.promptForString("IBM entitlement key", "ibm_entitlement_key", isPassword=True)
|
|
124
|
-
if self.
|
|
124
|
+
if self.devMode:
|
|
125
125
|
self.promptForString("Artifactory username", "artifactory_username", isPassword=True)
|
|
126
126
|
self.promptForString("Artifactory token", "artifactory_token", isPassword=True)
|
|
127
127
|
|
|
@@ -132,9 +132,9 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
132
132
|
|
|
133
133
|
def configCatalog(self):
|
|
134
134
|
self.printH1("IBM Maximo Operator Catalog Selection")
|
|
135
|
-
if self.
|
|
135
|
+
if self.devMode:
|
|
136
136
|
self.promptForString("Select catalog source", "mas_catalog_version", default="v9-master-amd64")
|
|
137
|
-
self.promptForString("Select channel", "mas_channel", default="9.
|
|
137
|
+
self.promptForString("Select channel", "mas_channel", default="9.1.x-dev")
|
|
138
138
|
else:
|
|
139
139
|
print(tabulate(self.installOptions, headers="keys", tablefmt="simple_grid"))
|
|
140
140
|
catalogSelection = self.promptForInt("Select catalog and release", default=1)
|
|
@@ -199,7 +199,7 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
199
199
|
" - Must start with a lowercase letter",
|
|
200
200
|
" - Must end with a lowercase letter or a number"
|
|
201
201
|
])
|
|
202
|
-
self.promptForString("Instance ID", "mas_instance_id", validator=InstanceIDFormatValidator()
|
|
202
|
+
self.promptForString("Instance ID", "mas_instance_id", validator=InstanceIDFormatValidator())
|
|
203
203
|
self.printDescription([
|
|
204
204
|
"",
|
|
205
205
|
"Workspace ID restrictions:",
|
|
@@ -207,13 +207,13 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
207
207
|
" - Must only use lowercase letters and numbers",
|
|
208
208
|
" - Must start with a lowercase letter"
|
|
209
209
|
])
|
|
210
|
-
self.promptForString("Workspace ID", "mas_workspace_id", validator=WorkspaceIDFormatValidator()
|
|
210
|
+
self.promptForString("Workspace ID", "mas_workspace_id", validator=WorkspaceIDFormatValidator())
|
|
211
211
|
self.printDescription([
|
|
212
212
|
"",
|
|
213
213
|
"Workspace display name restrictions:",
|
|
214
214
|
" - Must be 3-300 characters long"
|
|
215
215
|
])
|
|
216
|
-
self.promptForString("Workspace name", "mas_workspace_name", validator=WorkspaceNameFormatValidator()
|
|
216
|
+
self.promptForString("Workspace name", "mas_workspace_name", validator=WorkspaceNameFormatValidator())
|
|
217
217
|
|
|
218
218
|
self.configOperationMode()
|
|
219
219
|
self.configCATrust()
|
|
@@ -513,8 +513,9 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
513
513
|
|
|
514
514
|
# Catalog
|
|
515
515
|
self.configCatalog()
|
|
516
|
-
self.
|
|
517
|
-
|
|
516
|
+
if not self.devMode:
|
|
517
|
+
self.validateCatalogSource()
|
|
518
|
+
self.licensePrompt()
|
|
518
519
|
|
|
519
520
|
# SNO & Storage Classes
|
|
520
521
|
self.configSNO()
|
|
@@ -772,19 +773,28 @@ class App(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGenerator
|
|
|
772
773
|
self.fatalError(f"Unknown option: {key} {value}")
|
|
773
774
|
|
|
774
775
|
# Once we've processed the inputs, we should validate the catalog source & prompt to accept the license terms
|
|
775
|
-
self.
|
|
776
|
-
|
|
776
|
+
if not self.devMode:
|
|
777
|
+
self.validateCatalogSource()
|
|
778
|
+
self.licensePrompt()
|
|
777
779
|
|
|
778
780
|
def install(self, args):
|
|
779
781
|
"""
|
|
780
782
|
Install MAS instance
|
|
781
783
|
"""
|
|
784
|
+
# We use the presence of --mas-instance-id to determine whether
|
|
785
|
+
# the CLI is being started in interactive mode or not
|
|
782
786
|
instanceId = args.mas_instance_id
|
|
787
|
+
|
|
788
|
+
# Properties for arguments that control the behavior of the CLI
|
|
783
789
|
self.noConfirm = args.no_confirm
|
|
784
790
|
self.waitForPVC = not args.no_wait_for_pvc
|
|
785
791
|
self.licenseAccepted = args.accept_license
|
|
792
|
+
self.devMode = args.dev_mode
|
|
786
793
|
|
|
794
|
+
# Store all args
|
|
787
795
|
self.args = args
|
|
796
|
+
|
|
797
|
+
# Initialize the dictionary that will hold the parameters we pass to the PipelineRun
|
|
788
798
|
self.params = dict()
|
|
789
799
|
|
|
790
800
|
# These flags work for setting params in both interactive and non-interactive modes
|
|
@@ -94,7 +94,7 @@ class App(BaseApp):
|
|
|
94
94
|
h.stop_and_persist(symbol=self.successIcon, text=f"Latest Tekton definitions are installed (v{self.version})")
|
|
95
95
|
|
|
96
96
|
with Halo(text='Submitting PipelineRun for {instanceId} upgrade', spinner=self.spinner) as h:
|
|
97
|
-
pipelineURL = launchUpgradePipeline(self.dynamicClient, instanceId)
|
|
97
|
+
pipelineURL = launchUpgradePipeline(self.dynamicClient, instanceId, skipPreCheck)
|
|
98
98
|
if pipelineURL is not None:
|
|
99
99
|
h.stop_and_persist(symbol=self.successIcon, text=f"PipelineRun for {instanceId} upgrade submitted")
|
|
100
100
|
print_formatted_text(HTML(f"\nView progress:\n <Cyan><u>{pipelineURL}</u></Cyan>\n"))
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
mas/cli/__init__.py,sha256=
|
|
1
|
+
mas/cli/__init__.py,sha256=DMZenWaz_JiS9LN0JQwXe0MgPwtHRl6JhQQKqGdx33w,491
|
|
2
2
|
mas/cli/cli.py,sha256=DEIMWmIt0dyhmJL2CDWHABRx3AG61LSZr10UBxNbDmY,8355
|
|
3
3
|
mas/cli/displayMixins.py,sha256=Dcr-q02wjGA9Mec2nGqZD42vWKyjqLtmh92s2ZhWHZw,5013
|
|
4
4
|
mas/cli/gencfg.py,sha256=57ik5x73gQBFXPl_8h2byXmV_vhCgxfeSDZk4Wg5-Pw,2102
|
|
5
5
|
mas/cli/validators.py,sha256=5QwiDQn2EIqJABJyDbHGGaSvlkE38IeJ98d1Czz682A,4550
|
|
6
6
|
mas/cli/install/__init__.py,sha256=55HhFzQjZrWuEIYRC5-fyGRpiMmC5g17MZJlH9_w7rk,467
|
|
7
7
|
mas/cli/install/argParser.py,sha256=AEbodAediMlIGHtOE-jlLSKILcqSKCbOix7o2iTI6xY,18766
|
|
8
|
-
mas/cli/install/summarizer.py,sha256=
|
|
8
|
+
mas/cli/install/summarizer.py,sha256=e5jPnitbFZJTjJJL0wPlWTSTCoNuBF-9jF08bDfgxy8,17775
|
|
9
9
|
mas/cli/install/settings/__init__.py,sha256=eGdNVHVALUxJlZyGYkBet8LbHvVfa-1UjL_8Zl3d-lY,953
|
|
10
|
-
mas/cli/install/settings/additionalConfigs.py,sha256=
|
|
11
|
-
mas/cli/install/settings/db2Settings.py,sha256=
|
|
12
|
-
mas/cli/install/settings/kafkaSettings.py,sha256=
|
|
13
|
-
mas/cli/install/settings/manageSettings.py,sha256=
|
|
10
|
+
mas/cli/install/settings/additionalConfigs.py,sha256=YNEISHlFNXnhX1gwFSVG3OBdHsuT9OJ5oZRTC7RqSVI,6800
|
|
11
|
+
mas/cli/install/settings/db2Settings.py,sha256=mR0XL81Talvwvm1bekw0o9VOwV42QkS0jMyp055bx5U,10713
|
|
12
|
+
mas/cli/install/settings/kafkaSettings.py,sha256=bjAji5OZfSBpttiYHKM5B5Lvva8L8PUzi8QSs6opQcE,6997
|
|
13
|
+
mas/cli/install/settings/manageSettings.py,sha256=3HtyR6-DKiKQDFTWnnxAr5OmkfqKwjI4xnBaAcAjOCI,13229
|
|
14
14
|
mas/cli/install/settings/turbonomicSettings.py,sha256=OC-sn6_Z6MAq0kf33OC3c96gqT8FT4P7A51PenPiCXw,1368
|
|
15
|
-
mas/cli/templates/ibm-mas-tekton.yaml,sha256=
|
|
15
|
+
mas/cli/templates/ibm-mas-tekton.yaml,sha256=tNX43HM57zjYmO8JqDVqaJeEIgLvaQl4hDH3SCJWznQ,335567
|
|
16
16
|
mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
|
|
17
17
|
mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
|
|
18
18
|
mas/cli/templates/pod-templates/best-effort/ibm-mas-bascfg.yml,sha256=rkq8c2pVJoskgict9tCZzCchGSE2MBC-dJ47JyMYm7A,1559
|
|
@@ -85,10 +85,10 @@ mas/cli/templates/pod-templates/guaranteed/ibm-mas-suite.yml,sha256=aB-buCWUAqD0
|
|
|
85
85
|
mas/cli/templates/pod-templates/guaranteed/ibm-mas-visualinspection.yml,sha256=NiXBlXKe3j2RvroEcx3kCSuD92G6WB-jcpNAYGAg3T0,1975
|
|
86
86
|
mas/cli/templates/pod-templates/guaranteed/ibm-sls-licenseservice.yml,sha256=CKt1yim4L3ClloVcQDHiXLD8EMvmKXIltmDxJTxNdDs,546
|
|
87
87
|
mas/cli/templates/pod-templates/saas-essentials/ibm-mas-visualinspection.yml,sha256=4skVNh-8HG55ik0O0QG4jAwiQBRxxrPSRaUwllPYZ_I,1270
|
|
88
|
-
mas_cli-10.0.
|
|
89
|
-
mas_cli-10.0.
|
|
90
|
-
mas_cli-10.0.
|
|
91
|
-
mas_cli-10.0.
|
|
92
|
-
mas_cli-10.0.
|
|
93
|
-
mas_cli-10.0.
|
|
94
|
-
mas_cli-10.0.
|
|
88
|
+
mas_cli-10.0.4.data/scripts/mas-install,sha256=ZYxwFL8QXy9KBSzQayMrp1HWA-zDlUJsI8DKtiP8pWU,46748
|
|
89
|
+
mas_cli-10.0.4.data/scripts/mas-uninstall,sha256=U4eZcs8UHo3K_h4VyQURMJ4P8OoZZKBOvTUSd7vWaQI,13217
|
|
90
|
+
mas_cli-10.0.4.data/scripts/mas-upgrade,sha256=zo8qwVtb5I_37qLlRixQiKGXGUj34Ue-4k-GKliXp7Y,6914
|
|
91
|
+
mas_cli-10.0.4.dist-info/METADATA,sha256=vzsmtzFvQkVmNQ6aBe3NLmscIXvxRl9bfEtWtSQKWuc,2076
|
|
92
|
+
mas_cli-10.0.4.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
93
|
+
mas_cli-10.0.4.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
|
|
94
|
+
mas_cli-10.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|