qontract-reconcile 0.10.1rc844__py3-none-any.whl → 0.10.1rc846__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.1rc844.dist-info → qontract_reconcile-0.10.1rc846.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc844.dist-info → qontract_reconcile-0.10.1rc846.dist-info}/RECORD +7 -7
- reconcile/utils/jinja2/utils.py +2 -0
- reconcile/utils/saasherder/saasherder.py +3 -0
- {qontract_reconcile-0.10.1rc844.dist-info → qontract_reconcile-0.10.1rc846.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc844.dist-info → qontract_reconcile-0.10.1rc846.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc844.dist-info → qontract_reconcile-0.10.1rc846.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc844.dist-info → qontract_reconcile-0.10.1rc846.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.1rc846
|
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.1rc844.dist-info → qontract_reconcile-0.10.1rc846.dist-info}/RECORD
RENAMED
@@ -734,7 +734,7 @@ reconcile/utils/internal_groups/models.py,sha256=GSkF6fVcdbl774q51ZFUmNfSJPta03O
|
|
734
734
|
reconcile/utils/jinja2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
735
735
|
reconcile/utils/jinja2/extensions.py,sha256=zV_x8MhSHAynKhFnG3fULXrwsm5fUG_88IygZHSnN0o,1284
|
736
736
|
reconcile/utils/jinja2/filters.py,sha256=_kJjdMsY3lGS5PUn4NnpXUQDNrL1IwiKsB-0MhTMGYM,4521
|
737
|
-
reconcile/utils/jinja2/utils.py,sha256=
|
737
|
+
reconcile/utils/jinja2/utils.py,sha256=3FID6S8ASr9wCrUqRtztp5gJjLn1PxGMrvj5DuG3fMU,6778
|
738
738
|
reconcile/utils/jobcontroller/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
739
739
|
reconcile/utils/jobcontroller/controller.py,sha256=J_Usf3B4hmQmIseWqnAzam3oku8z7EUP0KCwdSTy9Lw,14514
|
740
740
|
reconcile/utils/jobcontroller/models.py,sha256=z0gRJy8Ow1leYS-GrvTUv-t-mQDPHTJVDoHb1nVcZ_8,6349
|
@@ -786,7 +786,7 @@ reconcile/utils/runtime/sharding.py,sha256=roCdbnBklhTK_g34zbgQYqzpKPaNQ8J6Xd9XL
|
|
786
786
|
reconcile/utils/saasherder/__init__.py,sha256=J3MBZBFa5YmhqYm08QsjBXz8mFcVOCiOCkyIcw41t7E,343
|
787
787
|
reconcile/utils/saasherder/interfaces.py,sha256=XXY35h8VWQ66z3LBPxaoUAMkIW50264DQiecrzyV6oA,9076
|
788
788
|
reconcile/utils/saasherder/models.py,sha256=1DKXUmiTS_MejUfSpFCeuBLMTgR4ldv2N1tAz8qHAwc,5547
|
789
|
-
reconcile/utils/saasherder/saasherder.py,sha256=
|
789
|
+
reconcile/utils/saasherder/saasherder.py,sha256=5rKp1ONBgRgfRO9tMHheEHXjQbipqWB8kUALSCKMGDc,86545
|
790
790
|
reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
|
791
791
|
reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
|
792
792
|
reconcile/utils/terraform/config_client.py,sha256=py-Ree-QUYD6Hvng6bM40VgSuttteehIKNgwOSoJO1o,4706
|
@@ -834,8 +834,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
834
834
|
tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jrss,4941
|
835
835
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
836
836
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
837
|
-
qontract_reconcile-0.10.
|
838
|
-
qontract_reconcile-0.10.
|
839
|
-
qontract_reconcile-0.10.
|
840
|
-
qontract_reconcile-0.10.
|
841
|
-
qontract_reconcile-0.10.
|
837
|
+
qontract_reconcile-0.10.1rc846.dist-info/METADATA,sha256=iQc7VJY7P_Q720UpY5pu8GHIl04MuBB_N5swMWQK6Y0,2273
|
838
|
+
qontract_reconcile-0.10.1rc846.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
839
|
+
qontract_reconcile-0.10.1rc846.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
840
|
+
qontract_reconcile-0.10.1rc846.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
841
|
+
qontract_reconcile-0.10.1rc846.dist-info/RECORD,,
|
reconcile/utils/jinja2/utils.py
CHANGED
@@ -10,6 +10,7 @@ from reconcile.checkpoint import url_makes_sense
|
|
10
10
|
from reconcile.github_users import init_github
|
11
11
|
from reconcile.utils import gql
|
12
12
|
from reconcile.utils.aws_api import AWSApi
|
13
|
+
from reconcile.utils.helpers import flatten
|
13
14
|
from reconcile.utils.jinja2.extensions import B64EncodeExtension, RaiseErrorExtension
|
14
15
|
from reconcile.utils.jinja2.filters import (
|
15
16
|
eval_filter,
|
@@ -180,6 +181,7 @@ def process_jinja2_template(
|
|
180
181
|
"query": lookup_graphql_query_results,
|
181
182
|
"url": url_makes_sense,
|
182
183
|
"s3": lookup_s3_object,
|
184
|
+
"flatten_dict": flatten,
|
183
185
|
})
|
184
186
|
if "_template_mocks" in vars:
|
185
187
|
for k, v in vars["_template_mocks"].items():
|
@@ -959,6 +959,9 @@ class SaasHerder: # pylint: disable=too-many-public-methods
|
|
959
959
|
)
|
960
960
|
raise
|
961
961
|
|
962
|
+
# add COMMIT_SHA only if it is unspecified
|
963
|
+
consolidated_parameters.setdefault("COMMIT_SHA", commit_sha)
|
964
|
+
|
962
965
|
# add IMAGE_TAG only if it is unspecified
|
963
966
|
if not (image_tag := consolidated_parameters.get("IMAGE_TAG", "")):
|
964
967
|
sha_substring = commit_sha[:hash_length]
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc844.dist-info → qontract_reconcile-0.10.1rc846.dist-info}/top_level.txt
RENAMED
File without changes
|