qontract-reconcile 0.10.2.dev271__py3-none-any.whl → 0.10.2.dev273__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.
- {qontract_reconcile-0.10.2.dev271.dist-info → qontract_reconcile-0.10.2.dev273.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev271.dist-info → qontract_reconcile-0.10.2.dev273.dist-info}/RECORD +25 -25
- reconcile/aus/metrics.py +1 -1
- reconcile/ocm_upgrade_scheduler_org_updater.py +1 -1
- reconcile/utils/jjb_client.py +1 -1
- reconcile/utils/oc.py +2 -4
- reconcile/utils/ocm/clusters.py +1 -4
- reconcile/utils/ocm/ocm.py +2 -3
- reconcile/utils/openshift_resource.py +0 -1
- reconcile/utils/runtime/integration.py +2 -6
- reconcile/utils/runtime/runner.py +1 -3
- reconcile/utils/saasherder/saasherder.py +1 -1
- reconcile/utils/terraform_client.py +1 -1
- reconcile/utils/terrascript_aws_client.py +1 -1
- tools/app_interface_metrics_exporter.py +1 -1
- tools/app_interface_reporter.py +2 -2
- tools/app_sre_tekton_access_reporter.py +1 -1
- tools/app_sre_tekton_access_revalidation.py +1 -1
- tools/glitchtip_access_reporter.py +1 -1
- tools/glitchtip_access_revalidation.py +1 -1
- tools/qontract_cli.py +1 -1
- tools/saas_metrics_exporter/main.py +1 -1
- tools/template_validation.py +1 -1
- {qontract_reconcile-0.10.2.dev271.dist-info → qontract_reconcile-0.10.2.dev273.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev271.dist-info → qontract_reconcile-0.10.2.dev273.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev271.dist-info → qontract_reconcile-0.10.2.dev273.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev273
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
|
6
6
|
Project-URL: repository, https://github.com/app-sre/qontract-reconcile
|
{qontract_reconcile-0.10.2.dev271.dist-info → qontract_reconcile-0.10.2.dev273.dist-info}/RECORD
RENAMED
@@ -53,7 +53,7 @@ reconcile/ocm_external_configuration_labels.py,sha256=dRWpFFPe_8tU91k8tCdiZRod_T
|
|
53
53
|
reconcile/ocm_groups.py,sha256=gDnkhkYUEoMkI6y6ctyoKIFpJNS18SVnedW4OzJ8VWs,4174
|
54
54
|
reconcile/ocm_machine_pools.py,sha256=KnTYAOw25N-QRb3Y7zbNY8w8xCR55WyqVjycYz24Yxk,17243
|
55
55
|
reconcile/ocm_update_recommended_version.py,sha256=Vi3Y2sX-OQxx1mv_xiPQXnmrpsZzGIE38No0yBcTaD4,4204
|
56
|
-
reconcile/ocm_upgrade_scheduler_org_updater.py,sha256=
|
56
|
+
reconcile/ocm_upgrade_scheduler_org_updater.py,sha256=2bYIGWqdfBTxeydfWh9-iLJwi3L4o9sDeLxLLLzHts4,4353
|
57
57
|
reconcile/openshift_base.py,sha256=J4LbsUkvqA1G3JzVg-WsVOB9mtEKFfroFZxNcz_G1kM,53599
|
58
58
|
reconcile/openshift_cluster_bots.py,sha256=Dgh7QhmPn1OKAHnzvmRI9kAvzdmuW7INNj11VmcT4Os,10934
|
59
59
|
reconcile/openshift_clusterrolebindings.py,sha256=jwSaYQvUUY7noQGc148Dkqm6woYxvOEd1sume7k_sUk,6212
|
@@ -120,7 +120,7 @@ reconcile/aus/aus_label_source.py,sha256=o0S2f0qwcII_8nzhHZhRQ83gEZ1DrSXyO4xzSwL
|
|
120
120
|
reconcile/aus/base.py,sha256=RAtYkwCM2CIqv37XkgyzFyTiNNnImCD-yMQ698QYgAY,51451
|
121
121
|
reconcile/aus/cluster_version_data.py,sha256=VZWbUEIbrDKO-sroMpQtiWCTqDraTMd8tssKV0HyTQ0,7140
|
122
122
|
reconcile/aus/healthchecks.py,sha256=jR9c-syh9impnkV0fd6XW3Bnk7iRN5zv8oCRYM-yIRY,2700
|
123
|
-
reconcile/aus/metrics.py,sha256=
|
123
|
+
reconcile/aus/metrics.py,sha256=BhIvZVTn25fIzijz3xFynJngS2sXDBTxxprUUVWJcFo,4246
|
124
124
|
reconcile/aus/models.py,sha256=flK15hzE2wX67yUmNtQsnjOkipQazuV67emeQNyZ1Zo,8591
|
125
125
|
reconcile/aus/node_pool_spec.py,sha256=FkMggklG-4BgQwud2Swp2m3AAAKzZmeaXgohl9uwxZ8,1138
|
126
126
|
reconcile/aus/ocm_addons_upgrade_scheduler_org.py,sha256=PL8QdzWh8lhGneMwSbIYxOp002mJd5gHf_T0Q2cWQho,10350
|
@@ -617,7 +617,7 @@ reconcile/utils/imap_client.py,sha256=h8YDiCSCvroErhpH_-KGYI7Y2WU2Q2oSpuxDFbOkSb
|
|
617
617
|
reconcile/utils/instrumented_wrappers.py,sha256=VqT4s0Bdicv224-uSeSaugtHXm-xJ3oSeBiqj0QQRiU,1942
|
618
618
|
reconcile/utils/jenkins_api.py,sha256=jNwdtBtO8DgMW_H8XfqkQs2r4JsLovHe03t5_F3M1xg,7961
|
619
619
|
reconcile/utils/jira_client.py,sha256=jj7E58PGssoCUEhUZpXoVYeyuChjrvjcg1AdNsONXO0,10545
|
620
|
-
reconcile/utils/jjb_client.py,sha256=
|
620
|
+
reconcile/utils/jjb_client.py,sha256=p3I5Aup5NtvCrc2XS2V2GVtTqnsrPXbjQvmcHuacTHY,15196
|
621
621
|
reconcile/utils/jsonpath.py,sha256=wdxOMqR-GMpQf5vRPWRMqAF7bCiXDBkkcFfY2U4j_tk,5536
|
622
622
|
reconcile/utils/jump_host.py,sha256=gi8vGUDgdTVwJvROvRVauFxtL0YAramhbWvG70L7AY8,5137
|
623
623
|
reconcile/utils/keycloak.py,sha256=YWSEUGrOVqFaJUk055dKUWpLDPdDRvhcmvR-lfbmxdE,3388
|
@@ -627,12 +627,12 @@ reconcile/utils/make.py,sha256=QaEwucrzbl8-VHS66Wfdjfo0ubmAcvt_hZGpiGsKU50,231
|
|
627
627
|
reconcile/utils/metrics.py,sha256=kiOoWO0b0mO-MDZWxyClYz9SeohQ0QU-xji0p-cSiLo,18462
|
628
628
|
reconcile/utils/models.py,sha256=N-cOLsLbZAzVazFImue4d1pllCGd_vVcIrFKykYZXZo,4682
|
629
629
|
reconcile/utils/oauth2_backend_application_session.py,sha256=6W16sMpnWEPFDUX7qi5Cui2yOnmLfpgUxWtB3Ii35D0,4177
|
630
|
-
reconcile/utils/oc.py,sha256=
|
630
|
+
reconcile/utils/oc.py,sha256=c1O-qqKUNCgPrFNFCzVkgA0TCLY_vKpsaSY3XGMHpRg,65531
|
631
631
|
reconcile/utils/oc_connection_parameters.py,sha256=Wpr34zM9Y7rS558MPlj8rNpRvnrNyMkmg0-gs5KcPvA,9663
|
632
632
|
reconcile/utils/oc_filters.py,sha256=Tz3OwtbUaYKmxENFls5CtPVzkZDeFXknw53dJe-wbT8,1382
|
633
633
|
reconcile/utils/oc_map.py,sha256=ougQ-Wlsa8ymoE_lPQ7g2LlpsUOsHVeRCLYW_6fjeWU,8976
|
634
634
|
reconcile/utils/ocm_base_client.py,sha256=t5kxhklEqOpenXPkXiwQIk8d3D7hIUndBm5qGusS0bc,6681
|
635
|
-
reconcile/utils/openshift_resource.py,sha256=
|
635
|
+
reconcile/utils/openshift_resource.py,sha256=Nbte4oCzxL27Hrt2vNs2ybV3X3pV4vGJEnErEsiA6UY,24810
|
636
636
|
reconcile/utils/openssl.py,sha256=QVvhzhpChq_4Daf_5wE1qeZJr4thg3DDjJPn4bOPD4E,365
|
637
637
|
reconcile/utils/output.py,sha256=wvsyf8NsFTaFHNkc8to75ta8f474Y4TMO4cHyAHEePk,2209
|
638
638
|
reconcile/utils/pagerduty_api.py,sha256=6Ae-KjcmA6Bf328UhTdQ2VwYjh4uFIW1NdZW6PUgT-c,7607
|
@@ -657,8 +657,8 @@ reconcile/utils/smtp_client.py,sha256=0xefB4I9E5eBB-FlxFJYjvz3Kvuqi_K3Ma_Wk0NAQK
|
|
657
657
|
reconcile/utils/sqs_gateway.py,sha256=XNIf3PY4UCPNufP2Ul0UJj3fKlt5larBba-VTT-41Fg,2265
|
658
658
|
reconcile/utils/state.py,sha256=h5iAfNf1p_wf79Z09XNZ5C_YVrIqUmhhl_DWqnFrwT0,16364
|
659
659
|
reconcile/utils/structs.py,sha256=LcbLEg8WxfRqM6nW7NhcWN0YeqF7SQzxOgntmLs1SgY,352
|
660
|
-
reconcile/utils/terraform_client.py,sha256=
|
661
|
-
reconcile/utils/terrascript_aws_client.py,sha256=
|
660
|
+
reconcile/utils/terraform_client.py,sha256=0NCYluGnFooxbgxSHyxoU_Hj3WUVZ-HqpLZI6ZmzJ1E,37301
|
661
|
+
reconcile/utils/terrascript_aws_client.py,sha256=o5i2j3kf00cC4Gk-UQ0fRgj7fYSwmzvuk70TiQ5Rm3g,292325
|
662
662
|
reconcile/utils/three_way_diff_strategy.py,sha256=oQcHXd9LVhirJfoaOBoHUYuZVGfyL2voKr6KVI34zZE,4833
|
663
663
|
reconcile/utils/throughput.py,sha256=iP4UWAe2LVhDo69mPPmgo9nQ7RxHD6_GS8MZe-aSiuM,344
|
664
664
|
reconcile/utils/vault.py,sha256=6V15LByFghp-U3k0N4lum6V7qt2EAlRfcAxjy5e-FAU,15146
|
@@ -724,12 +724,12 @@ reconcile/utils/ocm/__init__.py,sha256=Y-bp8GomMpyCo0tFW6kJ78-ZG1UIupYRtBzbMWU0k
|
|
724
724
|
reconcile/utils/ocm/addons.py,sha256=_LDdJ-gapM3s5exKlIUt-MlXZTAUoHezbYBU0QmvfWQ,7335
|
725
725
|
reconcile/utils/ocm/base.py,sha256=nbBP1ltdI_sZ5VyDaz0PSRWgBTpJmHDd53nvYyo5Z38,14576
|
726
726
|
reconcile/utils/ocm/cluster_groups.py,sha256=F8oqVqN_4QUnGL0K61zZhoYIzJeP57EcmZpwmoV0mr4,1751
|
727
|
-
reconcile/utils/ocm/clusters.py,sha256=
|
727
|
+
reconcile/utils/ocm/clusters.py,sha256=ev-sT247P3qFs9wzxOs_xFj1vKGpdRYm4INgxTR3Fb0,7792
|
728
728
|
reconcile/utils/ocm/identity_providers.py,sha256=dKed09N8iWmn39tI_MpwgVe47x23eLsknGbjMUxtwr4,2175
|
729
729
|
reconcile/utils/ocm/label_sources.py,sha256=ES_5VP4X6gsRxMFZ95WgbwE_HqqIUo_JRjHjdGYw6Ss,1846
|
730
730
|
reconcile/utils/ocm/labels.py,sha256=CmAgaOEPiaUb4gLtKab9vNkSDJceuREPd4ApgGcIA1U,6240
|
731
731
|
reconcile/utils/ocm/manifests.py,sha256=Q6kgOeiAwLbJY_vO_BEW2oePvbLDZcMZk20YpJJGpOA,1195
|
732
|
-
reconcile/utils/ocm/ocm.py,sha256=
|
732
|
+
reconcile/utils/ocm/ocm.py,sha256=oo7hNZ5HsIr_WY1pSeaeGMW_0g_Xls31gI4euUhEJ6o,31332
|
733
733
|
reconcile/utils/ocm/products.py,sha256=sfSLXBRsKtGpWX1nheAQlEwBCj--01_1sIFmmHENxGs,25974
|
734
734
|
reconcile/utils/ocm/search_filters.py,sha256=09p4Wq1d1HGrDiinf1dmLJ46VtFhkkRCOL4V-N-zwjY,14808
|
735
735
|
reconcile/utils/ocm/service_log.py,sha256=RG1f0MMn6joKaRCAm2xveSJCavdOPP1BVo9FXecDxaI,2018
|
@@ -744,14 +744,14 @@ reconcile/utils/rosa/session.py,sha256=CwlQJ7eEfaMjVOt_6KoNJZc4oQj-iC-EOZq8eSGzj
|
|
744
744
|
reconcile/utils/runtime/__init__.py,sha256=sfk92MGfsBh9tKYHl_FH17NdEsrGBwgDFTb7KNKoIfY,107
|
745
745
|
reconcile/utils/runtime/desired_state_diff.py,sha256=Bw4zqel-klXCMZGqD1gyh8zkFq4h5qzv8rJn7K6WTXs,8132
|
746
746
|
reconcile/utils/runtime/environment.py,sha256=h-CFKLK1qRl_gfOVIUwjqVNOmukIPzUG7AiqpJGrjHA,2038
|
747
|
-
reconcile/utils/runtime/integration.py,sha256=
|
747
|
+
reconcile/utils/runtime/integration.py,sha256=I74KlnsNKd7Hf8rBRug6blXkGKidSDQEjqHRLAfgTXI,10973
|
748
748
|
reconcile/utils/runtime/meta.py,sha256=dWdKS9eHVuowFkTK4lgXJ723vS1y9giOMzePUKnHnDI,214
|
749
|
-
reconcile/utils/runtime/runner.py,sha256=
|
749
|
+
reconcile/utils/runtime/runner.py,sha256=OGT57aCwspAjdjGXtpbQnTmJeeWnRh9a2N73TLp4jnM,7880
|
750
750
|
reconcile/utils/runtime/sharding.py,sha256=r0ieUtNed7NvknSw6qQrCkKpVXE1shuHGnfFcnpA_k4,16142
|
751
751
|
reconcile/utils/saasherder/__init__.py,sha256=3U8plqMAPRE1kjwZ5YnIsYsggTf4_gS7flRUEuXVBAs,343
|
752
752
|
reconcile/utils/saasherder/interfaces.py,sha256=Ii1MsJMbIzgiy8Logz9OMkWEBBPlSc8OTJ2LN2awoCo,9515
|
753
753
|
reconcile/utils/saasherder/models.py,sha256=gZcLWRLYEcE6YE7QYenaAHVovMzo0Uy25_oPHsTPARE,12408
|
754
|
-
reconcile/utils/saasherder/saasherder.py,sha256=
|
754
|
+
reconcile/utils/saasherder/saasherder.py,sha256=rCz32I0RsJhRvhK6Xoq2nXozcb-3DC6JaW2KXNvqiVg,92520
|
755
755
|
reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
|
756
756
|
reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
|
757
757
|
reconcile/utils/terraform/config_client.py,sha256=gRL1rQ0AqvShei_rcGqC3HDYGskOFKE1nPrJyJE9yno,4676
|
@@ -765,14 +765,14 @@ reconcile/utils/unleash/client.py,sha256=YrJnauxjcy1ml7W2AHg7dzIH_fVK_GugoRu7IFm
|
|
765
765
|
reconcile/utils/unleash/server.py,sha256=907gDh9Ee8UxLqusnfpzE-7LUnttB38D4xhVJ0vMf_M,4439
|
766
766
|
tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
767
767
|
tools/alert_report.py,sha256=cyQTei8_SYOggW_6uYvzhrF7Nae-9xOz-jmh9O9V8R8,5589
|
768
|
-
tools/app_interface_metrics_exporter.py,sha256=
|
769
|
-
tools/app_interface_reporter.py,sha256=
|
770
|
-
tools/app_sre_tekton_access_reporter.py,sha256=
|
771
|
-
tools/app_sre_tekton_access_revalidation.py,sha256=
|
772
|
-
tools/glitchtip_access_reporter.py,sha256=
|
773
|
-
tools/glitchtip_access_revalidation.py,sha256=
|
774
|
-
tools/qontract_cli.py,sha256=
|
775
|
-
tools/template_validation.py,sha256=
|
768
|
+
tools/app_interface_metrics_exporter.py,sha256=mCi6SZf20mo5yvRI2VoqmrCdz46Ph3JhpEJPvryXncY,2261
|
769
|
+
tools/app_interface_reporter.py,sha256=zZjs1CxKkchXqguLKRtKjK7hl501w9OozbAiaatUfdA,17252
|
770
|
+
tools/app_sre_tekton_access_reporter.py,sha256=5qmkevJdlb2j_lpGC5Pu1Pmo0eomX5ZxzS_GNkqHAEE,3104
|
771
|
+
tools/app_sre_tekton_access_revalidation.py,sha256=vwL1o_j7oSTOhrHNH1znpgjA2LHGzb8yc5iG3aaY4m0,2684
|
772
|
+
tools/glitchtip_access_reporter.py,sha256=wnaiDGW4MkYONV_erltnJ6nGkEj0kQrAiv04NNnOS0k,2859
|
773
|
+
tools/glitchtip_access_revalidation.py,sha256=jjeLO53LTbz_LfQw3G2Cs8lVLO_6xqU39BYyTH3cEPE,2764
|
774
|
+
tools/qontract_cli.py,sha256=mNo-m6Xd74E_t1znXsW9IlnOd2LE9cEchO5LZpQBTXc,159162
|
775
|
+
tools/template_validation.py,sha256=Xn9X4sGFznx-rvBDnq9Kq16rfET8V3bqH1EwavsGBac,3335
|
776
776
|
tools/cli_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
777
777
|
tools/cli_commands/container_images_report.py,sha256=8mAjCS6XR0yD7k0mfiVBlt6xbYU47q_ftdYNi5o5VKE,5566
|
778
778
|
tools/cli_commands/erv2.py,sha256=oTsuplgW0PVW1ny_PdRZNURJs_aqjun6HmV3gzRafZY,26032
|
@@ -788,7 +788,7 @@ tools/cli_commands/cost_report/response.py,sha256=l5fVNMg8zzoNWm8LquYJsWM3VqxABB
|
|
788
788
|
tools/cli_commands/cost_report/util.py,sha256=lKSWjjUfDzMfSSTbFqc4Ln8JfzlWiW8kR2i51VJbEnc,2497
|
789
789
|
tools/cli_commands/cost_report/view.py,sha256=N3F33eW2iCVo2SxYTLIFv1nAH5y_3Ud16KCZADyAW4I,14188
|
790
790
|
tools/saas_metrics_exporter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
791
|
-
tools/saas_metrics_exporter/main.py,sha256=
|
791
|
+
tools/saas_metrics_exporter/main.py,sha256=RBd4xYlsijdxxsagLy5lx606Odf9aSZWngS_6JliOGM,3138
|
792
792
|
tools/saas_metrics_exporter/commit_distance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
793
793
|
tools/saas_metrics_exporter/commit_distance/channel.py,sha256=WkYWnWBN5AdRjHSIe_UWSjyCwI5ScdZZ9uaIbPJOREE,2154
|
794
794
|
tools/saas_metrics_exporter/commit_distance/commit_distance.py,sha256=pUWaZfZf0TYOwAW0gDdU8cYgTR586J_8S_DWxqHMWNA,3116
|
@@ -797,7 +797,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
797
797
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=oF7C4hpIgyMTwTRm3Aun3cDCHIjVar65JoLp6NcJHlU,3909
|
798
798
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
799
799
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
800
|
-
qontract_reconcile-0.10.2.
|
801
|
-
qontract_reconcile-0.10.2.
|
802
|
-
qontract_reconcile-0.10.2.
|
803
|
-
qontract_reconcile-0.10.2.
|
800
|
+
qontract_reconcile-0.10.2.dev273.dist-info/METADATA,sha256=lkF2PT5f15ZagYCMCoNzWxSG-5fbB1nb9gB5HfhFtHA,24501
|
801
|
+
qontract_reconcile-0.10.2.dev273.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
802
|
+
qontract_reconcile-0.10.2.dev273.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
803
|
+
qontract_reconcile-0.10.2.dev273.dist-info/RECORD,,
|
reconcile/aus/metrics.py
CHANGED
@@ -100,7 +100,7 @@ class AUSClusterUpgradePolicyInfoMetric(AUSBaseMetric, InfoMetric):
|
|
100
100
|
return "aus_cluster_upgrade_policy_info"
|
101
101
|
|
102
102
|
|
103
|
-
class AUSAddonUpgradePolicyInfoMetric(AUSClusterUpgradePolicyInfoMetric):
|
103
|
+
class AUSAddonUpgradePolicyInfoMetric(AUSClusterUpgradePolicyInfoMetric):
|
104
104
|
"Info metric for cluster addons under AUS upgrade control"
|
105
105
|
|
106
106
|
addon: str
|
@@ -56,7 +56,7 @@ def run(dry_run: bool, gitlab_project_id: str | None) -> None:
|
|
56
56
|
)
|
57
57
|
ocm_name = ocm_info["name"]
|
58
58
|
ocm_path = ocm_info["path"]
|
59
|
-
ocm = ocm_map
|
59
|
+
ocm = ocm_map[ocm_name]
|
60
60
|
|
61
61
|
for ocm_cluster_name, ocm_cluster_spec in ocm.clusters.items():
|
62
62
|
found = [
|
reconcile/utils/jjb_client.py
CHANGED
@@ -30,7 +30,7 @@ from reconcile.utils.vcs import GITHUB_BASE_URL
|
|
30
30
|
JJB_INI = "[jenkins]\nurl = https://JENKINS_URL"
|
31
31
|
|
32
32
|
|
33
|
-
class JJB:
|
33
|
+
class JJB:
|
34
34
|
"""Wrapper around Jenkins Jobs"""
|
35
35
|
|
36
36
|
def __init__(self, configs, ssl_verify=True, secret_reader=None, print_only=False):
|
reconcile/utils/oc.py
CHANGED
@@ -258,7 +258,7 @@ class OCCliApiResource:
|
|
258
258
|
return self.api_version
|
259
259
|
|
260
260
|
|
261
|
-
class OCCli:
|
261
|
+
class OCCli:
|
262
262
|
def __init__(
|
263
263
|
self,
|
264
264
|
cluster_name: str | None,
|
@@ -1836,9 +1836,7 @@ class OpenshiftLazyDiscoverer(LazyDiscoverer):
|
|
1836
1836
|
if result.group_version == kwargs["api_version"]
|
1837
1837
|
]
|
1838
1838
|
# If there are multiple matches, prefer non-List kinds
|
1839
|
-
if len(results) > 1 and not all(
|
1840
|
-
isinstance(x, ResourceList) for x in results
|
1841
|
-
):
|
1839
|
+
if len(results) > 1 and not all(isinstance(x, ResourceList) for x in results):
|
1842
1840
|
results = [
|
1843
1841
|
result for result in results if not isinstance(result, ResourceList)
|
1844
1842
|
]
|
reconcile/utils/ocm/clusters.py
CHANGED
@@ -62,10 +62,7 @@ def discover_clusters_by_labels(
|
|
62
62
|
|
63
63
|
sub_id_filter = Filter().is_in("id", subscription_labels.keys())
|
64
64
|
org_id_filter = Filter().is_in("organization_id", organization_labels.keys())
|
65
|
-
subscription_filter =
|
66
|
-
sub_id_filter | org_id_filter # pylint: disable=unsupported-binary-operation
|
67
|
-
)
|
68
|
-
# the pylint ignore above is because of a bug in pylint - https://github.com/PyCQA/pylint/issues/7381
|
65
|
+
subscription_filter = sub_id_filter | org_id_filter
|
69
66
|
|
70
67
|
clusters = list(
|
71
68
|
get_cluster_details_for_subscriptions(
|
reconcile/utils/ocm/ocm.py
CHANGED
@@ -64,7 +64,7 @@ CLUSTER_ADMIN_LABEL_KEY = "capability.cluster.manage_cluster_admin"
|
|
64
64
|
REQUEST_TIMEOUT_SEC = 60
|
65
65
|
|
66
66
|
|
67
|
-
class OCM:
|
67
|
+
class OCM:
|
68
68
|
"""
|
69
69
|
OCM is an instance of OpenShift Cluster Manager.
|
70
70
|
|
@@ -249,7 +249,6 @@ class OCM: # pylint: disable=too-many-public-methods
|
|
249
249
|
switch_role_link = role_grants[0][-1]
|
250
250
|
return awsh.get_account_uid_from_role_link(switch_role_link)
|
251
251
|
|
252
|
-
# pylint: disable=method-hidden
|
253
252
|
def get_aws_infrastructure_access_role_grants(self, cluster):
|
254
253
|
"""Returns a list of AWS users (ARN, access level)
|
255
254
|
who have AWS infrastructure access in a cluster.
|
@@ -734,7 +733,7 @@ class OCM: # pylint: disable=too-many-public-methods
|
|
734
733
|
)
|
735
734
|
|
736
735
|
|
737
|
-
class OCMMap:
|
736
|
+
class OCMMap:
|
738
737
|
"""
|
739
738
|
OCMMap gets a GraphQL query results list as input
|
740
739
|
and initiates a dictionary of OCM clients per OCM.
|
@@ -212,9 +212,7 @@ class QontractReconcileIntegration(ABC, Generic[RunParamsTypeVar]):
|
|
212
212
|
"""
|
213
213
|
Returns `True` if the params already contain sharding information.
|
214
214
|
"""
|
215
|
-
sharding_config = (
|
216
|
-
self.get_desired_state_shard_config()
|
217
|
-
)
|
215
|
+
sharding_config = self.get_desired_state_shard_config()
|
218
216
|
if sharding_config:
|
219
217
|
shard_arg_value = self.params.get(sharding_config.shard_arg_name)
|
220
218
|
return bool(shard_arg_value)
|
@@ -227,9 +225,7 @@ class QontractReconcileIntegration(ABC, Generic[RunParamsTypeVar]):
|
|
227
225
|
Create an instegration instance for a specific shard, by patching the run parameters.
|
228
226
|
If the integration does not support sharded runs, it raises an exception.
|
229
227
|
"""
|
230
|
-
sharding_config = (
|
231
|
-
self.get_desired_state_shard_config()
|
232
|
-
)
|
228
|
+
sharding_config = self.get_desired_state_shard_config()
|
233
229
|
if sharding_config:
|
234
230
|
sharded_params = self.params.copy_and_update({
|
235
231
|
sharding_config.shard_arg_name: [shard]
|
@@ -71,9 +71,7 @@ class IntegrationRunConfiguration:
|
|
71
71
|
|
72
72
|
def comparison_bundle_desired_state(self) -> dict[str, Any] | None:
|
73
73
|
self.switch_to_comparison_bundle()
|
74
|
-
data = (
|
75
|
-
self.integration.get_early_exit_desired_state()
|
76
|
-
)
|
74
|
+
data = self.integration.get_early_exit_desired_state()
|
77
75
|
self.switch_to_main_bundle()
|
78
76
|
return data
|
79
77
|
|
@@ -432,7 +432,7 @@ class ProviderExcludedError(Exception):
|
|
432
432
|
)
|
433
433
|
|
434
434
|
|
435
|
-
class TerrascriptClient:
|
435
|
+
class TerrascriptClient:
|
436
436
|
"""
|
437
437
|
At a high-level, this class is responsible for generating Terraform configuration in
|
438
438
|
JSON format from app-interface schemas/openshift/terraform-resource-1.yml objects.
|
tools/app_interface_reporter.py
CHANGED
@@ -327,14 +327,14 @@ def get_apps_data(
|
|
327
327
|
slo_mx[cluster] = {}
|
328
328
|
if namespace not in slo_mx[cluster]:
|
329
329
|
slo_mx[cluster][namespace] = {}
|
330
|
-
if slo_doc_name not in slo_mx[cluster][namespace]:
|
330
|
+
if slo_doc_name not in slo_mx[cluster][namespace]:
|
331
331
|
slo_mx[cluster][namespace][slo_doc_name] = {}
|
332
332
|
if slo_name not in slo_mx[cluster][namespace][slo_doc_name]:
|
333
333
|
slo_mx[cluster][namespace][slo_doc_name][slo_name] = {
|
334
334
|
sample.labels["type"]: sample.value
|
335
335
|
}
|
336
336
|
else:
|
337
|
-
slo_mx[cluster][namespace][slo_doc_name][slo_name].update({
|
337
|
+
slo_mx[cluster][namespace][slo_doc_name][slo_name].update({
|
338
338
|
sample.labels["type"]: sample.value
|
339
339
|
})
|
340
340
|
app["container_vulnerabilities"] = vuln_mx
|
tools/qontract_cli.py
CHANGED
tools/template_validation.py
CHANGED
{qontract_reconcile-0.10.2.dev271.dist-info → qontract_reconcile-0.10.2.dev273.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|