qontract-reconcile 0.10.1rc927__py3-none-any.whl → 0.10.1rc928__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.1rc927.dist-info → qontract_reconcile-0.10.1rc928.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc927.dist-info → qontract_reconcile-0.10.1rc928.dist-info}/RECORD +7 -7
- reconcile/utils/saasherder/models.py +1 -1
- reconcile/utils/saasherder/saasherder.py +6 -1
- {qontract_reconcile-0.10.1rc927.dist-info → qontract_reconcile-0.10.1rc928.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc927.dist-info → qontract_reconcile-0.10.1rc928.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc927.dist-info → qontract_reconcile-0.10.1rc928.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc927.dist-info → qontract_reconcile-0.10.1rc928.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.1rc928
|
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.1rc927.dist-info → qontract_reconcile-0.10.1rc928.dist-info}/RECORD
RENAMED
@@ -792,8 +792,8 @@ reconcile/utils/runtime/runner.py,sha256=PBfE_M4hTZKtyubg29AkMWlLi2KKyA74yItREtT
|
|
792
792
|
reconcile/utils/runtime/sharding.py,sha256=r0ieUtNed7NvknSw6qQrCkKpVXE1shuHGnfFcnpA_k4,16142
|
793
793
|
reconcile/utils/saasherder/__init__.py,sha256=J3MBZBFa5YmhqYm08QsjBXz8mFcVOCiOCkyIcw41t7E,343
|
794
794
|
reconcile/utils/saasherder/interfaces.py,sha256=C2wrw34OXypshVocAsPrVZsSHptgw4g9u7Haa2wulZQ,9087
|
795
|
-
reconcile/utils/saasherder/models.py,sha256
|
796
|
-
reconcile/utils/saasherder/saasherder.py,sha256=
|
795
|
+
reconcile/utils/saasherder/models.py,sha256=-HVTHFKXsLOew-sObHeA-6DEEyq9bQwZVXEU3MUNd4Q,9746
|
796
|
+
reconcile/utils/saasherder/saasherder.py,sha256=HDa095P6BImq4tytHW8ypdykvrEm6Ugoc36z-0RPpPM,85594
|
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.
|
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.1rc928.dist-info/METADATA,sha256=TDSUBhjq6BnvT5oCsC8bY7bLAypm61Exrn9fWkPgCWA,2262
|
848
|
+
qontract_reconcile-0.10.1rc928.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
849
|
+
qontract_reconcile-0.10.1rc928.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
850
|
+
qontract_reconcile-0.10.1rc928.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
851
|
+
qontract_reconcile-0.10.1rc928.dist-info/RECORD,,
|
@@ -272,7 +272,7 @@ class TargetSpec:
|
|
272
272
|
def delete(self) -> bool:
|
273
273
|
return bool(self.target.delete)
|
274
274
|
|
275
|
-
def parameters(self, adjust: bool = True) -> dict[str,
|
275
|
+
def parameters(self, adjust: bool = True) -> dict[str, Any]:
|
276
276
|
environment_parameters = self._collect_parameters(
|
277
277
|
self.target.namespace.environment, adjust=adjust
|
278
278
|
)
|
@@ -984,11 +984,16 @@ class SaasHerder: # pylint: disable=too-many-public-methods
|
|
984
984
|
else True
|
985
985
|
)
|
986
986
|
html_url = f"{url}/tree/{target.ref}{path}"
|
987
|
+
consolidated_parameters = spec.parameters(adjust=False)
|
988
|
+
if not consolidated_parameters.get("image", {}).get("tag"):
|
989
|
+
commit_sha = self._get_commit_sha(url, target.ref, github)
|
990
|
+
image_tag = commit_sha[:hash_length]
|
991
|
+
consolidated_parameters.setdefault("image", {})["tag"] = image_tag
|
987
992
|
resources = helm.template_all(
|
988
993
|
url=url,
|
989
994
|
path=path,
|
990
995
|
name=resource_template_name,
|
991
|
-
values=
|
996
|
+
values=consolidated_parameters,
|
992
997
|
ssl_verify=ssl_verify,
|
993
998
|
)
|
994
999
|
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc927.dist-info → qontract_reconcile-0.10.1rc928.dist-info}/top_level.txt
RENAMED
File without changes
|