qontract-reconcile 0.10.1rc779__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc779
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
@@ -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=hwGqjRbySKJeP7ekN96fwW5UFUpTWiQ-IZ_tzWQYbKY,17565
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
@@ -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.1rc779.dist-info/METADATA,sha256=9ITUcekfuE2dkWTDDJIYzXki4OS3GFiBO7Mq2IgdWnI,2382
789
- qontract_reconcile-0.10.1rc779.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
790
- qontract_reconcile-0.10.1rc779.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
791
- qontract_reconcile-0.10.1rc779.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
792
- qontract_reconcile-0.10.1rc779.dist-info/RECORD,,
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,,
@@ -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
- saas_file_yaml = self.gl_app_interface_get_file(
402
- saastarget.path, ref=sha
403
- ).decode()
404
- saas_file = yaml.safe_load(saas_file_yaml)
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"]: