mas-cli 13.21.0__py3-none-any.whl → 13.22.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 CHANGED
@@ -8,4 +8,4 @@
8
8
  #
9
9
  # *****************************************************************************
10
10
 
11
- __version__ = "13.21.0" # Python module compatible semver
11
+ __version__ = "13.22.1" # Python module compatible semver
mas/cli/cli.py CHANGED
@@ -117,7 +117,7 @@ class BaseApp(PrintMixin, PromptMixin):
117
117
  logging.getLogger('asyncio').setLevel(logging.INFO)
118
118
 
119
119
  # Supports extended semver, unlike mas.cli.__version__
120
- self.version = "13.21.0"
120
+ self.version = "13.22.1"
121
121
  self.h1count = 0
122
122
  self.h2count = 0
123
123
 
@@ -231,7 +231,7 @@ spec:
231
231
  command:
232
232
  - /opt/app-root/src/run-role.sh
233
233
  - aibroker
234
- image: quay.io/ibmmas/cli:13.21.0
234
+ image: quay.io/ibmmas/cli:13.22.1
235
235
  imagePullPolicy: $(params.image_pull_policy)
236
236
  # --------------------------------------------------------------------------------
237
237
  # /home/runner/work/cli/cli/tekton/target/tasks/appconnect.yaml
@@ -342,7 +342,7 @@ spec:
342
342
  command:
343
343
  - /opt/app-root/src/run-role.sh
344
344
  - appconnect
345
- image: quay.io/ibmmas/cli:13.21.0
345
+ image: quay.io/ibmmas/cli:13.22.1
346
346
  imagePullPolicy: $(params.image_pull_policy)
347
347
  workingDir: /workspace/configs
348
348
 
@@ -460,7 +460,7 @@ spec:
460
460
  command:
461
461
  - /opt/app-root/src/run-role.sh
462
462
  - arcgis
463
- image: quay.io/ibmmas/cli:13.21.0
463
+ image: quay.io/ibmmas/cli:13.22.1
464
464
  imagePullPolicy: $(params.image_pull_policy)
465
465
  # --------------------------------------------------------------------------------
466
466
  # /home/runner/work/cli/cli/tekton/target/tasks/cert-manager.yaml
@@ -530,7 +530,7 @@ spec:
530
530
  command:
531
531
  - /opt/app-root/src/run-role.sh
532
532
  - cert_manager
533
- image: quay.io/ibmmas/cli:13.21.0
533
+ image: quay.io/ibmmas/cli:13.22.1
534
534
  imagePullPolicy: $(params.image_pull_policy)
535
535
  workingDir: /workspace/configs
536
536
  # --------------------------------------------------------------------------------
@@ -596,7 +596,7 @@ spec:
596
596
  command:
597
597
  - /opt/app-root/src/run-role.sh
598
598
  - common_services
599
- image: quay.io/ibmmas/cli:13.21.0
599
+ image: quay.io/ibmmas/cli:13.22.1
600
600
  imagePullPolicy: $(params.image_pull_policy)
601
601
  workingDir: /workspace/configs
602
602
  # --------------------------------------------------------------------------------
@@ -723,7 +723,7 @@ spec:
723
723
  command:
724
724
  - /opt/app-root/src/run-role.sh
725
725
  - cos
726
- image: quay.io/ibmmas/cli:13.21.0
726
+ image: quay.io/ibmmas/cli:13.22.1
727
727
  imagePullPolicy: $(params.image_pull_policy)
728
728
  workingDir: /workspace/configs
729
729
 
@@ -843,7 +843,7 @@ spec:
843
843
  command:
844
844
  - /opt/app-root/src/run-role.sh
845
845
  - cp4d_service
846
- image: quay.io/ibmmas/cli:13.21.0
846
+ image: quay.io/ibmmas/cli:13.22.1
847
847
  imagePullPolicy: $(params.image_pull_policy)
848
848
  workingDir: /workspace/configs
849
849
  # --------------------------------------------------------------------------------
@@ -960,7 +960,7 @@ spec:
960
960
  command:
961
961
  - /opt/app-root/src/run-role.sh
962
962
  - cp4d_service
963
- image: quay.io/ibmmas/cli:13.21.0
963
+ image: quay.io/ibmmas/cli:13.22.1
964
964
  imagePullPolicy: $(params.image_pull_policy)
965
965
  workingDir: /workspace/configs
966
966
 
@@ -1066,7 +1066,7 @@ spec:
1066
1066
  command:
1067
1067
  - /opt/app-root/src/run-role.sh
1068
1068
  - cp4d
1069
- image: quay.io/ibmmas/cli:13.21.0
1069
+ image: quay.io/ibmmas/cli:13.22.1
1070
1070
  imagePullPolicy: $(params.image_pull_policy)
1071
1071
  # --------------------------------------------------------------------------------
1072
1072
  # /home/runner/work/cli/cli/tekton/target/tasks/db2.yaml
@@ -1388,7 +1388,7 @@ spec:
1388
1388
  command:
1389
1389
  - /opt/app-root/src/run-role.sh
1390
1390
  - db2
1391
- image: quay.io/ibmmas/cli:13.21.0
1391
+ image: quay.io/ibmmas/cli:13.22.1
1392
1392
  imagePullPolicy: $(params.image_pull_policy)
1393
1393
  workingDir: /workspace/configs
1394
1394
 
@@ -1498,7 +1498,7 @@ spec:
1498
1498
  command:
1499
1499
  - /opt/app-root/src/run-role.sh
1500
1500
  - eck
1501
- image: quay.io/ibmmas/cli:13.21.0
1501
+ image: quay.io/ibmmas/cli:13.22.1
1502
1502
  imagePullPolicy: $(params.image_pull_policy)
1503
1503
  # --------------------------------------------------------------------------------
1504
1504
  # /home/runner/work/cli/cli/tekton/target/tasks/gencfg-workspace.yaml
@@ -1587,7 +1587,7 @@ spec:
1587
1587
  command:
1588
1588
  - /opt/app-root/src/run-role.sh
1589
1589
  - gencfg_workspace
1590
- image: quay.io/ibmmas/cli:13.21.0
1590
+ image: quay.io/ibmmas/cli:13.22.1
1591
1591
  imagePullPolicy: $(params.image_pull_policy)
1592
1592
  workingDir: /workspace/configs
1593
1593
 
@@ -1691,7 +1691,7 @@ spec:
1691
1691
  - -c
1692
1692
  name: gitops-bootstrap
1693
1693
  imagePullPolicy: IfNotPresent
1694
- image: quay.io/ibmmas/cli:13.21.0
1694
+ image: quay.io/ibmmas/cli:13.22.1
1695
1695
  workspaces:
1696
1696
  - name: configs
1697
1697
  # --------------------------------------------------------------------------------
@@ -1773,7 +1773,7 @@ spec:
1773
1773
  - -c
1774
1774
  name: gitops-cis-compliance
1775
1775
  imagePullPolicy: IfNotPresent
1776
- image: quay.io/ibmmas/cli:13.21.0
1776
+ image: quay.io/ibmmas/cli:13.22.1
1777
1777
  workspaces:
1778
1778
  - name: configs
1779
1779
  # --------------------------------------------------------------------------------
@@ -2078,7 +2078,7 @@ spec:
2078
2078
  - -c
2079
2079
  name: gitops-cluster
2080
2080
  imagePullPolicy: Always
2081
- image: quay.io/ibmmas/cli:13.21.0
2081
+ image: quay.io/ibmmas/cli:13.22.1
2082
2082
  workspaces:
2083
2083
  - name: configs
2084
2084
  # --------------------------------------------------------------------------------
@@ -2186,7 +2186,7 @@ spec:
2186
2186
  - -c
2187
2187
  name: gitops-cos
2188
2188
  imagePullPolicy: IfNotPresent
2189
- image: quay.io/ibmmas/cli:13.21.0
2189
+ image: quay.io/ibmmas/cli:13.22.1
2190
2190
  workspaces:
2191
2191
  - name: configs
2192
2192
  # --------------------------------------------------------------------------------
@@ -2334,7 +2334,7 @@ spec:
2334
2334
  - -c
2335
2335
  name: gitops-cp4d-service
2336
2336
  imagePullPolicy: IfNotPresent
2337
- image: quay.io/ibmmas/cli:13.21.0
2337
+ image: quay.io/ibmmas/cli:13.22.1
2338
2338
  workspaces:
2339
2339
  - name: configs
2340
2340
  - name: shared-gitops-configs
@@ -2463,7 +2463,7 @@ spec:
2463
2463
  - -c
