qontract-reconcile 0.10.1rc1026__py3-none-any.whl → 0.10.1rc1028__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.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.dist-info}/RECORD +8 -8
- reconcile/cli.py +9 -0
- reconcile/endpoints_discovery/integration.py +4 -3
- reconcile/utils/mr/promote_qontract.py +1 -1
- {qontract_reconcile-0.10.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.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.1rc1028
|
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.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.dist-info}/RECORD
RENAMED
@@ -10,7 +10,7 @@ reconcile/aws_iam_password_reset.py,sha256=q96mwr2KeEQ5bpNniGlgIMZTxiuLSodcYfX-t
|
|
10
10
|
reconcile/aws_support_cases_sos.py,sha256=Jk6_XjDeJSYxgRGqcEAOcynt9qJF2r5HPIPcSKmoBv8,2974
|
11
11
|
reconcile/blackbox_exporter_endpoint_monitoring.py,sha256=O1wFp52EyF538c6txaWBs8eMtUIy19gyHZ6VzJ6QXS8,3512
|
12
12
|
reconcile/checkpoint.py,sha256=_JhMxrye5BgkRMxWYuf7Upli6XayPINKSsuo3ynHTRc,5010
|
13
|
-
reconcile/cli.py,sha256=
|
13
|
+
reconcile/cli.py,sha256=XYYAh7NPZY86nIIJXNaY3ehbP1ACuix-pMpBUJqsLI4,107372
|
14
14
|
reconcile/closedbox_endpoint_monitoring_base.py,sha256=rLh16BOlBOxTmJ8Si3wWyyEpmMlhh4Znx1Gc36qsmOc,4865
|
15
15
|
reconcile/cluster_deployment_mapper.py,sha256=5gumAaRCcFXsabUJ1dnuUy9WrP_FEEM5JnOnE8ch9sE,2326
|
16
16
|
reconcile/dashdotdb_base.py,sha256=l34QDu1G96_Ctnh7ZXdxXgSeCE93GQMdLAkWxmN6vDA,4775
|
@@ -186,7 +186,7 @@ reconcile/dynatrace_token_provider/metrics.py,sha256=xiKkl8fTEBQaXJelGCPNTZhHAWd
|
|
186
186
|
reconcile/dynatrace_token_provider/model.py,sha256=gkpqo5rRRueBXnIMjp4EEHqBUBuU65TRI8zpdb8GJ0A,241
|
187
187
|
reconcile/dynatrace_token_provider/ocm.py,sha256=iHMsgbsLs-dlrB9UXmWNDF7E4UDe49JOsLa9rnowKfo,4282
|
188
188
|
reconcile/endpoints_discovery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
189
|
-
reconcile/endpoints_discovery/integration.py,sha256=
|
189
|
+
reconcile/endpoints_discovery/integration.py,sha256=lUx_S_mQNATuB3tqGbyaliHBb355PCuU5SaVAiD_tbQ,12354
|
190
190
|
reconcile/endpoints_discovery/merge_request.py,sha256=NktpwMUoQ9TvBzOeHSPC09OqxWmgZBZVy-Eqmsm_vrA,2909
|
191
191
|
reconcile/endpoints_discovery/merge_request_manager.py,sha256=oY3lovy5DcUgHNEDzWrbOPabzZtaGMns6YLl5ipZJ0c,6346
|
192
192
|
reconcile/external_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -781,7 +781,7 @@ reconcile/utils/mr/labels.py,sha256=9QRTRjZAtq45zELd9SwavaraczMjwjn5no3RK1YxFTg,
|
|
781
781
|
reconcile/utils/mr/notificator.py,sha256=cp80wFzu_ZzrJPye7L1pI0H6JRGb7hOGuNxJYUq4Yr8,2967
|
782
782
|
reconcile/utils/mr/ocm_update_recommended_version.py,sha256=p_aVP0TGrlKk9WBwgQnYWqUDsED_Hg6G5Bqj0UvtRwA,1536
|
783
783
|
reconcile/utils/mr/ocm_upgrade_scheduler_org_updates.py,sha256=ojnIjw-8vRnmCCxOGBOEgPZLH4nC1hcuef74LWw2Rpk,3004
|
784
|
-
reconcile/utils/mr/promote_qontract.py,sha256=
|
784
|
+
reconcile/utils/mr/promote_qontract.py,sha256=3o_Lpn3gQc8HP3kSJRB1d7TvaDoIAKWLap5bhagQRaM,5945
|
785
785
|
reconcile/utils/mr/user_maintenance.py,sha256=cHPBn8zrReWLHalyk-EFdkFJe9zjVjRoZhT4t2zZfGE,3956
|
786
786
|
reconcile/utils/ocm/__init__.py,sha256=xv7CJp7K9LCQfa4gL_W0MMCOD1P4qOy8t5aZj1xXNUE,808
|
787
787
|
reconcile/utils/ocm/addons.py,sha256=_LDdJ-gapM3s5exKlIUt-MlXZTAUoHezbYBU0QmvfWQ,7335
|
@@ -865,8 +865,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
|
|
865
865
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
866
866
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
867
867
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
868
|
-
qontract_reconcile-0.10.
|
869
|
-
qontract_reconcile-0.10.
|
870
|
-
qontract_reconcile-0.10.
|
871
|
-
qontract_reconcile-0.10.
|
872
|
-
qontract_reconcile-0.10.
|
868
|
+
qontract_reconcile-0.10.1rc1028.dist-info/METADATA,sha256=vNX0YY0AXZFxpnQ8g7wmnBMKY27IOZcq5ZHlDDPMB9U,2213
|
869
|
+
qontract_reconcile-0.10.1rc1028.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
870
|
+
qontract_reconcile-0.10.1rc1028.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
871
|
+
qontract_reconcile-0.10.1rc1028.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
872
|
+
qontract_reconcile-0.10.1rc1028.dist-info/RECORD,,
|
reconcile/cli.py
CHANGED
@@ -1810,6 +1810,9 @@ def openshift_prometheus_rules(
|
|
1810
1810
|
@use_jump_host()
|
1811
1811
|
@cluster_name
|
1812
1812
|
@namespace_name
|
1813
|
+
@enable_extended_early_exit
|
1814
|
+
@extended_early_exit_cache_ttl_seconds
|
1815
|
+
@log_cached_log_output
|
1813
1816
|
@click.option(
|
1814
1817
|
"--endpoint-tmpl-resource",
|
1815
1818
|
help="Resource name of the endpoint template in the app-interface.",
|
@@ -1823,6 +1826,9 @@ def endpoints_discovery(
|
|
1823
1826
|
use_jump_host,
|
1824
1827
|
cluster_name,
|
1825
1828
|
namespace_name,
|
1829
|
+
enable_extended_early_exit,
|
1830
|
+
extended_early_exit_cache_ttl_seconds,
|
1831
|
+
log_cached_log_output,
|
1826
1832
|
endpoint_tmpl_resource,
|
1827
1833
|
):
|
1828
1834
|
from reconcile.endpoints_discovery.integration import (
|
@@ -1836,6 +1842,9 @@ def endpoints_discovery(
|
|
1836
1842
|
use_jump_host=use_jump_host,
|
1837
1843
|
cluster_name=cluster_name,
|
1838
1844
|
namespace_name=namespace_name,
|
1845
|
+
enable_extended_early_exit=enable_extended_early_exit,
|
1846
|
+
extended_early_exit_cache_ttl_seconds=extended_early_exit_cache_ttl_seconds,
|
1847
|
+
log_cached_log_output=log_cached_log_output,
|
1839
1848
|
)
|
1840
1849
|
if endpoint_tmpl_resource:
|
1841
1850
|
params.endpoint_tmpl_resource = endpoint_tmpl_resource
|
@@ -70,11 +70,11 @@ class Route(BaseModel):
|
|
70
70
|
|
71
71
|
|
72
72
|
def endpoint_prefix(namespace: NamespaceV1) -> str:
|
73
|
-
return f"{QONTRACT_INTEGRATION}
|
73
|
+
return f"{QONTRACT_INTEGRATION}/{namespace.cluster.name}/{namespace.name}/"
|
74
74
|
|
75
75
|
|
76
76
|
def compile_endpoint_name(endpoint_prefix: str, route: Route) -> str:
|
77
|
-
return f"{endpoint_prefix}
|
77
|
+
return f"{endpoint_prefix}{route.name}"
|
78
78
|
|
79
79
|
|
80
80
|
def render_template(template: str, endpoint_name: str, route: Route) -> dict:
|
@@ -261,7 +261,8 @@ class EndpointsDiscoveryIntegration(
|
|
261
261
|
) -> ExtendedEarlyExitRunnerResult:
|
262
262
|
"""Reconcile the endpoints for all namespaces."""
|
263
263
|
apps = self.get_apps(oc_map, endpoint_template, namespaces)
|
264
|
-
|
264
|
+
if apps:
|
265
|
+
merge_request_manager.create_merge_request(apps=apps)
|
265
266
|
return ExtendedEarlyExitRunnerResult(payload={}, applied_count=len(apps))
|
266
267
|
|
267
268
|
@defer
|
@@ -169,5 +169,5 @@ class PromoteQontractReconcileCommercial(MergeRequestBase):
|
|
169
169
|
gitlab_cli=gitlab_cli,
|
170
170
|
path="data/pipelines/tekton-provider-global-defaults.yaml",
|
171
171
|
search_text="$.taskTemplates[?(@.name == 'openshift-saas-deploy')].variables.qontract_reconcile_image_tag",
|
172
|
-
replace_text=self.
|
172
|
+
replace_text=self.version,
|
173
173
|
)
|
{qontract_reconcile-0.10.1rc1026.dist-info → qontract_reconcile-0.10.1rc1028.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|