qontract-reconcile 0.10.1rc778__py3-none-any.whl → 0.10.1rc780__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.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/RECORD +7 -7
- reconcile/dashdotdb_dora.py +8 -4
- reconcile/utils/oc.py +4 -4
- {qontract_reconcile-0.10.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc780
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Home-page: https://github.com/app-sre/qontract-reconcile
|
6
6
|
Author: Red Hat App-SRE Team
|
{qontract_reconcile-0.10.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/RECORD
RENAMED
@@ -15,7 +15,7 @@ reconcile/closedbox_endpoint_monitoring_base.py,sha256=SMhkcQqprWvThrIJa3U_3uh5w
|
|
15
15
|
reconcile/cluster_deployment_mapper.py,sha256=2Ah-nu-Mdig0pjuiZl_XLrmVAjYzFjORR3dMlCgkmw0,2352
|
16
16
|
reconcile/dashdotdb_base.py,sha256=a5aPLVxyqPSbjdB0Ty-uliOtxwvEbbEljHJKxdK3-Zk,4813
|
17
17
|
reconcile/dashdotdb_cso.py,sha256=FoXrWGpOwXG5jf0eklN84tjJVUAYzKat7rtq_28JMlQ,3672
|
18
|
-
reconcile/dashdotdb_dora.py,sha256=
|
18
|
+
reconcile/dashdotdb_dora.py,sha256=bqQtgTmOmQnjwvOon5YS3py8rrkwP5frUpCgOIQkz8k,17743
|
19
19
|
reconcile/dashdotdb_dvo.py,sha256=YXqpI6fBQAql-ybGI0grj9gWMzmKiAvPE__pNju6obk,8996
|
20
20
|
reconcile/dashdotdb_slo.py,sha256=bf1WSh5JP9obHVQsMy0OO71_VTYZgwAopElFZM6DmRo,6714
|
21
21
|
reconcile/database_access_manager.py,sha256=42dBJyihdwx4WjEBjwi3lUiDzQ1t_2ZFViJri2c4_aE,25716
|
@@ -635,7 +635,7 @@ reconcile/utils/make.py,sha256=QaEwucrzbl8-VHS66Wfdjfo0ubmAcvt_hZGpiGsKU50,231
|
|
635
635
|
reconcile/utils/metrics.py,sha256=ot4dBO-KLZRowvNozm7jG0RWjcVsH1SL-lQ0jJgBBZM,18645
|
636
636
|
reconcile/utils/models.py,sha256=It_Q1WNIvw_EDCsiSWzIgpSPr_X9jMgbJI-DR3N23xY,4677
|
637
637
|
reconcile/utils/oauth2_backend_application_session.py,sha256=6W16sMpnWEPFDUX7qi5Cui2yOnmLfpgUxWtB3Ii35D0,4177
|
638
|
-
reconcile/utils/oc.py,sha256=
|
638
|
+
reconcile/utils/oc.py,sha256=OB78zd4xzc80ZneENHEdVzeevFyq8a34hNmefwyBw6A,65612
|
639
639
|
reconcile/utils/oc_connection_parameters.py,sha256=85slrnDigYwYmzhyceVkMElWzFArp4ge1d-fHXVqh0w,9729
|
640
640
|
reconcile/utils/oc_filters.py,sha256=R2Lf3fo0jQCeE62Ygeo_KN24XbAosq0QbjimYG6qHI4,1402
|
641
641
|
reconcile/utils/oc_map.py,sha256=nT69J5pdPeIDnIYjD9fwY6GkE3BMQCf-AF0rmHJuUNw,9068
|
@@ -785,8 +785,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
785
785
|
tools/test/test_qontract_cli.py,sha256=w2l4BHB09k1d-BGJ1jBUNCqDv7zkqYrMHojQXg-21kQ,4155
|
786
786
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
787
787
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
788
|
-
qontract_reconcile-0.10.
|
789
|
-
qontract_reconcile-0.10.
|
790
|
-
qontract_reconcile-0.10.
|
791
|
-
qontract_reconcile-0.10.
|
792
|
-
qontract_reconcile-0.10.
|
788
|
+
qontract_reconcile-0.10.1rc780.dist-info/METADATA,sha256=rVZEKnLOYSuyUlEqSQUQND0hD5RCHePumKCPPrnmTt4,2382
|
789
|
+
qontract_reconcile-0.10.1rc780.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
790
|
+
qontract_reconcile-0.10.1rc780.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
|
791
|
+
qontract_reconcile-0.10.1rc780.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
792
|
+
qontract_reconcile-0.10.1rc780.dist-info/RECORD,,
|
reconcile/dashdotdb_dora.py
CHANGED
@@ -398,10 +398,14 @@ class DashdotdbDORA(DashdotdbBase):
|
|
398
398
|
def get_repo_ref_for_sha(
|
399
399
|
self, saastarget: SaasTarget, sha: str
|
400
400
|
) -> tuple[Optional[str], Optional[str]]:
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
401
|
+
try:
|
402
|
+
saas_file_yaml = self.gl_app_interface_get_file(
|
403
|
+
saastarget.path, ref=sha
|
404
|
+
).decode()
|
405
|
+
saas_file = yaml.safe_load(saas_file_yaml)
|
406
|
+
except Exception as e:
|
407
|
+
LOG.info(f"failed to decode saas file {saastarget.path} with error: {e}")
|
408
|
+
return (None, None)
|
405
409
|
|
406
410
|
for rt in saas_file["resourceTemplates"]:
|
407
411
|
if saastarget.resource_template != rt["name"]:
|
reconcile/utils/oc.py
CHANGED
@@ -584,7 +584,7 @@ class OCCli: # pylint: disable=too-many-public-methods
|
|
584
584
|
if not cascade:
|
585
585
|
cmd.append("--cascade=orphan")
|
586
586
|
self._run(cmd)
|
587
|
-
resource = {"kind": kind, "metadata": {"name": name}}
|
587
|
+
resource = OR({"kind": kind, "metadata": {"name": name}}, "", "")
|
588
588
|
return self._msg_to_process_reconcile_time(namespace, resource)
|
589
589
|
|
590
590
|
@OCDecorators.process_reconcile_time
|
@@ -596,7 +596,7 @@ class OCCli: # pylint: disable=too-many-public-methods
|
|
596
596
|
cmd = ["label"] + ns + [kind, name, overwrite_param]
|
597
597
|
cmd.extend(added + removed)
|
598
598
|
self._run(cmd)
|
599
|
-
resource = {"kind": kind, "metadata": {"name": name}}
|
599
|
+
resource = OR({"kind": kind, "metadata": {"name": name}}, "", "")
|
600
600
|
return self._msg_to_process_reconcile_time(namespace, resource)
|
601
601
|
|
602
602
|
def project_exists(self, name):
|
@@ -627,7 +627,7 @@ class OCCli: # pylint: disable=too-many-public-methods
|
|
627
627
|
raise e
|
628
628
|
|
629
629
|
# This return will be removed by the last decorator
|
630
|
-
resource = {"kind": "Namespace", "metadata": {"name": namespace}}
|
630
|
+
resource = OR({"kind": "Namespace", "metadata": {"name": namespace}}, "", "")
|
631
631
|
return self._msg_to_process_reconcile_time(namespace, resource)
|
632
632
|
|
633
633
|
@OCDecorators.process_reconcile_time
|
@@ -639,7 +639,7 @@ class OCCli: # pylint: disable=too-many-public-methods
|
|
639
639
|
self._run(cmd)
|
640
640
|
|
641
641
|
# This return will be removed by the last decorator
|
642
|
-
resource = {"kind": "Namespace", "metadata": {"name": namespace}}
|
642
|
+
resource = OR({"kind": "Namespace", "metadata": {"name": namespace}}, "", "")
|
643
643
|
return self._msg_to_process_reconcile_time(namespace, resource)
|
644
644
|
|
645
645
|
def get_group_if_exists(self, name):
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc778.dist-info → qontract_reconcile-0.10.1rc780.dist-info}/top_level.txt
RENAMED
File without changes
|