2464
2464
  name: gitops-cp4d
2465
2465
  imagePullPolicy: IfNotPresent
2466
- image: quay.io/ibmmas/cli:13.21.0
2466
+ image: quay.io/ibmmas/cli:13.22.1
2467
2467
  workspaces:
2468
2468
  - name: configs
2469
2469
  - name: shared-gitops-configs
@@ -2754,7 +2754,7 @@ spec:
2754
2754
  - -c
2755
2755
  name: gitops-db2u-database
2756
2756
  imagePullPolicy: Always
2757
- image: quay.io/ibmmas/cli:13.21.0
2757
+ image: quay.io/ibmmas/cli:13.22.1
2758
2758
  workspaces:
2759
2759
  - name: configs
2760
2760
  - name: shared-gitops-configs
@@ -2852,7 +2852,7 @@ spec:
2852
2852
  - -c
2853
2853
  name: gitops-db2u
2854
2854
  imagePullPolicy: IfNotPresent
2855
- image: quay.io/ibmmas/cli:13.21.0
2855
+ image: quay.io/ibmmas/cli:13.22.1
2856
2856
  workspaces:
2857
2857
  - name: configs
2858
2858
  # --------------------------------------------------------------------------------
@@ -2979,7 +2979,7 @@ spec:
2979
2979
  - -c
2980
2980
  name: gitops-delete-jdbc-config
2981
2981
  imagePullPolicy: IfNotPresent
2982
- image: quay.io/ibmmas/cli:13.21.0
2982
+ image: quay.io/ibmmas/cli:13.22.1
2983
2983
  workspaces:
2984
2984
  - name: configs
2985
2985
  # --------------------------------------------------------------------------------
@@ -3077,7 +3077,7 @@ spec:
3077
3077
  - -c
3078
3078
  name: gitops-delete-kafka-config
3079
3079
  imagePullPolicy: Always
3080
- image: quay.io/ibmmas/cli:13.21.0
3080
+ image: quay.io/ibmmas/cli:13.22.1
3081
3081
  workspaces:
3082
3082
  - name: configs
3083
3083
 
@@ -3169,7 +3169,7 @@ spec:
3169
3169
  - -c
3170
3170
  name: gitops-deprovision-app-config
3171
3171
  imagePullPolicy: IfNotPresent
3172
- image: quay.io/ibmmas/cli:13.21.0
3172
+ image: quay.io/ibmmas/cli:13.22.1
3173
3173
  workspaces:
3174
3174
  - name: configs
3175
3175
  # --------------------------------------------------------------------------------
@@ -3254,7 +3254,7 @@ spec:
3254
3254
  - -c
3255
3255
  name: gitops-deprovision-app-install
3256
3256
  imagePullPolicy: IfNotPresent
3257
- image: quay.io/ibmmas/cli:13.21.0
3257
+ image: quay.io/ibmmas/cli:13.22.1
3258
3258
  workspaces:
3259
3259
  - name: configs
3260
3260
  # --------------------------------------------------------------------------------
@@ -3339,7 +3339,7 @@ spec:
3339
3339
  - -c
3340
3340
  name: gitops-deprovision-cluster
3341
3341
  imagePullPolicy: IfNotPresent
3342
- image: quay.io/ibmmas/cli:13.21.0
3342
+ image: quay.io/ibmmas/cli:13.22.1
3343
3343
  workspaces:
3344
3344
  - name: configs
3345
3345
  # --------------------------------------------------------------------------------
@@ -3458,7 +3458,7 @@ spec:
3458
3458
  - -c
3459
3459
  name: gitops-deprovision-cos
3460
3460
  imagePullPolicy: IfNotPresent
3461
- image: quay.io/ibmmas/cli:13.21.0
3461
+ image: quay.io/ibmmas/cli:13.22.1
3462
3462
  workspaces:
3463
3463
  - name: configs
3464
3464
  # --------------------------------------------------------------------------------
@@ -3551,7 +3551,7 @@ spec:
3551
3551
  - -c
3552
3552
  name: gitops-deprovision-db2u-database
3553
3553
  imagePullPolicy: IfNotPresent
3554
- image: quay.io/ibmmas/cli:13.21.0
3554
+ image: quay.io/ibmmas/cli:13.22.1
3555
3555
  workspaces:
3556
3556
  - name: configs
3557
3557
 
@@ -3634,7 +3634,7 @@ spec:
3634
3634
  - -c
3635
3635
  name: gitops-deprovision-db2u
3636
3636
  imagePullPolicy: IfNotPresent
3637
- image: quay.io/ibmmas/cli:13.21.0
3637
+ image: quay.io/ibmmas/cli:13.22.1
3638
3638
  workspaces:
3639
3639
  - name: configs
3640
3640
 
@@ -3751,7 +3751,7 @@ spec:
3751
3751
  - -c
3752
3752
  name: gitops-deprovision-efs
3753
3753
  imagePullPolicy: IfNotPresent
3754
- image: quay.io/ibmmas/cli:13.21.0
3754
+ image: quay.io/ibmmas/cli:13.22.1
3755
3755
  workspaces:
3756
3756
  - name: configs
3757
3757
 
@@ -3861,7 +3861,7 @@ spec:
3861
3861
  - -c
3862
3862
  name: gitops-deprovision-kafka
3863
3863
  imagePullPolicy: IfNotPresent
3864
- image: quay.io/ibmmas/cli:13.21.0
3864
+ image: quay.io/ibmmas/cli:13.22.1
3865
3865
  workspaces:
3866
3866
  - name: configs
3867
3867
  # --------------------------------------------------------------------------------
@@ -3964,7 +3964,7 @@ spec:
3964
3964
  - -c
3965
3965
  name: gitops-deprovision-mongo
3966
3966
  imagePullPolicy: IfNotPresent
3967
- image: quay.io/ibmmas/cli:13.21.0
3967
+ image: quay.io/ibmmas/cli:13.22.1
3968
3968
  workspaces:
3969
3969
  - name: configs
3970
3970
 
@@ -4021,7 +4021,7 @@ spec:
4021
4021
  - -c
4022
4022
  name: gitops-deprovision-rosa
4023
4023
  imagePullPolicy: IfNotPresent
4024
- image: quay.io/ibmmas/cli:13.21.0
4024
+ image: quay.io/ibmmas/cli:13.22.1
4025
4025
  workspaces:
4026
4026
  - name: configs
4027
4027
  # --------------------------------------------------------------------------------
@@ -4226,7 +4226,7 @@ spec:
4226
4226
  - -c
4227
4227
  name: gitops-deprovision-suite-config
4228
4228
  imagePullPolicy: IfNotPresent
4229
- image: quay.io/ibmmas/cli:13.21.0
4229
+ image: quay.io/ibmmas/cli:13.22.1
4230
4230
  workspaces:
4231
4231
  - name: configs
4232
4232
 
@@ -4324,7 +4324,7 @@ spec:
4324
4324
  - -c
4325
4325
  name: gitops-deprovision-suite-idp-config
4326
4326
  imagePullPolicy: IfNotPresent
4327
- image: quay.io/ibmmas/cli:13.21.0
4327
+ image: quay.io/ibmmas/cli:13.22.1
4328
4328
  workspaces:
4329
4329
  - name: configs
4330
4330
  # --------------------------------------------------------------------------------
@@ -4416,7 +4416,7 @@ spec:
4416
4416
  - -c
4417
4417
  name: gitops-deprovision-suite-objectstorage-config
4418
4418
  imagePullPolicy: IfNotPresent
4419
- image: quay.io/ibmmas/cli:13.21.0
4419
+ image: quay.io/ibmmas/cli:13.22.1
4420
4420
  workspaces:
4421
4421
  - name: configs
4422
4422
  # --------------------------------------------------------------------------------
@@ -4628,7 +4628,7 @@ spec:
4628
4628
  - -c
4629
4629
  name: gitops-deprovision-suite-smtp-config
4630
4630
  imagePullPolicy: IfNotPresent
4631
- image: quay.io/ibmmas/cli:13.21.0
4631
+ image: quay.io/ibmmas/cli:13.22.1
4632
4632
  workspaces:
4633
4633
  - name: configs
4634
4634
  # --------------------------------------------------------------------------------
@@ -4721,7 +4721,7 @@ spec:
4721
4721
  - -c
4722
4722
  name: gitops-deprovision-suite-watson-studio-config
4723
4723
  imagePullPolicy: IfNotPresent
4724
- image: quay.io/ibmmas/cli:13.21.0
4724
+ image: quay.io/ibmmas/cli:13.22.1
4725
4725
  workspaces:
4726
4726
  - name: configs
