qontract-reconcile 0.10.1rc925__py3-none-any.whl → 0.10.1rc926__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.1rc925.dist-info → qontract_reconcile-0.10.1rc926.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc925.dist-info → qontract_reconcile-0.10.1rc926.dist-info}/RECORD +7 -7
- reconcile/gql_definitions/templating/template_collection.py +2 -2
- reconcile/templating/renderer.py +5 -7
- {qontract_reconcile-0.10.1rc925.dist-info → qontract_reconcile-0.10.1rc926.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc925.dist-info → qontract_reconcile-0.10.1rc926.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc925.dist-info → qontract_reconcile-0.10.1rc926.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc925.dist-info → qontract_reconcile-0.10.1rc926.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.1rc926
|
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.1rc925.dist-info → qontract_reconcile-0.10.1rc926.dist-info}/RECORD
RENAMED
@@ -366,7 +366,7 @@ reconcile/gql_definitions/status_board/status_board.py,sha256=vHEzncabujkqbjJ-ib
|
|
366
366
|
reconcile/gql_definitions/statuspage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
367
367
|
reconcile/gql_definitions/statuspage/statuspages.py,sha256=CTRzjiR9k41LqlkgyoNHwC2JERsoD_Run_aK7jw_Ono,5299
|
368
368
|
reconcile/gql_definitions/templating/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
369
|
-
reconcile/gql_definitions/templating/template_collection.py,sha256=
|
369
|
+
reconcile/gql_definitions/templating/template_collection.py,sha256=I9razKZ9BThTn1HZW1AamwF0EKXxLACL30DxGxev-rA,4045
|
370
370
|
reconcile/gql_definitions/templating/templates.py,sha256=bV1JWwxDW8opARBOrZ_h5NBsJfM-9aL-povmTZnpTOk,3296
|
371
371
|
reconcile/gql_definitions/terraform_cloudflare_dns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
372
372
|
reconcile/gql_definitions/terraform_cloudflare_dns/app_interface_cloudflare_dns_settings.py,sha256=eyGX9HcTF6MZbOYZ6Kl6Mg3k6nJTUtwqs9gDxBP_8Dk,1920
|
@@ -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=FVBmnR2FmVModhqOYNBInhF8zk0Qnj9og9KHK5-X9v0,2361
|
464
464
|
reconcile/templates/rosa-hcp-cluster-creation.sh.j2,sha256=2wTdv9qvapCvT8NSi_hq8sXhpFSaxRX-V6Cao1diCI8,2393
|
465
465
|
reconcile/templating/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
466
|
-
reconcile/templating/renderer.py,sha256=
|
466
|
+
reconcile/templating/renderer.py,sha256=4Uo0HHRhXyXQNCMAEv3MiSL_R_B_DQ3MD7wtYcDzL9w,12951
|
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=P4IbblzXbubjlaxAYoahHFADUNIXLepfqwzdnHPs8OY,5608
|
@@ -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.
|
848
|
-
qontract_reconcile-0.10.
|
849
|
-
qontract_reconcile-0.10.
|
850
|
-
qontract_reconcile-0.10.
|
851
|
-
qontract_reconcile-0.10.
|
847
|
+
qontract_reconcile-0.10.1rc926.dist-info/METADATA,sha256=eqpGD1LsAnd-3_U8CIfVPdBtlGf52mIqcTnfrhGHdFE,2273
|
848
|
+
qontract_reconcile-0.10.1rc926.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
849
|
+
qontract_reconcile-0.10.1rc926.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
850
|
+
qontract_reconcile-0.10.1rc926.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
851
|
+
qontract_reconcile-0.10.1rc926.dist-info/RECORD,,
|
@@ -19,8 +19,8 @@ from pydantic import ( # noqa: F401 # pylint: disable=W0611
|
|
19
19
|
|
20
20
|
|
21
21
|
DEFINITION = """
|
22
|
-
query TemplateCollection_v1 {
|
23
|
-
template_collection_v1 {
|
22
|
+
query TemplateCollection_v1($name: String) {
|
23
|
+
template_collection_v1(name: $name) {
|
24
24
|
name
|
25
25
|
additionalMrLabels
|
26
26
|
description
|
reconcile/templating/renderer.py
CHANGED
@@ -47,11 +47,11 @@ APP_INTERFACE_PATH_SEPERATOR = "/"
|
|
47
47
|
|
48
48
|
|
49
49
|
def get_template_collections(
|
50
|
-
query_func: Callable | None = None,
|
50
|
+
query_func: Callable | None = None, name: str | None = None
|
51
51
|
) -> list[TemplateCollectionV1]:
|
52
|
-
variables
|
53
|
-
if
|
54
|
-
variables["
|
52
|
+
variables = {}
|
53
|
+
if name:
|
54
|
+
variables["name"] = name
|
55
55
|
if not query_func:
|
56
56
|
query_func = gql.get_api().query
|
57
57
|
return query(query_func, variables=variables).template_collection_v1 or []
|
@@ -299,9 +299,7 @@ class TemplateRendererIntegration(QontractReconcileIntegration):
|
|
299
299
|
ruamel_instance: yaml.YAML,
|
300
300
|
) -> None:
|
301
301
|
gql_no_validation = init_from_config(validate_schemas=False)
|
302
|
-
for c in get_template_collections(
|
303
|
-
template_collection_name=self.params.template_collection_name
|
304
|
-
):
|
302
|
+
for c in get_template_collections(name=self.params.template_collection_name):
|
305
303
|
for_each_items: list[dict[str, Any]] = [{}]
|
306
304
|
if c.for_each and c.for_each.items:
|
307
305
|
for_each_items = c.for_each.items
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc925.dist-info → qontract_reconcile-0.10.1rc926.dist-info}/top_level.txt
RENAMED
File without changes
|