qontract-reconcile 0.10.1rc914__py3-none-any.whl → 0.10.1rc916__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.1rc914
3
+ Version: 0.10.1rc916
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
@@ -657,7 +657,7 @@ reconcile/utils/filtering.py,sha256=S4PbMHuFr3ED0P2Q_ea5CAaB7FimI62B-F5YTaKrphA,
657
657
  reconcile/utils/git.py,sha256=actOWI2HiNpMIV6nHCzinhRa6b04Y9plWOCcPQa8lNA,1437
658
658
  reconcile/utils/git_secrets.py,sha256=y1rEhwA8DyDpBSAEuhMS7Y2X3mpxT2zQ4zyDFkhLe_g,1936
659
659
  reconcile/utils/github_api.py,sha256=R8OvqyPdnRqvP-Efnv9RvIcbBlb4M0KC4RlbnJMD0Tg,2426
660
- reconcile/utils/gitlab_api.py,sha256=JQONW3hRunSIUPxDnmk0iZMxRLUYLsMhapAVAuwIkEc,29228
660
+ reconcile/utils/gitlab_api.py,sha256=T4kAaiXRztgxTMpyR0XND_6Wm0WThRoHUNULzNZxNBA,29285
661
661
  reconcile/utils/gpg.py,sha256=EKG7_fdMv8BMlV5yUdPiqoTx-KrzmVSEAl2sLkaKwWI,1123
662
662
  reconcile/utils/gql.py,sha256=IGhxzBcuebbapDKLseevEThSsxa_eDCPNpo3A4VnOS4,14066
663
663
  reconcile/utils/grouping.py,sha256=vr9SFHZ7bqmHYrvYcEZt-Er3-yQYfAAdq5sHLZVmXPY,456
@@ -793,7 +793,7 @@ reconcile/utils/runtime/sharding.py,sha256=r0ieUtNed7NvknSw6qQrCkKpVXE1shuHGnfFc
793
793
  reconcile/utils/saasherder/__init__.py,sha256=J3MBZBFa5YmhqYm08QsjBXz8mFcVOCiOCkyIcw41t7E,343
794
794
  reconcile/utils/saasherder/interfaces.py,sha256=C2wrw34OXypshVocAsPrVZsSHptgw4g9u7Haa2wulZQ,9087
795
795
  reconcile/utils/saasherder/models.py,sha256=McvpJhwh-QfrNT76hekvx5U5Xq2Hp1Yt1XHTW2d3Cn8,5466
796
- reconcile/utils/saasherder/saasherder.py,sha256=9Iz1Vx2jB81Fmd7IgZCht4GYl49F-zbeyO-TLMfnmRY,87798
796
+ reconcile/utils/saasherder/saasherder.py,sha256=pg3eL_Rx8ZgoYSfXYdyftEdYWv5sHi_UgNuihlIaG9o,87701
797
797
  reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
798
798
  reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
799
799
  reconcile/utils/terraform/config_client.py,sha256=3gUIIIEv52Vx7-VgQ2FZYfCCrfqUv_5gw_TQ3mbLcTs,4666
@@ -844,8 +844,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
844
844
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
845
845
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
846
846
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
847
- qontract_reconcile-0.10.1rc914.dist-info/METADATA,sha256=fhmsnD8MxH5KL6pAfaMn_pKyScPbkweGectQCRDTy7s,2273
848
- qontract_reconcile-0.10.1rc914.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
849
- qontract_reconcile-0.10.1rc914.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
850
- qontract_reconcile-0.10.1rc914.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
851
- qontract_reconcile-0.10.1rc914.dist-info/RECORD,,
847
+ qontract_reconcile-0.10.1rc916.dist-info/METADATA,sha256=KPsigSS8webUozoUf662AHUkUx8hpkChedhbl1ngNKY,2273
848
+ qontract_reconcile-0.10.1rc916.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
849
+ qontract_reconcile-0.10.1rc916.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
850
+ qontract_reconcile-0.10.1rc916.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
851
+ qontract_reconcile-0.10.1rc916.dist-info/RECORD,,
@@ -99,11 +99,14 @@ class GitLabApi: # pylint: disable=too-many-public-methods
99
99
  if not secret_reader:
100
100
  secret_reader = SecretReader(settings=settings)
101
101
  token = secret_reader.read(instance["token"])
102
- ssl_verify = instance["sslVerify"]
103
- if ssl_verify is None:
104
- ssl_verify = True
102
+ self.ssl_verify = instance["sslVerify"]
103
+ if self.ssl_verify is None:
104
+ self.ssl_verify = True
105
105
  self.gl = gitlab.Gitlab(
106
- self.server, private_token=token, ssl_verify=ssl_verify, timeout=timeout
106
+ self.server,
107
+ private_token=token,
108
+ ssl_verify=self.ssl_verify,
109
+ timeout=timeout,
107
110
  )
108
111
  self._auth()
109
112
  self.user: CurrentUser = self.gl.user
@@ -1363,10 +1363,9 @@ class SaasHerder: # pylint: disable=too-many-public-methods
1363
1363
  try:
1364
1364
  resources, html_url, promotion = self._process_template(spec)
1365
1365
  except Exception as e:
1366
- # error log message send in _process_template. We log here debug to have a
1367
- # safeguard in case something breaks there unexpectedly. We cannot just
1366
+ # error log message send in _process_template. We cannot just
1368
1367
  # register an error without logging as inventory errors don't have details.
1369
- logging.debug(f"Error in populate_desired_state_saas_file: {e}")
1368
+ logging.error(f"Error in populate_desired_state_saas_file: {e}")
1370
1369
  ri.register_error()
1371
1370
  return None
1372
1371