4727
4727
  # --------------------------------------------------------------------------------
@@ -4812,7 +4812,7 @@ spec:
4812
4812
  - -c
4813
4813
  name: gitops-deprovision-suite-workspace
4814
4814
  imagePullPolicy: Always
4815
- image: quay.io/ibmmas/cli:13.21.0
4815
+ image: quay.io/ibmmas/cli:13.22.1
4816
4816
  workspaces:
4817
4817
  - name: configs
4818
4818
  # --------------------------------------------------------------------------------
@@ -4905,7 +4905,7 @@ spec:
4905
4905
  - -c
4906
4906
  name: gitops-deprovision-suite
4907
4907
  imagePullPolicy: IfNotPresent
4908
- image: quay.io/ibmmas/cli:13.21.0
4908
+ image: quay.io/ibmmas/cli:13.22.1
4909
4909
  workspaces:
4910
4910
  - name: configs
4911
4911
 
@@ -5018,7 +5018,7 @@ spec:
5018
5018
  - -c
5019
5019
  name: gitops-dro
5020
5020
  imagePullPolicy: IfNotPresent
5021
- image: quay.io/ibmmas/cli:13.21.0
5021
+ image: quay.io/ibmmas/cli:13.22.1
5022
5022
  workspaces:
5023
5023
  - name: configs
5024
5024
  # --------------------------------------------------------------------------------
@@ -5145,7 +5145,7 @@ spec:
5145
5145
  - -c
5146
5146
  name: gitops-efs
5147
5147
  imagePullPolicy: IfNotPresent
5148
- image: quay.io/ibmmas/cli:13.21.0
5148
+ image: quay.io/ibmmas/cli:13.22.1
5149
5149
  workspaces:
5150
5150
  - name: configs
5151
5151
 
@@ -5280,7 +5280,7 @@ spec:
5280
5280
  - -c
5281
5281
  name: gitops-jdbc-config
5282
5282
  imagePullPolicy: Always
5283
- image: quay.io/ibmmas/cli:13.21.0
5283
+ image: quay.io/ibmmas/cli:13.22.1
5284
5284
  workspaces:
5285
5285
  - name: configs
5286
5286
  - name: shared-gitops-configs
@@ -5376,7 +5376,7 @@ spec:
5376
5376
  - -c
5377
5377
  name: gitops-kafka-config
5378
5378
  imagePullPolicy: Always
5379
- image: quay.io/ibmmas/cli:13.21.0
5379
+ image: quay.io/ibmmas/cli:13.22.1
5380
5380
  workspaces:
5381
5381
  - name: configs
5382
5382
 
@@ -5498,7 +5498,7 @@ spec:
5498
5498
  - -c
5499
5499
  name: gitops-kafka
5500
5500
  imagePullPolicy: IfNotPresent
5501
- image: quay.io/ibmmas/cli:13.21.0
5501
+ image: quay.io/ibmmas/cli:13.22.1
5502
5502
  workspaces:
5503
5503
  - name: configs
5504
5504
  # --------------------------------------------------------------------------------
@@ -5624,7 +5624,7 @@ spec:
5624
5624
  - -c
5625
5625
  name: gitops-license
5626
5626
  imagePullPolicy: Always
5627
- image: quay.io/ibmmas/cli:13.21.0
5627
+ image: quay.io/ibmmas/cli:13.22.1
5628
5628
  workspaces:
5629
5629
  - name: shared-entitlement
5630
5630
 
@@ -5684,6 +5684,8 @@ spec:
5684
5684
  type: string
5685
5685
  - name: fvt_version_sls
5686
5686
  type: string
5687
+ - name: fvt_version_facilities
5688
+ type: string
5687
5689
 
5688
5690
  - name: fvt_blacklist_core
5689
5691
  type: string
@@ -5765,7 +5767,13 @@ spec:
5765
5767
  - name: launchfvt_manage_is
5766
5768
  type: string
5767
5769
  default: "true"
5770
+ - name: launchfvt_facilities
5771
+ type: string
5772
+ default: "true"
5768
5773
 
5774
+ - name: mas_app_channel_facilities
5775
+ type: string
5776
+ default: ""
5769
5777
  - name: mas_app_channel_iot
5770
5778
  type: string
5771
5779
  default: ""
@@ -5875,6 +5883,8 @@ spec:
5875
5883
  value: $(params.fvt_version_data_dictionary)
5876
5884
  - name: FVT_VERSION_SLS
5877
5885
  value: $(params.fvt_version_sls)
5886
+ - name: FVT_VERSION_FACILITIES
5887
+ value: $(params.fvt_version_facilities)
5878
5888
  - name: FVT_BLACKLIST_CORE
5879
5889
  value: $(params.fvt_blacklist_core)
5880
5890
  - name: FVT_WHITELIST_CORE
@@ -5911,6 +5921,10 @@ spec:
5911
5921
  value: $(params.launchfvt_visualinspection)
5912
5922
  - name: LAUNCHFVT_MANAGE_IS
5913
5923
  value: $(params.launchfvt_manage_is)
5924
+ - name: LAUNCHFVT_FACILITIES
5925
+ value: $(params.launchfvt_facilities)
5926
+ - name: MAS_APP_CHANNEL_FACILITIES
5927
+ value: $(params.mas_app_channel_facilities)
5914
5928
  - name: MAS_APP_CHANNEL_IOT
5915
5929
  value: $(params.mas_app_channel_iot)
5916
5930
  - name: MAS_APP_CHANNEL_MANAGE
@@ -5955,6 +5969,8 @@ spec:
5955
5969
  set -o pipefail
5956
5970
  trap '[[ $? -eq 1 ]] && mas must-gather --directory /workspace/mustgather --mas-instance-ids ${MAS_INSTANCE_ID} --extra-namespaces selenium' ERR EXIT
5957
5971
 
