qontract-reconcile 0.10.1rc951__py3-none-any.whl → 0.10.1rc953__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.1rc951.dist-info → qontract_reconcile-0.10.1rc953.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc951.dist-info → qontract_reconcile-0.10.1rc953.dist-info}/RECORD +7 -7
- reconcile/dynatrace_token_provider/integration.py +9 -5
- reconcile/templating/renderer.py +2 -1
- {qontract_reconcile-0.10.1rc951.dist-info → qontract_reconcile-0.10.1rc953.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc951.dist-info → qontract_reconcile-0.10.1rc953.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc951.dist-info → qontract_reconcile-0.10.1rc953.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc951.dist-info → qontract_reconcile-0.10.1rc953.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.1rc953
|
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.1rc951.dist-info → qontract_reconcile-0.10.1rc953.dist-info}/RECORD
RENAMED
@@ -180,7 +180,7 @@ reconcile/cna/assets/asset_factory.py,sha256=7T7X_J6xIsoGETqBRI45_EyIKEdQcnRPt_G
|
|
180
180
|
reconcile/cna/assets/null.py,sha256=85mVh97atCoC0aLuX47poTZiyOthmziJeBsUw0c924w,1658
|
181
181
|
reconcile/dynatrace_token_provider/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
182
182
|
reconcile/dynatrace_token_provider/dependencies.py,sha256=uJLvR48kxfqjnBuP60XQx5RbkWPL3__FCgWjqwhKEjo,2160
|
183
|
-
reconcile/dynatrace_token_provider/integration.py,sha256=
|
183
|
+
reconcile/dynatrace_token_provider/integration.py,sha256=n_t_x-9USDtkT_8koOn7SxxXXxc3lAYbkZENlVm6t5c,14909
|
184
184
|
reconcile/dynatrace_token_provider/metrics.py,sha256=xiKkl8fTEBQaXJelGCPNTZhHAWdO1M3pCXNr_Tei63c,1285
|
185
185
|
reconcile/dynatrace_token_provider/ocm.py,sha256=IwksRMyGcJnamV88ORlBoyOr7uRENhMaHBoSXaGfwDY,2784
|
186
186
|
reconcile/external_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -463,7 +463,7 @@ reconcile/templates/jira-checkpoint-missinginfo.j2,sha256=c_Vvg-lEENsB3tgxm9B6Y9
|
|
463
463
|
reconcile/templates/rosa-classic-cluster-creation.sh.j2,sha256=zqMMlKWV-aUDMtA-Xu5kl5pYLilewDClnKM0c807nNA,2146
|
464
464
|
reconcile/templates/rosa-hcp-cluster-creation.sh.j2,sha256=hQ-WapiBNV3oEKQ813W3bD4HwQ4gADRPy80z9OLtW3Y,2317
|
465
465
|
reconcile/templating/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
466
|
-
reconcile/templating/renderer.py,sha256=
|
466
|
+
reconcile/templating/renderer.py,sha256=6qFeXNqAE8t85eewfm8Pcj9i_Fp2UJ1lad_zTqYmF7M,14753
|
467
467
|
reconcile/templating/validator.py,sha256=5f9f35PCHOOdjb7KZquL2YdabyuAUokPDa4xutSEHIQ,5360
|
468
468
|
reconcile/templating/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
469
469
|
reconcile/templating/lib/merge_request_manager.py,sha256=XwpOR4rVS9ZiJ_Mn8qfCXPZ7CRLMGSJgeIkqD-8Jhgc,5228
|
@@ -846,8 +846,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
|
|
846
846
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
847
847
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
848
848
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
849
|
-
qontract_reconcile-0.10.
|
850
|
-
qontract_reconcile-0.10.
|
851
|
-
qontract_reconcile-0.10.
|
852
|
-
qontract_reconcile-0.10.
|
853
|
-
qontract_reconcile-0.10.
|
849
|
+
qontract_reconcile-0.10.1rc953.dist-info/METADATA,sha256=qfEkhRRwd-4gS2e4uBl6C2sJhJkvkdCLcVt1NL_4ZBE,2262
|
850
|
+
qontract_reconcile-0.10.1rc953.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
851
|
+
qontract_reconcile-0.10.1rc953.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
852
|
+
qontract_reconcile-0.10.1rc953.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
853
|
+
qontract_reconcile-0.10.1rc953.dist-info/RECORD,,
|
@@ -66,11 +66,15 @@ class DynatraceTokenProviderIntegration(
|
|
66
66
|
with metrics.transactional_metrics(self.name):
|
67
67
|
unhandled_exceptions = []
|
68
68
|
for ocm_env_name, ocm_client in dependencies.ocm_client_by_env_name.items():
|
69
|
-
clusters =
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
clusters: list[Cluster] = []
|
70
|
+
try:
|
71
|
+
clusters = ocm_client.discover_clusters_by_labels(
|
72
|
+
label_filter=subscription_label_filter().like(
|
73
|
+
"key", dtp_label_key("%")
|
74
|
+
),
|
75
|
+
)
|
76
|
+
except Exception as e:
|
77
|
+
unhandled_exceptions.append(f"{ocm_env_name}: {e}")
|
74
78
|
metrics.set_gauge(
|
75
79
|
DTPClustersManagedGauge(
|
76
80
|
integration=self.name,
|
reconcile/templating/renderer.py
CHANGED
@@ -168,7 +168,7 @@ class ClonedRepoGitlabPersistence(FilePersistence):
|
|
168
168
|
raise ValueError("ClonedRepoGitlabPersistence.result not set!")
|
169
169
|
self.result.outputs = self.outputs
|
170
170
|
|
171
|
-
if self.dry_run:
|
171
|
+
if self.dry_run or not self.outputs:
|
172
172
|
return
|
173
173
|
|
174
174
|
self.mr_manager.housekeeping()
|
@@ -347,6 +347,7 @@ class TemplateRendererIntegration(QontractReconcileIntegration):
|
|
347
347
|
)
|
348
348
|
with persistence as p:
|
349
349
|
p.result = result
|
350
|
+
p.outputs = []
|
350
351
|
for item in for_each_items:
|
351
352
|
self.reconcile_template_collection(
|
352
353
|
collection=collection,
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc951.dist-info → qontract_reconcile-0.10.1rc953.dist-info}/top_level.txt
RENAMED
File without changes
|