mas-cli 13.15.1__py3-none-any.whl → 13.16.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mas-cli might be problematic. Click here for more details.

mas/cli/__init__.py CHANGED
@@ -8,4 +8,4 @@
8
8
  #
9
9
  # *****************************************************************************
10
10
 
11
- __version__ = "13.15.1" # Python module compatible semver
11
+ __version__ = "13.16.0" # 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.15.1"
120
+ self.version = "13.16.0"
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.15.1
234
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
345
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
463
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
533
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
599
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
726
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
846
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
963
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
1069
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
1391
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
1501
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
1590
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
1694
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
1776
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
2081
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
2189
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
2337
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
2466
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
2757
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
2855
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
2982
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3080
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3172
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3257
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3342
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3461
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3554
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3637
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3754
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3864
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
3967
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4024
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4229
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4327
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4419
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4631
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4724
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4815
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
4908
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
5021
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
5148
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
5283
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
5379
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
5501
+ image: quay.io/ibmmas/cli:13.16.0
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.15.1
5627
+ image: quay.io/ibmmas/cli:13.16.0
5628
5628
  workspaces:
5629
5629
  - name: shared-entitlement
5630
5630
 
@@ -5809,6 +5809,8 @@ spec:
5809
5809
  stepTemplate:
5810
5810
  name: gitops-mas-fvt-preparer
5811
5811
  env:
5812
+ - name: TERM
5813
+ value: xterm
5812
5814
  - name: CLUSTER_NAME
5813
5815
  value: $(params.cluster_name)
5814
5816
  - name: ACCOUNT_ID
@@ -5827,6 +5829,8 @@ spec:
5827
5829
  value: $(params.mas_instance_id)
5828
5830
  - name: MAS_INSTANCE_ID
5829
5831
  value: $(params.mas_instance_id)
5832
+ - name: FVT_ENVIRONMENT
5833
+ value: $(params.mas_instance_id)
5830
5834
  - name: PIPELINE_STORAGE_CLASS
5831
5835
  value: $(params.pipeline_storage_class)
5832
5836
  - name: AWS_REGION
@@ -5949,7 +5953,18 @@ spec:
5949
5953
  - |-
5950
5954
 
5951
5955
  set -o pipefail
5952
- trap '[[ $? -eq 1 ]] && mas must-gather --directory /workspace/mustgather --extra-namespaces selenium' ERR EXIT
5956
+ trap '[[ $? -eq 1 ]] && mas must-gather --directory /workspace/mustgather --mas-instance-ids ${MAS_INSTANCE_ID} --extra-namespaces selenium' ERR EXIT
5957
+
5958
+ get_trailing_number() {
5959
+ local input_string="$1"
5960
+ local trailing_number=$(echo $input_string | grep -Eo '[0-9]+$')
5961
+
5962
+ if [[ -n "$trailing_number" ]]; then
5963
+ echo "$trailing_number"
5964
+ else
5965
+ echo ""
5966
+ fi
5967
+ }
5953
5968
 
5954
5969
  export ARTIFACTORY_TOKEN=${FVT_ARTIFACTORY_TOKEN}
5955
5970
  export ARTIFACTORY_UPLOAD_DIR=${ARTIFACTORY_GENERIC_LOGS_URL}/mas-fvt/${MAS_INSTANCE_ID}/${DEVOPS_BUILD_NUMBER}
@@ -6151,8 +6166,18 @@ spec:
6151
6166
  echo "Sleeping for 180 seconds to give postsync job a chance to run before creating sync window"
6152
6167
  sleep 180
6153
6168
 
6154
- echo "argo:argocd proj windows add mas --kind deny --schedule * * * * * --duration 4h --applications *"
6155
- argocd proj windows add mas --kind deny --schedule "* * * * *" --duration 4h --applications "*.$MAS_INSTANCE_ID"
6169
+ # Get the trailing number of the MAS instanceid so we can modify the sync window duration. This is because
6170
+ # you can't have two sync windows with the same schedule and duration even if for different apps
6171
+ RESULT=$(get_trailing_number $MAS_INSTANCE_ID)
6172
+ if [[ -n "$RESULT" ]]; then
6173
+ WINDOW_DURATION=$((4 + RESULT))
6174
+ else
6175
+ #Set to 4 when there is no trailing number
6176
+ WINDOW_DURATION=4
6177
+ fi
6178
+
6179
+ echo "argo:argocd proj windows add mas --kind deny --schedule * * * * * --duration ${WINDOW_DURATION}h --applications *.$CLUSTER_NAME.$MAS_INSTANCE_ID.*,*.$CLUSTER_NAME.$MAS_INSTANCE_ID,$MAS_INSTANCE_ID-*"
6180
+ argocd proj windows add mas --kind deny --schedule "* * * * *" --duration ${WINDOW_DURATION}h --applications "*.$CLUSTER_NAME.$MAS_INSTANCE_ID.*,*.$CLUSTER_NAME.$MAS_INSTANCE_ID,$MAS_INSTANCE_ID-*" --grpc-web
6156
6181
 
6157
6182
  UNESCAPED_LDAP_CRT=$(</workspace/shared-additional-configs/ldap_masdeps1_cert.pem)