5972
+
5973
+
5958
5974
  get_trailing_number() {
5959
5975
  local input_string="$1"
5960
5976
  local trailing_number=$(echo $input_string | grep -Eo '[0-9]+$')
@@ -6111,6 +6127,10 @@ spec:
6111
6127
  MASAPP_APP="visualinspection.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6112
6128
  check_argo_app_healthy "${MASAPP_APP}" 120
6113
6129
  fi
6130
+ if [[ "$LAUNCHFVT_FACILITIES" == "true" ]]; then
6131
+ MASAPP_APP="facilities.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6132
+ check_argo_app_healthy "${MASAPP_APP}" 120
6133
+ fi
6114
6134
  if [[ "$LAUNCHFVT_IOT" == "true" ]]; then
6115
6135
  MASAPP_APP="iot.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6116
6136
  check_argo_app_healthy "${MASAPP_APP}" 240
@@ -6136,6 +6156,10 @@ spec:
6136
6156
  MASAPP_APP="iot.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6137
6157
  check_argo_app_healthy "${MAS_WORKSPACE_ID}.${MASAPP_APP}" 20
6138
6158
  fi
6159
+ if [[ "$LAUNCHFVT_FACILITIES" == "true" ]]; then
6160
+ MASAPP_APP="facilities.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6161
+ check_argo_app_healthy "${MAS_WORKSPACE_ID}.${MASAPP_APP}" 120
6162
+ fi
6139
6163
  # Fourth wave
6140
6164
  if [[ "$LAUNCHFVT_MONITOR" == "true" ]]; then
6141
6165
  MASAPP_APP="monitor.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
@@ -6163,6 +6187,112 @@ spec:
6163
6187
 
6164
6188
  fi
6165
6189
 
6190
+ echo '
6191
+ # - Automated Initial User Tests
6192
+ # -----------------------------------
6193
+ '
6194
+ # See https://pages.github.ibm.com/maximoappsuite/saas/walkthrough/#automated-creation-of-initial-users for details
6195
+
6196
+ # This test runs twice: once in the core phase and once again in the apps phase (to drive the logic that grants application roles and assigns Manage Security Groups to the initial users):
6197
+ # - The initial_user secret is primed with 2 primary and 2 secondary users with randomised emails
6198
+ # - The ibm-create-initial-users Job that reads the secret and runs creates the users is deleted so ArgoCD resyncs it, causing it to be rerun
6199
+ # - The test passes if the postsyncjobs app that contains the Job becomes healthy again after rerunning the Job
6200
+
6201
+ # The results of the tests are registered with the FVT dashboard under ibm-mas-gitops/initial-users-automation-${LAUNCHER_ID}-${MAS_INSTANCE_ID}
6202
+
6203
+ # Assisted by watsonx Code Assistant
6204
+ get_random_email() {
6205
+ local random_part=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
6206
+ echo "${random_part}@example.com"
6207
+ }
6208
+
6209
+ initial_user_test() {
6210
+ # Because some of the functions in gitops_utils call exit 1,
6211
+ # it's important that this function is only called from a subshell
6212
+ # otherwise if it fails it might cause the whole script (and thus the FVT run) to exit
6213
+
6214
+ # Establish the initial_users secret
6215
+ export AVP_TYPE="aws" # required by sm_login (only AWS supported at present)
6216
+ sm_login || return $?
6217
+
6218
+ argocd_login || return $?
6219
+
6220
+ # First check the POSTSYNCJOBS_APP is healthy so we know the initial users job has run already (and so will exist)
6221
+ POSTSYNCJOBS_APP="postsyncjobs.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6222
+ check_argo_app_healthy "${POSTSYNCJOBS_APP}" 20 || return $?
6223
+
6224
+ IU_SECRET_NAME="${ACCOUNT_ID}/${CLUSTER_NAME}/${MAS_INSTANCE_ID}/initial_users"
6225
+ IU_SECRET_VALUE="{\"$(get_random_email)\": \"primary,john,smith\", \"$(get_random_email)\": \"primary,jane,doe\", \"$(get_random_email)\": \"secondary,joe,bloggs\", \"$(get_random_email)\": \"secondary,billy,bob\"}"
6226
+ IU_SECRET_TAGS="[{\"Key\": \"source\", \"Value\": \"gitops-mas-fvt-preparer\"}, {\"Key\": \"account\", \"Value\": \"${ACCOUNT_ID}\"}, {\"Key\": \"cluster\", \"Value\": \"${CLUSTER_NAME}\"}]"
6227
+
6228
+ echo "Creating ${IU_SECRET_NAME} secret"
6229
+ sm_update_secret "${IU_SECRET_NAME}" "${IU_SECRET_VALUE}" "${IU_SECRET_TAGS}" || return $?
6230
+
6231
+ # The Job will have already run when MAS Core was installed during the first phase of our FVT process
6232
+ # Since no initial_users secret existed at that time, it will not have done anything
6233
+ # The only way to get it to rerun and pick up the new initial_secret is to delete the Job and get ArgoCD to resync
6234
+ # the application that the Job belongs to:
6235
+
6236
+ IU_JOB_LIST=$(oc get jobs -n mas-${MAS_INSTANCE_ID}-postsyncjobs -o jsonpath='{range .items[?(@.spec.template.metadata.labels.app=="ibm-create-initial-users-l")]}{.metadata.name}{"\n"}{end}') || return $?
6237
+ echo "Deleting the following ibm-create-initial-user Jobs in mas-${MAS_INSTANCE_ID}-postsyncjobs namespace:"
6238
+ echo "${IU_JOB_LIST}"
6239
+ echo "${IU_JOB_LIST}"
6240
+ for IU_JOB in $IU_JOB_LIST; do
6241
+ oc delete job "${IU_JOB}" -n mas-${MAS_INSTANCE_ID}-postsyncjobs || return $?
6242
+ done
6243
+
6244
+ # Force a resync of the postsyncjobs app
6245
+ echo "Forcing ${POSTSYNCJOBS_APP} to resync"
6246
+ argocd_sync "${POSTSYNCJOBS_APP}" || return $?
6247
+ check_argo_app_healthy "${POSTSYNCJOBS_APP}" 20 || return $?
6248
+ }
6249
+
6250
+
6251
+ IU_SYNC_START_TIME=$(date +%s)
6252
+ IU_SYNC_LOGS="$(initial_user_test 2>&1 | tee /dev/fd/2)"
6253
+ IU_RC=$? # NOTE: set -o pipefail ensures we get exit code of initial_user_test (not tee)
6254
+ IU_SYNC_LOGS_CDATA=$(printf '%s\n' "${IU_SYNC_LOGS}"| sed 's|\]\]>|]]]]><![CDATA[>|g') # guard against any "]]>" in the output
6255
+ IU_SYNC_ELAPSED_TIME=$(($(date +%s)-$IU_SYNC_START_TIME))
6256
+
6257
+ if [[ "${IU_RC}" == "0" ]]; then
6258
+ IU_TEST_RESULT_XML='
6259
+ <testsuites disabled="0" errors="0" failures="0" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6260
+ <testsuite disabled="0" errors="0" failures="0" name="initial-users-automation-'${MAS_INSTANCE_ID}'" skipped="0" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6261
+ <testcase name="Sync" time="'${IU_SYNC_ELAPSED_TIME}'" classname="Sync" />
6262
+ </testsuite>
6263
+ </testsuites>
6264
+ '
6265
+ else
6266
+ IU_TEST_RESULT_XML='
6267
+ <testsuites disabled="0" errors="0" failures="1" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6268
+ <testsuite disabled="0" errors="0" failures="1" name="initial-users-automation-'${MAS_INSTANCE_ID}'" skipped="0" tests="1" time="'${IU_SYNC_ELAPSED_TIME}'">
6269
+ <testcase name="Sync" time="'${IU_SYNC_ELAPSED_TIME}'" classname="Sync">
6270
+ <failure message="Initial user creation failed (rc '${IU_RC}')" type="Failure"><![CDATA[
6271
+ '${IU_SYNC_LOGS_CDATA}'
6272
+ ]]></failure>
6273
+ </testcase>
6274
+ </testsuite>
6275
+ </testsuites>
6276
+ '
6277
+ fi
6278
+
6279
+
6280
+
6281
+ # Create junit xml for one testsuite of the parent argo app, and the testcase of sync
6282
+ # DEVOPS_MONGO_URI=<set in secure properties>
6283
+ # DEVOPS_ENVIRONMENT=<param>
6284
+ # DEVOPS_BUILD_NUMBER=<param>
6285
+ export DEVOPS_SUITE_NAME="initial-users-automation-${LAUNCHER_ID}-${MAS_INSTANCE_ID}"
6286
+ export JUNIT_OUTPUT_DIR="/tmp/initial-users-automation-${LAUNCHER_ID}-${MAS_INSTANCE_ID}"
6287
+ export PRODUCT_ID="ibm-mas-gitops"
6288
+
6289
+ mkdir -p $JUNIT_OUTPUT_DIR
6290
+ echo ${IU_TEST_RESULT_XML} > $JUNIT_OUTPUT_DIR/output.xml
6291
+
6292
+ echo "Run save-junit-to-mongo.py"
6293
+ python3 /opt/app-root/src/save-junit-to-mongo.py
6294
+ # -----------------------------------
6295
+
6166
6296
  echo "Sleeping for 180 seconds to give postsync job a chance to run before creating sync window"
6167
6297
  sleep 180
6168
6298
 
@@ -6213,7 +6343,7 @@ spec:
6213
6343
  - -c
6214
6344
  name: gitops-mas-fvt-preparer
6215
6345
  imagePullPolicy: Always
6216
- image: quay.io/ibmmas/cli:13.21.0
6346
+ image: quay.io/ibmmas/cli:13.22.1
6217
6347
  workspaces:
6218
6348
  - name: configs
6219
6349
  - name: shared-additional-configs
@@ -6263,6 +6393,8 @@ spec:
6263
6393
  - name: mas_app_install_plan_assist
6264
6394
  type: string
6265
6395
  default: "Automatic"
6396
+ - name: mas_app_channel_facilities
6397
+ type: string
6266
6398
  - name: mas_app_install_plan_facilities
6267
6399
  type: string
6268
6400
  default: "Automatic"
@@ -6370,6 +6502,8 @@ spec:
6370
6502
  value: $(params.mas_app_channel_assist)
6371
6503
  - name: MAS_APP_INSTALL_PLAN_ASSIST
6372
6504
  value: $(params.mas_app_install_plan_assist)
6505
+ - name: MAS_APP_CHANNEL_FACILITIES
6506
+ value: $(params.mas_app_channel_facilities)
6373
6507
  - name: MAS_APP_INSTALL_PLAN_FACILITIES
6374
6508
  value: $(params.mas_app_install_plan_facilities)
6375
6509
  - name: MAS_APP_CHANNEL_IOT
@@ -6615,6 +6749,9 @@ spec:
6615
6749
  echo "gitops-mas-initiator: set .launchfvt.assist to false"
6616
6750
  fi
6617
6751
  fi
6752
+ if [ -n $MAS_APP_CHANNEL_FACILITIES ]; then
6753
+ yq -i '(. | select(has("facilities")) | .facilities.app_channel) = env(MAS_APP_CHANNEL_FACILITIES)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
6754
+ fi
6618
6755
  if [ -n $MAS_APP_CHANNEL_IOT ]; then
6619
6756
  yq -i '(. | select(has("iot")) | .iot.app_channel) = env(MAS_APP_CHANNEL_IOT)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-apps-params.yaml
6620
6757
  fi
@@ -6699,7 +6836,7 @@ spec:
6699
6836
  - -c
6700
6837
  name: gitops-mas-initiator
6701
6838
  imagePullPolicy: IfNotPresent
6702
- image: quay.io/ibmmas/cli:13.21.0
6839
+ image: quay.io/ibmmas/cli:13.22.1
6703
6840
  workspaces:
6704
6841
  - name: configs
6705
6842
  # --------------------------------------------------------------------------------
@@ -6807,7 +6944,7 @@ spec:
6807
6944
  - -c
6808
6945
  name: gitops-mongo
6809
6946
  imagePullPolicy: IfNotPresent
6810
- image: quay.io/ibmmas/cli:13.21.0
6947
+ image: quay.io/ibmmas/cli:13.22.1
6811
6948
  workspaces:
6812
6949
  - name: configs
6813
6950
 
@@ -6933,7 +7070,7 @@ spec:
6933
7070
  - -c
6934
7071
  name: gitops-nvidia-gpu
6935
7072
  imagePullPolicy: IfNotPresent
6936
- image: quay.io/ibmmas/cli:13.21.0
7073
+ image: quay.io/ibmmas/cli:13.22.1
6937
7074
  workspaces:
6938
7075
  - name: configs
6939
7076
  # --------------------------------------------------------------------------------
@@ -7051,7 +7188,7 @@ spec:
7051
7188
  - -c
7052
7189
  name: gitops-process-mongo-user
7053
7190
  imagePullPolicy: IfNotPresent
7054
- image: quay.io/ibmmas/cli:13.21.0
7191
+ image: quay.io/ibmmas/cli:13.22.1
7055
7192
  workspaces:
7056
7193
  - name: configs
7057
7194
  # --------------------------------------------------------------------------------
@@ -7107,7 +7244,7 @@ spec:
7107
7244
  - -c
7108
7245
  name: gitops-rosa
7109
7246
  imagePullPolicy: IfNotPresent
7110
- image: quay.io/ibmmas/cli:13.21.0
7247
+ image: quay.io/ibmmas/cli:13.22.1
7111
7248
  workspaces:
7112
7249
  - name: configs
7113
7250
  # --------------------------------------------------------------------------------
@@ -7294,7 +7431,7 @@ spec:
7294
7431
  - -c
7295
7432
  name: gitops-suite-app-config
7296
7433
  imagePullPolicy: IfNotPresent
7297
- image: quay.io/ibmmas/cli:13.21.0
7434
+ image: quay.io/ibmmas/cli:13.22.1
7298
7435
  workspaces:
7299
7436
  - name: configs
7300
7437
  - name: shared-gitops-configs
@@ -7452,7 +7589,7 @@ spec:
7452
7589
  - -c
7453
7590
  name: gitops-suite-app-install
7454
7591
  imagePullPolicy: Always
7455
- image: quay.io/ibmmas/cli:13.21.0
7592
+ image: quay.io/ibmmas/cli:13.22.1
7456
7593
  workspaces:
7457
7594
  - name: configs
7458
7595
  - name: shared-gitops-configs
@@ -7558,7 +7695,7 @@ spec:
7558
7695
  - -c
7559
7696
  name: gitops-suite-certs
7560
7697
  imagePullPolicy: IfNotPresent
7561
- image: quay.io/ibmmas/cli:13.21.0
7698
+ image: quay.io/ibmmas/cli:13.22.1
7562
7699
  workspaces:
7563
7700
  - name: configs
7564
7701
  - name: certificates
@@ -7728,7 +7865,7 @@ spec:
7728
7865
  - -c
7729
7866
  name: gitops-suite-config
7730
7867
  imagePullPolicy: IfNotPresent
7731
- image: quay.io/ibmmas/cli:13.21.0
7868
+ image: quay.io/ibmmas/cli:13.22.1
7732
7869
  workspaces:
7733
7870
  - name: configs
7734
7871
  - name: shared-additional-configs
@@ -7828,7 +7965,7 @@ spec:
7828
7965
  - -c
7829
7966
  name: gitops-suite-dns
7830
7967
  imagePullPolicy: IfNotPresent
7831
- image: quay.io/ibmmas/cli:13.21.0
7968
+ image: quay.io/ibmmas/cli:13.22.1
7832
7969
  workspaces:
7833
7970
  - name: configs
7834
7971
 
@@ -7952,7 +8089,7 @@ spec:
7952
8089
  - -c
7953
8090
  name: gitops-suite-idp-config
7954
8091
  imagePullPolicy: IfNotPresent
7955
- image: quay.io/ibmmas/cli:13.21.0
8092
+ image: quay.io/ibmmas/cli:13.22.1
7956
8093
  workspaces:
7957
8094
  - name: configs
7958
8095
  - name: shared-additional-configs
@@ -8053,7 +8190,7 @@ spec:
8053
8190
  - -c
8054
8191
  name: gitops-suite-objectstorage-config
8055
8192
  imagePullPolicy: IfNotPresent
8056
- image: quay.io/ibmmas/cli:13.21.0
8193
+ image: quay.io/ibmmas/cli:13.22.1
8057
8194
  workspaces:
8058
8195
  - name: configs
8059
8196
  - name: shared-gitops-configs
@@ -8464,7 +8601,7 @@ spec:
8464
8601
  - -c
8465
8602
  name: gitops-suite-smtp-config
8466
8603
  imagePullPolicy: IfNotPresent
8467
- image: quay.io/ibmmas/cli:13.21.0
8604
+ image: quay.io/ibmmas/cli:13.22.1
8468
8605
  workspaces:
8469
8606
  - name: configs
8470
8607
 
@@ -8584,7 +8721,7 @@ spec:
8584
8721
  - -c
8585
8722
  name: gitops-suite-watson-studio-config
8586
8723
  imagePullPolicy: IfNotPresent
8587
- image: quay.io/ibmmas/cli:13.21.0
8724
+ image: quay.io/ibmmas/cli:13.22.1
8588
8725
  workspaces:
8589
8726
  - name: configs
8590
8727
  - name: shared-gitops-configs
@@ -8686,7 +8823,7 @@ spec:
8686
8823
  - -c
8687
8824
  name: gitops-suite-workspace
8688
8825
  imagePullPolicy: IfNotPresent
8689
- image: quay.io/ibmmas/cli:13.21.0
8826
+ image: quay.io/ibmmas/cli:13.22.1
8690
8827
  workspaces:
8691
8828
  - name: configs
8692
8829
  # --------------------------------------------------------------------------------
@@ -9029,7 +9166,7 @@ spec:
9029
9166
  - -c
9030
9167
  name: gitops-suite
9031
9168
  imagePullPolicy: IfNotPresent
9032
- image: quay.io/ibmmas/cli:13.21.0
9169
+ image: quay.io/ibmmas/cli:13.22.1
9033
9170
  workspaces:
9034
9171
  - name: configs
9035
9172
  - name: shared-gitops-configs
@@ -9079,7 +9216,7 @@ spec:
9079
9216
 
9080
9217
  steps:
9081
9218
  - name: grafana
9082
- image: quay.io/ibmmas/cli:13.21.0
9219
+ image: quay.io/ibmmas/cli:13.22.1
9083
9220
  imagePullPolicy: $(params.image_pull_policy)
9084
9221
  command:
9085
9222
  - /opt/app-root/src/run-role.sh
@@ -9213,7 +9350,7 @@ spec:
9213
9350
  command:
9214
9351
  - /opt/app-root/src/run-role.sh
9215
9352
  - ibm_catalogs
9216
- image: quay.io/ibmmas/cli:13.21.0
9353
+ image: quay.io/ibmmas/cli:13.22.1
9217
9354
  imagePullPolicy: $(params.image_pull_policy)
9218
9355
  workingDir: /workspace/configs
9219
9356
  # --------------------------------------------------------------------------------
@@ -9455,7 +9592,7 @@ spec:
9455
9592
  command:
9456
9593
  - /opt/app-root/src/run-role.sh
9457
9594
  - kafka
9458
- image: quay.io/ibmmas/cli:13.21.0
9595
+ image: quay.io/ibmmas/cli:13.22.1
9459
9596
  imagePullPolicy: $(params.image_pull_policy)
9460
9597
  workingDir: /workspace/configs
9461
9598
 
@@ -9671,7 +9808,7 @@ spec:
9671
9808
  command:
9672
9809
  - /opt/app-root/src/run-role.sh
9673
9810
  - kmodels
9674
- image: quay.io/ibmmas/cli:13.21.0
9811
+ image: quay.io/ibmmas/cli:13.22.1
9675
9812
  imagePullPolicy: $(params.image_pull_policy)
9676
9813
  # --------------------------------------------------------------------------------
9677
9814
  # /home/runner/work/cli/cli/tekton/target/tasks/mongodb.yaml
@@ -9849,7 +9986,7 @@ spec:
9849
9986
  command:
9850
9987
  - /opt/app-root/src/run-role.sh
9851
9988
  - mongodb
9852
- image: quay.io/ibmmas/cli:13.21.0
9989
+ image: quay.io/ibmmas/cli:13.22.1
9853
9990
  imagePullPolicy: $(params.image_pull_policy)
9854
9991
  workingDir: /workspace/configs
9855
9992
 
@@ -9892,7 +10029,7 @@ spec:
9892
10029
  - $(params.base_output_dir)
9893
10030
  - --extra-namespaces
9894
10031
  - selenium
9895
- image: quay.io/ibmmas/cli:13.21.0
10032
+ image: quay.io/ibmmas/cli:13.22.1
9896
10033
  imagePullPolicy: $(params.image_pull_policy)
9897
10034
  env:
9898
10035
  - name: DEVOPS_MONGO_URI
@@ -10009,7 +10146,7 @@ spec:
10009
10146
  command:
10010
10147
  - /opt/app-root/src/run-role.sh
10011
10148
  - nvidia_gpu
10012
- image: quay.io/ibmmas/cli:13.21.0
10149
+ image: quay.io/ibmmas/cli:13.22.1
10013
10150
  imagePullPolicy: $(params.image_pull_policy)
10014
10151
  workingDir: /workspace/configs
10015
10152
 
@@ -10045,7 +10182,7 @@ spec:
10045
10182
  # Verify Cluster
10046
10183
  # -------------------------------------------------------------------------
10047
10184
  - name: ocp-verify-cluster
10048
- image: quay.io/ibmmas/cli:13.21.0
10185
+ image: quay.io/ibmmas/cli:13.22.1
10049
10186
  imagePullPolicy: $(params.image_pull_policy)
10050
10187
  command:
10051
10188
  - /opt/app-root/src/run-role.sh
@@ -10087,7 +10224,7 @@ spec:
10087
10224
  # Verify Catalogs
10088
10225
  # -------------------------------------------------------------------------
10089
10226
  - name: ocp-verify-catalogs
10090
- image: quay.io/ibmmas/cli:13.21.0
10227
+ image: quay.io/ibmmas/cli:13.22.1
10091
10228
  imagePullPolicy: $(params.image_pull_policy)
10092
10229
  command:
10093
10230
  - /opt/app-root/src/run-role.sh
@@ -10129,7 +10266,7 @@ spec:
10129
10266
  # Verify Subscriptions
10130
10267
  # -------------------------------------------------------------------------
10131
10268
  - name: ocp-verify-subscriptions
10132
- image: quay.io/ibmmas/cli:13.21.0
10269
+ image: quay.io/ibmmas/cli:13.22.1
10133
10270
  imagePullPolicy: $(params.image_pull_policy)
10134
10271
  command:
10135
10272
  - /opt/app-root/src/run-role.sh
@@ -10171,7 +10308,7 @@ spec:
10171
10308
  # Verify Workloads
10172
10309
  # -------------------------------------------------------------------------
10173
10310
  - name: ocp-verify-workloads
10174
- image: quay.io/ibmmas/cli:13.21.0
10311
+ image: quay.io/ibmmas/cli:13.22.1
10175
10312
  imagePullPolicy: $(params.image_pull_policy)
10176
10313
  command:
10177
10314
  - /opt/app-root/src/run-role.sh
@@ -10213,7 +10350,7 @@ spec:
10213
10350
  # Verify Catalogs - Ingress TLS
10214
10351
  # -------------------------------------------------------------------------
10215
10352
  - name: ocp-verify-ingress
10216
- image: quay.io/ibmmas/cli:13.21.0
10353
+ image: quay.io/ibmmas/cli:13.22.1
10217
10354
  imagePullPolicy: $(params.image_pull_policy)
10218
10355
  command:
10219
10356
  - /opt/app-root/src/run-role.sh
@@ -10339,7 +10476,7 @@ spec:
10339
10476
  command:
10340
10477
  - /opt/app-root/src/run-role.sh
10341
10478
  - ocp_verify
10342
- image: quay.io/ibmmas/cli:13.21.0
10479
+ image: quay.io/ibmmas/cli:13.22.1
10343
10480
  imagePullPolicy: $(params.image_pull_policy)
10344
10481
  workingDir: /workspace/configs
10345
10482
  # --------------------------------------------------------------------------------
@@ -10407,7 +10544,7 @@ spec:
10407
10544
  command:
10408
10545
  - /opt/app-root/src/run-role.sh
10409
10546
  - ocs
10410
- image: quay.io/ibmmas/cli:13.21.0
10547
+ image: quay.io/ibmmas/cli:13.22.1
10411
10548
  imagePullPolicy: $(params.image_pull_policy)
10412
10549
  workingDir: /workspace/configs
10413
10550
 
@@ -10643,7 +10780,7 @@ spec:
10643
10780
  command:
10644
10781
  - /opt/app-root/src/run-role.sh
10645
10782
  - odh
10646
- image: quay.io/ibmmas/cli:13.21.0
10783
+ image: quay.io/ibmmas/cli:13.22.1
10647
10784
  imagePullPolicy: $(params.image_pull_policy)
10648
10785
  # --------------------------------------------------------------------------------
10649
10786
  # /home/runner/work/cli/cli/tekton/target/tasks/sls-registry-update.yaml
@@ -10819,7 +10956,7 @@ spec:
10819
10956
  command:
10820
10957
  - /opt/app-root/src/run-role.sh
10821
10958
  - sls
10822
- image: quay.io/ibmmas/cli:13.21.0
10959
+ image: quay.io/ibmmas/cli:13.22.1
10823
10960
  imagePullPolicy: $(params.image_pull_policy)
10824
10961
  workingDir: /workspace/configs
10825
10962
 
@@ -11214,12 +11351,12 @@ spec:
11214
11351
  command:
11215
11352
  - /opt/app-root/src/run-role.sh
11216
11353
  - suite_app_config
11217
- image: quay.io/ibmmas/cli:13.21.0
11354
+ image: quay.io/ibmmas/cli:13.22.1
11218
11355
  imagePullPolicy: $(params.image_pull_policy)
11219
11356
 
11220
11357
  # If configmap/approval-app-cfg-$(params.mas_app_id) exists then set STATUS=pending and wait for it to be changed to "approved"
11221
11358
  - name: app-cfg-post-verify
11222
- image: quay.io/ibmmas/cli:13.21.0
11359
+ image: quay.io/ibmmas/cli:13.22.1
11223
11360
  imagePullPolicy: $(params.image_pull_policy)
11224
11361
  command:
11225
11362
  - /opt/app-root/src/wait-for-configmap.sh
@@ -11414,7 +11551,7 @@ spec:
11414
11551
  command:
11415
11552
  - /opt/app-root/src/run-role.sh
11416
11553
  - suite_app_install
11417
- image: quay.io/ibmmas/cli:13.21.0
11554
+ image: quay.io/ibmmas/cli:13.22.1
11418
11555
  imagePullPolicy: $(params.image_pull_policy)
11419
11556
 
11420
11557
  workspaces:
@@ -11503,7 +11640,7 @@ spec:
11503
11640
  command:
11504
11641
  - /opt/app-root/src/run-role.sh
11505
11642
  - suite_app_rollback
11506
- image: quay.io/ibmmas/cli:13.21.0
11643
+ image: quay.io/ibmmas/cli:13.22.1
11507
11644
  imagePullPolicy: $(params.image_pull_policy)
11508
11645
  # --------------------------------------------------------------------------------
11509
11646
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-uninstall.yaml
@@ -11566,7 +11703,7 @@ spec:
11566
11703
  command:
11567
11704
  - /opt/app-root/src/run-role.sh
11568
11705
  - suite_app_uninstall
11569
- image: quay.io/ibmmas/cli:13.21.0
11706
+ image: quay.io/ibmmas/cli:13.22.1
11570
11707
  imagePullPolicy: $(params.image_pull_policy)
11571
11708
  # --------------------------------------------------------------------------------
11572
11709
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-upgrade.yaml
@@ -11641,7 +11778,7 @@ spec:
11641
11778
  command:
11642
11779
  - /opt/app-root/src/run-role.sh
11643
11780
  - suite_app_upgrade
11644
- image: quay.io/ibmmas/cli:13.21.0
11781
+ image: quay.io/ibmmas/cli:13.22.1
11645
11782
  imagePullPolicy: $(params.image_pull_policy)
11646
11783
  # --------------------------------------------------------------------------------
11647
11784
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-verify.yaml
@@ -11742,7 +11879,7 @@ spec:
11742
11879
  command:
11743
11880
  - /opt/app-root/src/run-role.sh
11744
11881
  - suite_app_verify
11745
- image: quay.io/ibmmas/cli:13.21.0
11882
+ image: quay.io/ibmmas/cli:13.22.1
11746
11883
  imagePullPolicy: $(params.image_pull_policy)
11747
11884
  # --------------------------------------------------------------------------------
11748
11885
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-certs.yaml
@@ -11885,7 +12022,7 @@ spec:
11885
12022
  command:
11886
12023
  - /opt/app-root/src/run-role.sh
11887
12024
  - suite_certs
11888
- image: quay.io/ibmmas/cli:13.21.0
12025
+ image: quay.io/ibmmas/cli:13.22.1
11889
12026
  imagePullPolicy: $(params.image_pull_policy)
11890
12027
 
11891
12028
  workspaces:
@@ -11952,7 +12089,7 @@ spec:
11952
12089
  command:
11953
12090
  - /opt/app-root/src/run-role.sh
11954
12091
  - suite_config
11955
- image: quay.io/ibmmas/cli:13.21.0
12092
+ image: quay.io/ibmmas/cli:13.22.1
11956
12093
  imagePullPolicy: $(params.image_pull_policy)
11957
12094
  workingDir: /workspace/configs
11958
12095
 
@@ -12023,7 +12160,7 @@ spec:
12023
12160
  command:
12024
12161
  - /opt/app-root/src/run-role.sh
12025
12162
  - suite_db2_setup_for_manage
12026
- image: quay.io/ibmmas/cli:13.21.0
12163
+ image: quay.io/ibmmas/cli:13.22.1
12027
12164
  imagePullPolicy: $(params.image_pull_policy)
12028
12165
  # --------------------------------------------------------------------------------
12029
12166
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-dns.yaml
@@ -12213,7 +12350,7 @@ spec:
12213
12350
  command:
12214
12351
  - /opt/app-root/src/run-role.sh
12215
12352
  - suite_dns
12216
- image: quay.io/ibmmas/cli:13.21.0
12353
+ image: quay.io/ibmmas/cli:13.22.1
12217
12354
  imagePullPolicy: $(params.image_pull_policy)
12218
12355
  # --------------------------------------------------------------------------------
12219
12356
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-install.yaml
@@ -12462,7 +12599,7 @@ spec:
12462
12599
  command:
12463
12600
  - /opt/app-root/src/run-role.sh
12464
12601
  - suite_install
12465
- image: quay.io/ibmmas/cli:13.21.0
12602
+ image: quay.io/ibmmas/cli:13.22.1
12466
12603
  imagePullPolicy: $(params.image_pull_policy)
12467
12604
  workingDir: /workspace/configs
12468
12605
 
@@ -12550,7 +12687,7 @@ spec:
12550
12687
  command:
12551
12688
  - /opt/app-root/src/run-role.sh
12552
12689
  - suite_rollback
12553
- image: quay.io/ibmmas/cli:13.21.0
12690
+ image: quay.io/ibmmas/cli:13.22.1
12554
12691
  imagePullPolicy: $(params.image_pull_policy)
12555
12692
  # --------------------------------------------------------------------------------
12556
12693
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-uninstall.yaml
@@ -12615,7 +12752,7 @@ spec:
12615
12752
  command:
12616
12753
  - /opt/app-root/src/run-role.sh
12617
12754
  - suite_uninstall
12618
- image: quay.io/ibmmas/cli:13.21.0
12755
+ image: quay.io/ibmmas/cli:13.22.1
12619
12756
  imagePullPolicy: $(params.image_pull_policy)
12620
12757
  # --------------------------------------------------------------------------------
12621
12758
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-upgrade.yaml
@@ -12685,7 +12822,7 @@ spec:
12685
12822
  command:
12686
12823
  - /opt/app-root/src/run-role.sh
12687
12824
  - suite_upgrade
12688
- image: quay.io/ibmmas/cli:13.21.0
12825
+ image: quay.io/ibmmas/cli:13.22.1
12689
12826
  imagePullPolicy: $(params.image_pull_policy)
12690
12827
  # --------------------------------------------------------------------------------
12691
12828
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-verify.yaml
@@ -12752,12 +12889,12 @@ spec:
12752
12889
  command:
12753
12890
  - /opt/app-root/src/run-role.sh
12754
12891
  - suite_verify
12755
- image: quay.io/ibmmas/cli:13.21.0
12892
+ image: quay.io/ibmmas/cli:13.22.1
12756
12893
  imagePullPolicy: $(params.image_pull_policy)
12757
12894
 
12758
12895
  # If configmap/approval-suite-verify exists then set STATUS=pending and wait for it to be changed to "approved"
12759
12896
  - name: suite-post-verify
12760
- image: quay.io/ibmmas/cli:13.21.0
12897
+ image: quay.io/ibmmas/cli:13.22.1
12761
12898
  imagePullPolicy: $(params.image_pull_policy)
12762
12899
  script: |
12763
12900
  #!/usr/bin/env bash
@@ -12885,7 +13022,7 @@ spec:
12885
13022
  command:
12886
13023
  - /opt/app-root/src/run-role.sh
12887
13024
  - turbonomic
12888
- image: quay.io/ibmmas/cli:13.21.0
13025
+ image: quay.io/ibmmas/cli:13.22.1
12889
13026
  imagePullPolicy: $(params.image_pull_policy)
12890
13027
  # --------------------------------------------------------------------------------
12891
13028
  # /home/runner/work/cli/cli/tekton/target/tasks/uds.yaml
@@ -12966,7 +13103,7 @@ spec:
12966
13103
  # IBM User Data Services (UDS)
12967
13104
  # -------------------------------------------------------------------------
12968
13105
  - name: uds
12969
- image: quay.io/ibmmas/cli:13.21.0
13106
+ image: quay.io/ibmmas/cli:13.22.1
12970
13107
  imagePullPolicy: $(params.image_pull_policy)
12971
13108
  workingDir: /workspace/configs
12972
13109
  command:
@@ -13029,7 +13166,7 @@ spec:
13029
13166
  # IBM Data Reporter Operator (DRO)
13030
13167
  # -------------------------------------------------------------------------
13031
13168
  - name: dro
13032
- image: quay.io/ibmmas/cli:13.21.0
13169
+ image: quay.io/ibmmas/cli:13.22.1
13033
13170
  imagePullPolicy: $(params.image_pull_policy)
13034
13171
  workingDir: /workspace/configs
13035
13172
  command:
@@ -13115,7 +13252,7 @@ spec:
13115
13252
  description: "The value to set"
13116
13253
  steps:
13117
13254
  - name: update-configmap
13118
- image: quay.io/ibmmas/cli:13.21.0
13255
+ image: quay.io/ibmmas/cli:13.22.1
13119
13256
  command:
13120
13257
  - /opt/app-root/src/update-configmap.sh
13121
13258
  env:
@@ -13162,7 +13299,7 @@ spec:
13162
13299
 
13163
13300
  steps:
13164
13301
  - name: wait-for-configmap
13165
- image: quay.io/ibmmas/cli:13.21.0
13302
+ image: quay.io/ibmmas/cli:13.22.1
13166
13303
  command:
13167
13304
  - /opt/app-root/src/wait-for-configmap.sh
13168
13305
  env:
@@ -13243,7 +13380,7 @@ spec:
13243
13380
 
13244
13381
  steps:
13245
13382
  - name: wait-for-configmap
13246
- image: quay.io/ibmmas/cli:13.21.0
13383
+ image: quay.io/ibmmas/cli:13.22.1
13247
13384
  command:
13248
13385
  - /opt/app-root/src/wait-for-configmap.sh
13249
13386
  env:
@@ -13303,7 +13440,7 @@ spec:
13303
13440
 
13304
13441
  steps:
13305
13442
  - name: wait
13306
- image: quay.io/ibmmas/cli:13.21.0
13443
+ image: quay.io/ibmmas/cli:13.22.1
13307
13444
  command:
13308
13445
  - /opt/app-root/src/wait-for-tekton.sh
13309
13446
  env:
@@ -20634,6 +20771,8 @@ spec:
20634
20771
  type: string
20635
20772
  - name: fvt_version_sls
20636
20773
  type: string
20774
+ - name: fvt_version_facilities
20775
+ type: string
20637
20776
 
20638
20777
  - name: fvt_blacklist_core
20639
20778
  type: string
@@ -20696,6 +20835,9 @@ spec:
20696
20835
  - name: launchfvt_manage_is
20697
20836
  type: string
20698
20837
  default: "true"
20838
+ - name: launchfvt_facilities
20839
+ type: string
20840
+ default: "true"
20699
20841
 
20700
20842
  - name: mas_app_channel_iot
20701
20843
  type: string
@@ -20718,6 +20860,9 @@ spec:
20718
20860
  - name: mas_app_channel_predict
20719
20861
  type: string
20720
20862
  default: ""
20863
+ - name: mas_app_channel_facilities
20864
+ type: string
20865
+ default: ""
20721
20866
 
20722
20867
  - name: ldap_url
20723
20868
  type: string
@@ -20794,6 +20939,8 @@ spec:
20794
20939
  value: $(params.fvt_version_data_dictionary)
20795
20940
  - name: fvt_version_sls
20796
20941
  value: $(params.fvt_version_sls)
20942
+ - name: fvt_version_facilities
20943
+ value: $(params.fvt_version_facilities)
20797
20944
 
20798
20945
  - name: fvt_blacklist_core
20799
20946
  value: $(params.fvt_blacklist_core)
@@ -20837,6 +20984,8 @@ spec:
20837
20984
  value: $(params.launchfvt_visualinspection)
20838
20985
  - name: launchfvt_manage_is
20839
20986
  value: $(params.launchfvt_manage_is)
20987
+ - name: launchfvt_facilities
20988
+ value: $(params.launchfvt_facilities)
20840
20989
 
20841
20990
  - name: mas_app_channel_iot
20842
20991
  value: $(params.mas_app_channel_iot)
@@ -20852,6 +21001,8 @@ spec:
20852
21001
  value: $(params.mas_app_channel_optimizer)
20853
21002
  - name: mas_app_channel_predict
20854
21003
  value: $(params.mas_app_channel_predict)
21004
+ - name: mas_app_channel_facilities
21005
+ value: $(params.mas_app_channel_facilities)
20855
21006
 
20856
21007
  - name: ldap_url
20857
21008
  value: $(params.ldap_url)
@@ -20956,6 +21107,9 @@ spec:
20956
21107
  - name: mas_app_channel_visualinspection
20957
21108
  type: string
20958
21109
  default: ""
21110
+ - name: mas_app_channel_facilities
21111
+ type: string
21112
+ default: ""
20959
21113
  - name: github_pat
20960
21114
  type: string
20961
21115
  - name: ibmcloud_apikey
@@ -21068,6 +21222,8 @@ spec:
21068
21222
  value: $(params.mas_app_channel_predict)
21069
21223
  - name: mas_app_channel_visualinspection
21070
21224
  value: $(params.mas_app_channel_visualinspection)
21225
+ - name: mas_app_channel_facilities
21226
+ value: $(params.mas_app_channel_facilities)
21071
21227
  - name: github_pat
21072
21228
  value: $(params.github_pat)
21073
21229
  - name: manual_certs_control_flag
@@ -21162,6 +21318,9 @@ spec:
21162
21318
  - name: mas_app_channel_visualinspection
21163
21319
  type: string
21164
21320
  default: ""
21321
+ - name: mas_app_channel_facilities
21322
+ type: string
21323
+ default: ""
21165
21324
  - name: github_pat
21166
21325
  type: string
21167
21326
  - name: ibmcloud_apikey
@@ -21254,6 +21413,8 @@ spec:
21254
21413
  value: $(params.mas_app_channel_predict)
21255
21414
  - name: mas_app_channel_visualinspection
21256
21415
  value: $(params.mas_app_channel_visualinspection)
21416
+ - name: mas_app_channel_facilities
21417
+ value: $(params.mas_app_channel_facilities)
21257
21418
  - name: github_pat
21258
21419
  value: $(params.github_pat)
21259
21420
  - name: manual_certs_control_flag
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mas-cli
3
- Version: 13.21.0
3
+ Version: 13.22.1
4
4
  Summary: Python Admin CLI for Maximo Application Suite
5
5
  Home-page: https://github.com/ibm-mas/cli
6
6
  Author: David Parker
@@ -1,5 +1,5 @@
1
- mas/cli/__init__.py,sha256=JkiETBbfS9ndjAIPG4aZi2f8RCN2L3tgda2CsrJWF1w,527
2
- mas/cli/cli.py,sha256=wjuiU50CH9cKl_RzlbE1lzIr8zKE_vOoHZWnaI9qv4s,18175
1
+ mas/cli/__init__.py,sha256=o8F3BhITNj29N2vs4MoUu-pM39KkdgCXQPDf5bIhASE,527
2
+ mas/cli/cli.py,sha256=wEUVLuoMlxxGdPSYKlhQtEM5Qb3Elf0gknEY-lIPdBw,18175
3
3
  mas/cli/displayMixins.py,sha256=e3lAx1DIOwsriDcNI0M2JyP1jeLOZKvId6sPrvWLyqs,5984
4
4
  mas/cli/gencfg.py,sha256=p38Ss_ooiNHOZTJT8l0YxDaEaPwD4ZXgxEbW-S9YLNY,3311
5
5
  mas/cli/validators.py,sha256=vi1pFA8QtqMhqtGk1NlkkNDUrlFCi53kS5wJqFGDgOU,5108
@@ -17,7 +17,7 @@ mas/cli/install/settings/kafkaSettings.py,sha256=r1uK-IApqB9IQiSNt_8sP0wa4FPJcXU
17
17
  mas/cli/install/settings/manageSettings.py,sha256=whoAT3B-qQjLD6SaS_9OEmmIvbSXbcI9m-wCDyu4alI,17853
18
18
  mas/cli/install/settings/mongodbSettings.py,sha256=UVt8vMLNpgyewlcymSystIhICnHsd0uoM9qpgezVjGg,2567
19
19
  mas/cli/install/settings/turbonomicSettings.py,sha256=ul4eWf53b1NCzJTFsEPX6DWM23YUlWILYBygplqXYlU,1631
20
- mas/cli/templates/ibm-mas-tekton.yaml,sha256=aFlpv8sduA01wQnHo8r3fEDVtYNyAUph-usJcolZXpQ,931645
20
+ mas/cli/templates/ibm-mas-tekton.yaml,sha256=YrxeF9BHpSA7NB6GveBqHcoDv0ocTPKom5HsjlupcQk,939884
21
21
  mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
22
22
  mas/cli/templates/suite_mongocfg.yml.j2,sha256=WrgJUfGyvfaRIHjY5VR_zLZ5irTpV5khKNq76ejIxKU,1606
23
23
  mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
@@ -100,8 +100,8 @@ mas/cli/upgrade/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,5
100
100
  mas/cli/upgrade/app.py,sha256=9P6Jy42JwUiErsOk8uIDQXpITuC7JR-1gn7W8w_SWwQ,8883
101
101
  mas/cli/upgrade/argParser.py,sha256=5JxAcbwKjFKCKnbucCxg7Xacdhjphb9nRORfsgB1h_0,2196
102
102
  mas/cli/upgrade/settings/__init__.py,sha256=QI2CUsj-NXBU1qrPOsOk4MbeWnfNq0UOF3rYYc_1l2A,775
103
- mas_cli-13.21.0.data/scripts/mas-cli,sha256=BbibIX0psLEOZdcNaFcO4mJvStD0pKLAe-p-NwVTrBs,3439
104
- mas_cli-13.21.0.dist-info/METADATA,sha256=yQBYGqmsODpJ5aO8DKcmc-zfdPfdxYKYntysYE_T7V4,2259
105
- mas_cli-13.21.0.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
106
- mas_cli-13.21.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
107
- mas_cli-13.21.0.dist-info/RECORD,,
103
+ mas_cli-13.22.1.data/scripts/mas-cli,sha256=BbibIX0psLEOZdcNaFcO4mJvStD0pKLAe-p-NwVTrBs,3439
104
+ mas_cli-13.22.1.dist-info/METADATA,sha256=z0YFzXwedBWjy494MIgErJY7Eg013K3s1v4U9ldrkq0,2259
105
+ mas_cli-13.22.1.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
106
+ mas_cli-13.22.1.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
107
+ mas_cli-13.22.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5