6158
6183
  ESCAPED_LDAP_CRT=${UNESCAPED_LDAP_CRT//\"/\\\"}
@@ -6165,9 +6190,9 @@ spec:
6165
6190
 
6166
6191
  # Remove argocd window
6167
6192
  argocd_login
6168
- ARGOWINDOW=$(argocd proj windows list mas | grep "*.$MAS_INSTANCE_ID" | cut -c1-1)
6193
+ ARGOWINDOW=$(argocd proj windows list mas | grep "$CLUSTER_NAME.$MAS_INSTANCE_ID\b" | cut -c1-1)
6169
6194
  echo "argo:argocd proj windows delete mas $ARGOWINDOW"
6170
- argocd proj windows delete mas $ARGOWINDOW
6195
+ argocd proj windows delete mas $ARGOWINDOW --grpc-web
6171
6196
 
6172
6197
  # Set auto_delete: true, to allow ArgoCD to automatically delete resources when the deprovision pipelines run
6173
6198
  if [[ "$LAUNCHER_ID" == "apps" ]]; then
@@ -6175,7 +6200,7 @@ spec:
6175
6200
  CLUSTER_ROOT_APP="cluster.${CLUSTER_NAME}"
6176
6201
  INSTANCE_ROOT_APP="instance.${CLUSTER_NAME}.${MAS_INSTANCE_ID}"
6177
6202
 
6178
- argocd app set ${ACCOUNT_ROOT_APP} --parameter auto_delete=true
6203
+ argocd app set ${ACCOUNT_ROOT_APP} --parameter auto_delete=true --grpc-web
6179
6204
 
6180
6205
  # wait for the root apps to sync to make sure the setting has been applied everywhere
6181
6206
  check_argo_app_synced "${ACCOUNT_ROOT_APP}"
@@ -6188,7 +6213,7 @@ spec:
6188
6213
  - -c
6189
6214
  name: gitops-mas-fvt-preparer
6190
6215
  imagePullPolicy: Always
6191
- image: quay.io/ibmmas/cli:13.15.1
6216
+ image: quay.io/ibmmas/cli:13.16.0
6192
6217
  workspaces:
6193
6218
  - name: configs
6194
6219
  - name: shared-additional-configs
@@ -6224,6 +6249,9 @@ spec:
6224
6249
  type: string
6225
6250
  - name: source_path
6226
6251
  type: string
6252
+ - name: git_commit_msg
6253
+ type: string
6254
+ default: "gitops-initiator deploy"
6227
6255
  - name: mas_channel
6228
6256
  type: string
6229
6257
  - name: mas_operationalmode
@@ -6330,6 +6358,8 @@ spec:
6330
6358
  value: $(params.source_github_repo)
6331
6359
  - name: SOURCE_PATH
6332
6360
  value: $(params.source_path)
6361
+ - name: GIT_COMMIT_MSG
6362
+ value: $(params.git_commit_msg)
6333
6363
  - name: MAS_CHANNEL
6334
6364
  value: $(params.mas_channel)
6335
6365
  - name: MAS_OPERATIONALMODE
@@ -6398,8 +6428,21 @@ spec:
6398
6428
  - args:
6399
6429
  - |-
6400
6430
 
6431
+ source /mascli/functions/internal/utils
6432
+
6401
6433
  set -e -o pipefail
6402
6434
 
6435
+ process_j2_files() {
6436
+ local source_dir="$1"
6437
+
6438
+ find "$source_dir" -type f -name "*.j2" | while read -r file; do
6439
+ local output_file="${file%.j2}"
6440
+ jinjanate_commmon "$file" > "$output_file"
6441
+ echo "Processed: $file -> $output_file"
6442
+ rm $file
6443
+ done
6444
+ }
6445
+
6403
6446
  git config --global user.name "MAS Automation"
6404
6447
  git config --global user.email "you@example.com"
6405
6448
  git config --global user.password $GITHUB_PAT
@@ -6442,8 +6485,17 @@ spec:
6442
6485
 
6443
6486
  mkdir -p $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME
6444
6487
 
6488
+ set +e +o pipefail
6445
6489
  echo "copying $SOURCE_LOCAL_DIR/$SOURCE_GITHUB_REPO/$SOURCE_PATH/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/* to $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME"
6446
- cp -r $SOURCE_LOCAL_DIR/$SOURCE_GITHUB_REPO/$SOURCE_PATH/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/* $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME
6490
+ cp --no-clobber $SOURCE_LOCAL_DIR/$SOURCE_GITHUB_REPO/$SOURCE_PATH/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/* $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME
6491
+ set -e -o pipefail
6492
+
6493
+ mkdir -p $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID
6494
+ echo "copying $SOURCE_LOCAL_DIR/$SOURCE_GITHUB_REPO/$SOURCE_PATH/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/* to $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID"
6495
+ cp -r $SOURCE_LOCAL_DIR/$SOURCE_GITHUB_REPO/$SOURCE_PATH/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/* $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/
6496
+
6497
+ # Process any .j2 files
6498
+ process_j2_files "$TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID"
6447
6499
 
6448
6500
  echo "gitops-mas-initiator:: DNS_PROVIDER_CONTROL_IDEN=${DNS_PROVIDER_CONTROL_IDEN} MANUAL_CERTS_CONTROL_FLAG=${MANUAL_CERTS_CONTROL_FLAG}"
6449
6501
  if [[ "${MANUAL_CERTS_CONTROL_FLAG}" == "true" ]]; then
@@ -6466,6 +6518,12 @@ spec:
6466
6518
 
6467
6519
  # Remove manual-certs folder
6468
6520
  rm -rf $TARGET_LOCAL_DIR/manual-certs
6521
+
6522
+ echo "gitops-mas-initiator: setting dns.cis.proxy enhanced_security and waf to false"
6523
+ yq -i '.dns.cis.proxy = false' $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
6524
+ yq -i '.dns.cis.enhanced_security = false' $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
6525
+ yq -i '.dns.cis.waf = false' $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO/gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-instance-params.yaml
6526
+
6469
6527
  fi
6470
6528
 
6471
6529
  cd $TARGET_LOCAL_DIR/$TARGET_GITHUB_REPO
@@ -6582,6 +6640,13 @@ spec:
6582
6640
  yq -i '.fvt.ansible_version = env(FVT_ANSIBLE_VERSION)' gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/$MAS_INSTANCE_ID/mas-fvt-params.yaml
6583
6641
  fi
6584
6642
 
6643
+ if [[ ! "$GIT_COMMIT_MSG" =~ ^"[skip deploy]" ]]; then
6644
+ # Append a new line to the file to drive the deployment at cluster level
6645
+ echo "" >> gitops/$ACCOUNT/$REGION/$CLUSTER_NAME/cluster-params.yaml
6646
+ else
6647
+ echo "Commit message starts with [skip deploy], no changes made."
6648
+ fi
6649
+
6585
6650
  echo "git: Adding all files in $TARGET_LOCAL_DIR working directory"
6586
6651
  FILES_ADDED_OUTPUT="$(git add -v .)"
6587
6652
  return_code=$?
@@ -6592,10 +6657,9 @@ spec:
6592
6657
  export FILES_ADDED=$(echo "$FILES_ADDED_OUTPUT" | awk NF | wc -l | xargs)
6593
6658
  echo "git: Added ${FILES_ADDED} files"
6594
6659
 
6595
- export COMMIT_MSG="gitops-initiator deploy for $CLUSTER_NAME"
6596
6660
  if [ "$FILES_ADDED" != "0" ]; then
6597
- echo "git: Committing files using message $COMMIT_MSG"
6598
- git commit -m "$COMMIT_MSG" || exit 1
6661
+ echo "git: Committing files using message $GIT_COMMIT_MSG"
6662
+ git commit -m "$GIT_COMMIT_MSG" || exit 1
6599
6663
  retries=5
6600
6664
  interval=30
6601
6665
  index=0
@@ -6635,7 +6699,7 @@ spec:
6635
6699
  - -c
6636
6700
  name: gitops-mas-initiator
6637
6701
  imagePullPolicy: IfNotPresent
6638
- image: quay.io/ibmmas/cli:13.15.1
6702
+ image: quay.io/ibmmas/cli:13.16.0
6639
6703
  workspaces:
6640
6704
  - name: configs
6641
6705
  # --------------------------------------------------------------------------------
@@ -6743,7 +6807,7 @@ spec:
6743
6807
  - -c
6744
6808
  name: gitops-mongo
6745
6809
  imagePullPolicy: IfNotPresent
6746
- image: quay.io/ibmmas/cli:13.15.1
6810
+ image: quay.io/ibmmas/cli:13.16.0
6747
6811
  workspaces:
6748
6812
  - name: configs
6749
6813
 
@@ -6869,7 +6933,7 @@ spec:
6869
6933
  - -c
6870
6934
  name: gitops-nvidia-gpu
6871
6935
  imagePullPolicy: IfNotPresent
6872
- image: quay.io/ibmmas/cli:13.15.1
6936
+ image: quay.io/ibmmas/cli:13.16.0
6873
6937
  workspaces:
6874
6938
  - name: configs
6875
6939
  # --------------------------------------------------------------------------------
@@ -6987,7 +7051,7 @@ spec:
6987
7051
  - -c
6988
7052
  name: gitops-process-mongo-user
6989
7053
  imagePullPolicy: IfNotPresent
6990
- image: quay.io/ibmmas/cli:13.15.1
7054
+ image: quay.io/ibmmas/cli:13.16.0
6991
7055
  workspaces:
6992
7056
  - name: configs
6993
7057
  # --------------------------------------------------------------------------------
@@ -7043,7 +7107,7 @@ spec:
7043
7107
  - -c
7044
7108
  name: gitops-rosa
7045
7109
  imagePullPolicy: IfNotPresent
7046
- image: quay.io/ibmmas/cli:13.15.1
7110
+ image: quay.io/ibmmas/cli:13.16.0
7047
7111
  workspaces:
7048
7112
  - name: configs
7049
7113
  # --------------------------------------------------------------------------------
@@ -7230,7 +7294,7 @@ spec:
7230
7294
  - -c
7231
7295
  name: gitops-suite-app-config
7232
7296
  imagePullPolicy: IfNotPresent
7233
- image: quay.io/ibmmas/cli:13.15.1
7297
+ image: quay.io/ibmmas/cli:13.16.0
7234
7298
  workspaces:
7235
7299
  - name: configs
7236
7300
  - name: shared-gitops-configs
@@ -7388,7 +7452,7 @@ spec:
7388
7452
  - -c
7389
7453
  name: gitops-suite-app-install
7390
7454
  imagePullPolicy: Always
7391
- image: quay.io/ibmmas/cli:13.15.1
7455
+ image: quay.io/ibmmas/cli:13.16.0
7392
7456
  workspaces:
7393
7457
  - name: configs
7394
7458
  - name: shared-gitops-configs
@@ -7494,7 +7558,7 @@ spec:
7494
7558
  - -c
7495
7559
  name: gitops-suite-certs
7496
7560
  imagePullPolicy: IfNotPresent
7497
- image: quay.io/ibmmas/cli:13.15.1
7561
+ image: quay.io/ibmmas/cli:13.16.0
7498
7562
  workspaces:
7499
7563
  - name: configs
7500
7564
  - name: certificates
@@ -7664,7 +7728,7 @@ spec:
7664
7728
  - -c
7665
7729
  name: gitops-suite-config
7666
7730
  imagePullPolicy: IfNotPresent
7667
- image: quay.io/ibmmas/cli:13.15.1
7731
+ image: quay.io/ibmmas/cli:13.16.0
7668
7732
  workspaces:
7669
7733
  - name: configs
7670
7734
  - name: shared-additional-configs
@@ -7764,7 +7828,7 @@ spec:
7764
7828
  - -c
7765
7829
  name: gitops-suite-dns
7766
7830
  imagePullPolicy: IfNotPresent
7767
- image: quay.io/ibmmas/cli:13.15.1
7831
+ image: quay.io/ibmmas/cli:13.16.0
7768
7832
  workspaces:
7769
7833
  - name: configs
7770
7834
 
@@ -7888,7 +7952,7 @@ spec:
7888
7952
  - -c
7889
7953
  name: gitops-suite-idp-config
7890
7954
  imagePullPolicy: IfNotPresent
7891
- image: quay.io/ibmmas/cli:13.15.1
7955
+ image: quay.io/ibmmas/cli:13.16.0
7892
7956
  workspaces:
7893
7957
  - name: configs
7894
7958
  - name: shared-additional-configs
@@ -7989,7 +8053,7 @@ spec:
7989
8053
  - -c
7990
8054
  name: gitops-suite-objectstorage-config
7991
8055
  imagePullPolicy: IfNotPresent
7992
- image: quay.io/ibmmas/cli:13.15.1
8056
+ image: quay.io/ibmmas/cli:13.16.0
7993
8057
  workspaces:
7994
8058
  - name: configs
7995
8059
  - name: shared-gitops-configs
@@ -8400,7 +8464,7 @@ spec:
8400
8464
  - -c
8401
8465
  name: gitops-suite-smtp-config
8402
8466
  imagePullPolicy: IfNotPresent
8403
- image: quay.io/ibmmas/cli:13.15.1
8467
+ image: quay.io/ibmmas/cli:13.16.0
8404
8468
  workspaces:
8405
8469
  - name: configs
8406
8470
 
@@ -8520,7 +8584,7 @@ spec:
8520
8584
  - -c
8521
8585
  name: gitops-suite-watson-studio-config
8522
8586
  imagePullPolicy: IfNotPresent
8523
- image: quay.io/ibmmas/cli:13.15.1
8587
+ image: quay.io/ibmmas/cli:13.16.0
8524
8588
  workspaces:
8525
8589
  - name: configs
8526
8590
  - name: shared-gitops-configs
@@ -8622,7 +8686,7 @@ spec:
8622
8686
  - -c
8623
8687
  name: gitops-suite-workspace
8624
8688
  imagePullPolicy: IfNotPresent
8625
- image: quay.io/ibmmas/cli:13.15.1
8689
+ image: quay.io/ibmmas/cli:13.16.0
8626
8690
  workspaces:
8627
8691
  - name: configs
8628
8692
  # --------------------------------------------------------------------------------
@@ -8858,6 +8922,7 @@ spec:
8858
8922
 
8859
8923
  - name: ALLOW_LIST
8860
8924
  value: $(params.allow_list)
8925
+
8861
8926
  envFrom:
8862
8927
  - configMapRef:
8863
8928
  name: environment-properties
@@ -8895,6 +8960,27 @@ spec:
8895
8960
  export CUSTOM_LABELS=$(echo "${CUSTOM_LABELS}" | yq --output-format yaml)
8896
8961
  echo " CUSTOM_LABELS = ${CUSTOM_LABELS}"
8897
8962
 
8963
+ # Tekton interprets false (boolean) values as the string ""
8964
+ # The gitops-suite function defaults the following flags to "true" when their value is ""
8965
+ # We'll fix this here by setting these values to "false" explicitly before we call
8966
+ # (these are all required parameters in the pipeline so we don't have to worry about
8967
+ # any impliciations of changing their defaults in this task)
8968
+ if [[ -z "${CIS_ENHANCED_SECURITY}" ]]; then
8969
+ CIS_ENHANCED_SECURITY="false"
8970
+ fi
8971
+ if [[ -z "${OVERRIDE_EDGE_CERTS}" ]]; then
8972
+ OVERRIDE_EDGE_CERTS="false"
8973
+ fi
8974
+ if [[ -z "${CIS_WAF}" ]]; then
8975
+ CIS_WAF="false"
8976
+ fi
8977
+ if [[ -z "${UPDATE_DNS_ENTRIES}" ]]; then
8978
+ UPDATE_DNS_ENTRIES="false"
8979
+ fi
8980
+ if [[ -z "${DELETE_WILDCARDS}" ]]; then
8981
+ DELETE_WILDCARDS="false"
8982
+ fi
8983
+
8898
8984
  sed -n -e 's/^.*api.fvtsaas.//p' | cut -d: -f1
8899
8985
  mkdir -p /tmp/init-suite
8900
8986
  mas gitops-suite -a $ACCOUNT -c $CLUSTER_NAME -m $MAS_INSTANCE_ID \
@@ -8913,7 +8999,7 @@ spec:
8913
8999
  - -c
8914
9000
  name: gitops-suite
8915
9001
  imagePullPolicy: IfNotPresent
8916
- image: quay.io/ibmmas/cli:13.15.1
9002
+ image: quay.io/ibmmas/cli:13.16.0
8917
9003
  workspaces:
8918
9004
  - name: configs
8919
9005
  - name: shared-gitops-configs
@@ -8963,7 +9049,7 @@ spec:
8963
9049
 
8964
9050
  steps:
8965
9051
  - name: grafana
8966
- image: quay.io/ibmmas/cli:13.15.1
9052
+ image: quay.io/ibmmas/cli:13.16.0
8967
9053
  imagePullPolicy: $(params.image_pull_policy)
8968
9054
  command:
8969
9055
  - /opt/app-root/src/run-role.sh
@@ -9097,7 +9183,7 @@ spec:
9097
9183
  command:
9098
9184
  - /opt/app-root/src/run-role.sh
9099
9185
  - ibm_catalogs
9100
- image: quay.io/ibmmas/cli:13.15.1
9186
+ image: quay.io/ibmmas/cli:13.16.0
9101
9187
  imagePullPolicy: $(params.image_pull_policy)
9102
9188
  workingDir: /workspace/configs
9103
9189
  # --------------------------------------------------------------------------------
@@ -9339,7 +9425,7 @@ spec:
9339
9425
  command:
9340
9426
  - /opt/app-root/src/run-role.sh
9341
9427
  - kafka
9342
- image: quay.io/ibmmas/cli:13.15.1
9428
+ image: quay.io/ibmmas/cli:13.16.0
9343
9429
  imagePullPolicy: $(params.image_pull_policy)
9344
9430
  workingDir: /workspace/configs
9345
9431
 
@@ -9555,7 +9641,7 @@ spec:
9555
9641
  command:
9556
9642
  - /opt/app-root/src/run-role.sh
9557
9643
  - kmodels
9558
- image: quay.io/ibmmas/cli:13.15.1
9644
+ image: quay.io/ibmmas/cli:13.16.0
9559
9645
  imagePullPolicy: $(params.image_pull_policy)
9560
9646
  # --------------------------------------------------------------------------------
9561
9647
  # /home/runner/work/cli/cli/tekton/target/tasks/mongodb.yaml
@@ -9733,7 +9819,7 @@ spec:
9733
9819
  command:
9734
9820
  - /opt/app-root/src/run-role.sh
9735
9821
  - mongodb
9736
- image: quay.io/ibmmas/cli:13.15.1
9822
+ image: quay.io/ibmmas/cli:13.16.0
9737
9823
  imagePullPolicy: $(params.image_pull_policy)
9738
9824
  workingDir: /workspace/configs
9739
9825
 
@@ -9776,7 +9862,7 @@ spec:
9776
9862
  - $(params.base_output_dir)
9777
9863
  - --extra-namespaces
9778
9864
  - selenium
9779
- image: quay.io/ibmmas/cli:13.15.1
9865
+ image: quay.io/ibmmas/cli:13.16.0
9780
9866
  imagePullPolicy: $(params.image_pull_policy)
9781
9867
  env:
9782
9868
  - name: DEVOPS_MONGO_URI
@@ -9893,7 +9979,7 @@ spec:
9893
9979
  command:
9894
9980
  - /opt/app-root/src/run-role.sh
9895
9981
  - nvidia_gpu
9896
- image: quay.io/ibmmas/cli:13.15.1
9982
+ image: quay.io/ibmmas/cli:13.16.0
9897
9983
  imagePullPolicy: $(params.image_pull_policy)
9898
9984
  workingDir: /workspace/configs
9899
9985
 
@@ -9929,7 +10015,7 @@ spec:
9929
10015
  # Verify Cluster
9930
10016
  # -------------------------------------------------------------------------
9931
10017
  - name: ocp-verify-cluster
9932
- image: quay.io/ibmmas/cli:13.15.1
10018
+ image: quay.io/ibmmas/cli:13.16.0
9933
10019
  imagePullPolicy: $(params.image_pull_policy)
9934
10020
  command:
9935
10021
  - /opt/app-root/src/run-role.sh
@@ -9971,7 +10057,7 @@ spec:
9971
10057
  # Verify Catalogs
9972
10058
  # -------------------------------------------------------------------------
9973
10059
  - name: ocp-verify-catalogs
9974
- image: quay.io/ibmmas/cli:13.15.1
10060
+ image: quay.io/ibmmas/cli:13.16.0
9975
10061
  imagePullPolicy: $(params.image_pull_policy)
9976
10062
  command:
9977
10063
  - /opt/app-root/src/run-role.sh
@@ -10013,7 +10099,7 @@ spec:
10013
10099
  # Verify Subscriptions
10014
10100
  # -------------------------------------------------------------------------
10015
10101
  - name: ocp-verify-subscriptions
10016
- image: quay.io/ibmmas/cli:13.15.1
10102
+ image: quay.io/ibmmas/cli:13.16.0
10017
10103
  imagePullPolicy: $(params.image_pull_policy)
10018
10104
  command:
10019
10105
  - /opt/app-root/src/run-role.sh
@@ -10055,7 +10141,7 @@ spec:
10055
10141
  # Verify Workloads
10056
10142
  # -------------------------------------------------------------------------
10057
10143
  - name: ocp-verify-workloads
10058
- image: quay.io/ibmmas/cli:13.15.1
10144
+ image: quay.io/ibmmas/cli:13.16.0
10059
10145
  imagePullPolicy: $(params.image_pull_policy)
10060
10146
  command:
10061
10147
  - /opt/app-root/src/run-role.sh
@@ -10097,7 +10183,7 @@ spec:
10097
10183
  # Verify Catalogs - Ingress TLS
10098
10184
  # -------------------------------------------------------------------------
10099
10185
  - name: ocp-verify-ingress
10100
- image: quay.io/ibmmas/cli:13.15.1
10186
+ image: quay.io/ibmmas/cli:13.16.0
10101
10187
  imagePullPolicy: $(params.image_pull_policy)
10102
10188
  command:
10103
10189
  - /opt/app-root/src/run-role.sh
@@ -10223,7 +10309,7 @@ spec:
10223
10309
  command:
10224
10310
  - /opt/app-root/src/run-role.sh
10225
10311
  - ocp_verify
10226
- image: quay.io/ibmmas/cli:13.15.1
10312
+ image: quay.io/ibmmas/cli:13.16.0
10227
10313
  imagePullPolicy: $(params.image_pull_policy)
10228
10314
  workingDir: /workspace/configs
10229
10315
  # --------------------------------------------------------------------------------
@@ -10291,7 +10377,7 @@ spec:
10291
10377
  command:
10292
10378
  - /opt/app-root/src/run-role.sh
10293
10379
  - ocs
10294
- image: quay.io/ibmmas/cli:13.15.1
10380
+ image: quay.io/ibmmas/cli:13.16.0
10295
10381
  imagePullPolicy: $(params.image_pull_policy)
10296
10382
  workingDir: /workspace/configs
10297
10383
 
@@ -10527,7 +10613,7 @@ spec:
10527
10613
  command:
10528
10614
  - /opt/app-root/src/run-role.sh
10529
10615
  - odh
10530
- image: quay.io/ibmmas/cli:13.15.1
10616
+ image: quay.io/ibmmas/cli:13.16.0
10531
10617
  imagePullPolicy: $(params.image_pull_policy)
10532
10618
  # --------------------------------------------------------------------------------
10533
10619
  # /home/runner/work/cli/cli/tekton/target/tasks/sls-registry-update.yaml
@@ -10703,7 +10789,7 @@ spec:
10703
10789
  command:
10704
10790
  - /opt/app-root/src/run-role.sh
10705
10791
  - sls
10706
- image: quay.io/ibmmas/cli:13.15.1
10792
+ image: quay.io/ibmmas/cli:13.16.0
10707
10793
  imagePullPolicy: $(params.image_pull_policy)
10708
10794
  workingDir: /workspace/configs
10709
10795
 
@@ -11098,12 +11184,12 @@ spec:
11098
11184
  command:
11099
11185
  - /opt/app-root/src/run-role.sh
11100
11186
  - suite_app_config
11101
- image: quay.io/ibmmas/cli:13.15.1
11187
+ image: quay.io/ibmmas/cli:13.16.0
11102
11188
  imagePullPolicy: $(params.image_pull_policy)
11103
11189
 
11104
11190
  # If configmap/approval-app-cfg-$(params.mas_app_id) exists then set STATUS=pending and wait for it to be changed to "approved"
11105
11191
  - name: app-cfg-post-verify
11106
- image: quay.io/ibmmas/cli:13.15.1
11192
+ image: quay.io/ibmmas/cli:13.16.0
11107
11193
  imagePullPolicy: $(params.image_pull_policy)
11108
11194
  command:
11109
11195
  - /opt/app-root/src/wait-for-configmap.sh
@@ -11298,7 +11384,7 @@ spec:
11298
11384
  command:
11299
11385
  - /opt/app-root/src/run-role.sh
11300
11386
  - suite_app_install
11301
- image: quay.io/ibmmas/cli:13.15.1
11387
+ image: quay.io/ibmmas/cli:13.16.0
11302
11388
  imagePullPolicy: $(params.image_pull_policy)
11303
11389
 
11304
11390
  workspaces:
@@ -11387,7 +11473,7 @@ spec:
11387
11473
  command:
11388
11474
  - /opt/app-root/src/run-role.sh
11389
11475
  - suite_app_rollback
11390
- image: quay.io/ibmmas/cli:13.15.1
11476
+ image: quay.io/ibmmas/cli:13.16.0
11391
11477
  imagePullPolicy: $(params.image_pull_policy)
11392
11478
  # --------------------------------------------------------------------------------
11393
11479
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-uninstall.yaml
@@ -11450,7 +11536,7 @@ spec:
11450
11536
  command:
11451
11537
  - /opt/app-root/src/run-role.sh
11452
11538
  - suite_app_uninstall
11453
- image: quay.io/ibmmas/cli:13.15.1
11539
+ image: quay.io/ibmmas/cli:13.16.0
11454
11540
  imagePullPolicy: $(params.image_pull_policy)
11455
11541
  # --------------------------------------------------------------------------------
11456
11542
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-upgrade.yaml
@@ -11525,7 +11611,7 @@ spec:
11525
11611
  command:
11526
11612
  - /opt/app-root/src/run-role.sh
11527
11613
  - suite_app_upgrade
11528
- image: quay.io/ibmmas/cli:13.15.1
11614
+ image: quay.io/ibmmas/cli:13.16.0
11529
11615
  imagePullPolicy: $(params.image_pull_policy)
11530
11616
  # --------------------------------------------------------------------------------
11531
11617
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-app-verify.yaml
@@ -11626,7 +11712,7 @@ spec:
11626
11712
  command:
11627
11713
  - /opt/app-root/src/run-role.sh
11628
11714
  - suite_app_verify
11629
- image: quay.io/ibmmas/cli:13.15.1
11715
+ image: quay.io/ibmmas/cli:13.16.0
11630
11716
  imagePullPolicy: $(params.image_pull_policy)
11631
11717
  # --------------------------------------------------------------------------------
11632
11718
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-certs.yaml
@@ -11769,7 +11855,7 @@ spec:
11769
11855
  command:
11770
11856
  - /opt/app-root/src/run-role.sh
11771
11857
  - suite_certs
11772
- image: quay.io/ibmmas/cli:13.15.1
11858
+ image: quay.io/ibmmas/cli:13.16.0
11773
11859
  imagePullPolicy: $(params.image_pull_policy)
11774
11860
 
11775
11861
  workspaces:
@@ -11836,7 +11922,7 @@ spec:
11836
11922
  command:
11837
11923
  - /opt/app-root/src/run-role.sh
11838
11924
  - suite_config
11839
- image: quay.io/ibmmas/cli:13.15.1
11925
+ image: quay.io/ibmmas/cli:13.16.0
11840
11926
  imagePullPolicy: $(params.image_pull_policy)
11841
11927
  workingDir: /workspace/configs
11842
11928
 
@@ -11907,7 +11993,7 @@ spec:
11907
11993
  command:
11908
11994
  - /opt/app-root/src/run-role.sh
11909
11995
  - suite_db2_setup_for_manage
11910
- image: quay.io/ibmmas/cli:13.15.1
11996
+ image: quay.io/ibmmas/cli:13.16.0
11911
11997
  imagePullPolicy: $(params.image_pull_policy)
11912
11998
  # --------------------------------------------------------------------------------
11913
11999
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-dns.yaml
@@ -12097,7 +12183,7 @@ spec:
12097
12183
  command:
12098
12184
  - /opt/app-root/src/run-role.sh
12099
12185
  - suite_dns
12100
- image: quay.io/ibmmas/cli:13.15.1
12186
+ image: quay.io/ibmmas/cli:13.16.0
12101
12187
  imagePullPolicy: $(params.image_pull_policy)
12102
12188
  # --------------------------------------------------------------------------------
12103
12189
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-install.yaml
@@ -12346,7 +12432,7 @@ spec:
12346
12432
  command:
12347
12433
  - /opt/app-root/src/run-role.sh
12348
12434
  - suite_install
12349
- image: quay.io/ibmmas/cli:13.15.1
12435
+ image: quay.io/ibmmas/cli:13.16.0
12350
12436
  imagePullPolicy: $(params.image_pull_policy)
12351
12437
  workingDir: /workspace/configs
12352
12438
 
@@ -12434,7 +12520,7 @@ spec:
12434
12520
  command:
12435
12521
  - /opt/app-root/src/run-role.sh
12436
12522
  - suite_rollback
12437
- image: quay.io/ibmmas/cli:13.15.1
12523
+ image: quay.io/ibmmas/cli:13.16.0
12438
12524
  imagePullPolicy: $(params.image_pull_policy)
12439
12525
  # --------------------------------------------------------------------------------
12440
12526
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-uninstall.yaml
@@ -12499,7 +12585,7 @@ spec:
12499
12585
  command:
12500
12586
  - /opt/app-root/src/run-role.sh
12501
12587
  - suite_uninstall
12502
- image: quay.io/ibmmas/cli:13.15.1
12588
+ image: quay.io/ibmmas/cli:13.16.0
12503
12589
  imagePullPolicy: $(params.image_pull_policy)
12504
12590
  # --------------------------------------------------------------------------------
12505
12591
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-upgrade.yaml
@@ -12569,7 +12655,7 @@ spec:
12569
12655
  command:
12570
12656
  - /opt/app-root/src/run-role.sh
12571
12657
  - suite_upgrade
12572
- image: quay.io/ibmmas/cli:13.15.1
12658
+ image: quay.io/ibmmas/cli:13.16.0
12573
12659
  imagePullPolicy: $(params.image_pull_policy)
12574
12660
  # --------------------------------------------------------------------------------
12575
12661
  # /home/runner/work/cli/cli/tekton/target/tasks/suite-verify.yaml
@@ -12636,12 +12722,12 @@ spec:
12636
12722
  command:
12637
12723
  - /opt/app-root/src/run-role.sh
12638
12724
  - suite_verify
12639
- image: quay.io/ibmmas/cli:13.15.1
12725
+ image: quay.io/ibmmas/cli:13.16.0
12640
12726
  imagePullPolicy: $(params.image_pull_policy)
12641
12727
 
12642
12728
  # If configmap/approval-suite-verify exists then set STATUS=pending and wait for it to be changed to "approved"
12643
12729
  - name: suite-post-verify
12644
- image: quay.io/ibmmas/cli:13.15.1
12730
+ image: quay.io/ibmmas/cli:13.16.0
12645
12731
  imagePullPolicy: $(params.image_pull_policy)
12646
12732
  script: |
12647
12733
  #!/usr/bin/env bash
@@ -12769,7 +12855,7 @@ spec:
12769
12855
  command:
12770
12856
  - /opt/app-root/src/run-role.sh
12771
12857
  - turbonomic
12772
- image: quay.io/ibmmas/cli:13.15.1
12858
+ image: quay.io/ibmmas/cli:13.16.0
12773
12859
  imagePullPolicy: $(params.image_pull_policy)
12774
12860
  # --------------------------------------------------------------------------------
12775
12861
  # /home/runner/work/cli/cli/tekton/target/tasks/uds.yaml
@@ -12850,7 +12936,7 @@ spec:
12850
12936
  # IBM User Data Services (UDS)
12851
12937
  # -------------------------------------------------------------------------
12852
12938
  - name: uds
12853
- image: quay.io/ibmmas/cli:13.15.1
12939
+ image: quay.io/ibmmas/cli:13.16.0
12854
12940
  imagePullPolicy: $(params.image_pull_policy)
12855
12941
  workingDir: /workspace/configs
12856
12942
  command:
@@ -12913,7 +12999,7 @@ spec:
12913
12999
  # IBM Data Reporter Operator (DRO)
12914
13000
  # -------------------------------------------------------------------------
12915
13001
  - name: dro
12916
- image: quay.io/ibmmas/cli:13.15.1
13002
+ image: quay.io/ibmmas/cli:13.16.0
12917
13003
  imagePullPolicy: $(params.image_pull_policy)
12918
13004
  workingDir: /workspace/configs
12919
13005
  command:
@@ -12999,7 +13085,7 @@ spec:
12999
13085
  description: "The value to set"
13000
13086
  steps:
13001
13087
  - name: update-configmap
13002
- image: quay.io/ibmmas/cli:13.15.1
13088
+ image: quay.io/ibmmas/cli:13.16.0
13003
13089
  command:
13004
13090
  - /opt/app-root/src/update-configmap.sh
13005
13091
  env:
@@ -13046,7 +13132,7 @@ spec:
13046
13132
 
13047
13133
  steps:
13048
13134
  - name: wait-for-configmap
13049
- image: quay.io/ibmmas/cli:13.15.1
13135
+ image: quay.io/ibmmas/cli:13.16.0
13050
13136
  command:
13051
13137
  - /opt/app-root/src/wait-for-configmap.sh
13052
13138
  env:
@@ -13127,7 +13213,7 @@ spec:
13127
13213
 
13128
13214
  steps:
13129
13215
  - name: wait-for-configmap
13130
- image: quay.io/ibmmas/cli:13.15.1
13216
+ image: quay.io/ibmmas/cli:13.16.0
13131
13217
  command:
13132
13218
  - /opt/app-root/src/wait-for-configmap.sh
13133
13219
  env:
@@ -13187,7 +13273,7 @@ spec:
13187
13273
 
13188
13274
  steps:
13189
13275
  - name: wait
13190
- image: quay.io/ibmmas/cli:13.15.1
13276
+ image: quay.io/ibmmas/cli:13.16.0
13191
13277
  command:
13192
13278
  - /opt/app-root/src/wait-for-tekton.sh
13193
13279
  env:
@@ -13561,12 +13647,16 @@ spec:
13561
13647
  - name: mongo_provider
13562
13648
  type: string
13563
13649
  default: aws
13650
+ - name: mongodb_action
13651
+ type: string
13564
13652
  - name: aws_docdb_instance_number
13565
13653
  type: string
13566
13654
  default: 3
13567
13655
  - name: kafka_provider
13568
13656
  type: string
13569
13657
  default: aws
13658
+ - name: kafka_action
13659
+ type: string
13570
13660
  - name: mas_instance_id
13571
13661
  type: string
13572
13662
 
@@ -13685,6 +13775,10 @@ spec:
13685
13775
  workspaces:
13686
13776
  - name: configs
13687
13777
  workspace: configs
13778
+ when:
13779
+ - input: "$(params.mongodb_action)"
13780
+ operator: notin
13781
+ values: [""]
13688
13782
 
13689
13783
  # Deprovision Kafka
13690
13784
  # -------------------------------------------------------------------------
@@ -13718,6 +13812,10 @@ spec:
13718
13812
  workspaces:
13719
13813
  - name: configs
13720
13814
  workspace: configs
13815
+ when:
13816
+ - input: "$(params.kafka_action)"
13817
+ operator: notin
13818
+ values: [""]
13721
13819
 
13722
13820
  # Deprovision COS
13723
13821
  # -------------------------------------------------------------------------
@@ -13846,12 +13944,16 @@ spec:
13846
13944
  - name: mongo_provider
13847
13945
  type: string
13848
13946
  default: aws
13947
+ - name: mongodb_action
13948
+ type: string
13849
13949
  - name: aws_docdb_instance_number
13850
13950
  type: string
13851
13951
  default: 3
13852
13952
  - name: kafka_provider
13853
13953
  type: string
13854
13954
  default: aws
13955
+ - name: kafka_action
13956
+ type: string
13855
13957
  - name: mas_instance_id
13856
13958
  type: string
13857
13959
 
@@ -13950,6 +14052,10 @@ spec:
13950
14052
  workspaces:
13951
14053
  - name: configs
13952
14054
  workspace: configs
14055
+ when:
14056
+ - input: "$(params.mongodb_action)"
14057
+ operator: notin
14058
+ values: [""]
13953
14059
 
13954
14060
  # Deprovision Kafka
13955
14061
  # -------------------------------------------------------------------------
@@ -13983,6 +14089,10 @@ spec:
13983
14089
  workspaces:
13984
14090
  - name: configs
13985
14091
  workspace: configs
14092
+ when:
14093
+ - input: "$(params.kafka_action)"
14094
+ operator: notin
14095
+ values: [""]
13986
14096
 
13987
14097
  # Deprovision COS
13988
14098
  # -------------------------------------------------------------------------
@@ -19915,6 +20025,8 @@ spec:
19915
20025
  - name: aws_docdb_engine_version
19916
20026
  type: string
19917
20027
  default: 4.0.0
20028
+ - name: mongodb_action
20029
+ type: string
19918
20030
 
19919
20031
  - name: kafka_provider
19920
20032
  type: string
@@ -20017,6 +20129,10 @@ spec:
20017
20129
  workspaces:
20018
20130
  - name: configs
20019
20131
  workspace: configs
20132
+ when:
20133
+ - input: "$(params.mongodb_action)"
20134
+ operator: notin
20135
+ values: [""]
20020
20136
 
20021
20137
  # 2. Kafka
20022
20138
  # -------------------------------------------------------------------------
@@ -20197,6 +20313,8 @@ spec:
20197
20313
  - name: aws_docdb_engine_version
20198
20314
  type: string
20199
20315
  default: 4.0.0
20316
+ - name: mongodb_action
20317
+ type: string
20200
20318
 
20201
20319
  - name: kafka_provider
20202
20320
  type: string
@@ -20279,6 +20397,10 @@ spec:
20279
20397
  workspaces:
20280
20398
  - name: configs
20281
20399
  workspace: configs
20400
+ when:
20401
+ - input: "$(params.mongodb_action)"
20402
+ operator: notin
20403
+ values: [""]
20282
20404
 
20283
20405
  # 2. Kafka
20284
20406
  # -------------------------------------------------------------------------
@@ -20774,6 +20896,8 @@ spec:
20774
20896
  - name: source_path
20775
20897
  type: string
20776
20898
  default: ""
20899
+ - name: git_commit_msg
20900
+ type: string
20777
20901
  - name: mas_channel
20778
20902
  type: string
20779
20903
  - name: mas_operationalmode
@@ -20892,6 +21016,8 @@ spec:
20892
21016
  value: $(params.source_github_repo)
20893
21017
  - name: source_path
20894
21018
  value: $(params.source_path)
21019
+ - name: git_commit_msg
21020
+ value: $(params.git_commit_msg)
20895
21021
  - name: mas_channel
20896
21022
  value: $(params.mas_channel)
20897
21023
  - name: mas_operationalmode
@@ -20976,6 +21102,8 @@ spec:
20976
21102
  - name: source_path
20977
21103
  type: string
20978
21104
  default: ""
21105
+ - name: git_commit_msg
21106
+ type: string
20979
21107
  - name: mas_channel
20980
21108
  type: string
20981
21109
  - name: mas_operationalmode
@@ -21074,6 +21202,8 @@ spec:
21074
21202
  value: $(params.source_github_repo)
21075
21203
  - name: source_path
21076
21204
  value: $(params.source_path)
21205
+ - name: git_commit_msg
21206
+ value: $(params.git_commit_msg)
21077
21207
  - name: mas_channel
21078
21208
  value: $(params.mas_channel)
21079
21209
  - name: mas_operationalmode
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mas-cli
3
- Version: 13.15.1
3
+ Version: 13.16.0
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=0D-kW00ik1J5ic1kSQStJp-gkryLI779Mh6zjw1I9BM,527
2
- mas/cli/cli.py,sha256=3mES0Cyi5EKQEZvQuAJHdMNBj3o_KltMEZh4g0bRTMg,18175
1
+ mas/cli/__init__.py,sha256=9g6s4A7Nu9c-_4qU7kt_Zs7VAWqO8w9LPcwKijOesqE,527
2
+ mas/cli/cli.py,sha256=wc6ZAADsbDLwt24lOjeKW-2wzRTWx_4yZag92ohZmfQ,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=qQ83e-iN5446FcL36SeDla0p7LxS_DGE8hWPkycdu8U,872265
20
+ mas/cli/templates/ibm-mas-tekton.yaml,sha256=qVMypPiF2hH9ygpZZcRWcrU5wRE7kpZ8Qb3tXC9qZSg,877610
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
@@ -99,8 +99,8 @@ mas/cli/update/argParser.py,sha256=oOIXzB_rsI2p3og_5X5SFt_g7LURyEdLxZeiGCKq1nU,4
99
99
  mas/cli/upgrade/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
100
100
  mas/cli/upgrade/app.py,sha256=EuEZayc0nw9kA6Hz8M9Mv7uk0hgmspJSZCYhNEfCECk,6428
101
101
  mas/cli/upgrade/argParser.py,sha256=pqzNDSHy6l13JunHWQLyOI-NFnDGDoVJ_HM07FLYJSc,2033
102
- mas_cli-13.15.1.data/scripts/mas-cli,sha256=BbibIX0psLEOZdcNaFcO4mJvStD0pKLAe-p-NwVTrBs,3439
103
- mas_cli-13.15.1.dist-info/METADATA,sha256=z3IbZxz5FYyZO6cFGu4feDd2g9A6-MgvWLJsCEzV2xU,2259
104
- mas_cli-13.15.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
105
- mas_cli-13.15.1.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
106
- mas_cli-13.15.1.dist-info/RECORD,,
102
+ mas_cli-13.16.0.data/scripts/mas-cli,sha256=BbibIX0psLEOZdcNaFcO4mJvStD0pKLAe-p-NwVTrBs,3439
103
+ mas_cli-13.16.0.dist-info/METADATA,sha256=yBgVDvDeOg7EoJqFmvKkQ-3pcv9Y4LSHxK2Xxm0C0lc,2259
104
+ mas_cli-13.16.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
105
+ mas_cli-13.16.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
106
+ mas_cli-13.16.0.dist-info/RECORD,,