qontract-reconcile 0.10.1rc1009__py3-none-any.whl → 0.10.1rc1010__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.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.dist-info}/RECORD +6 -6
- reconcile/utils/saasherder/saasherder.py +16 -2
- {qontract_reconcile-0.10.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.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.1rc1010
|
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.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.dist-info}/RECORD
RENAMED
@@ -808,7 +808,7 @@ reconcile/utils/runtime/sharding.py,sha256=r0ieUtNed7NvknSw6qQrCkKpVXE1shuHGnfFc
|
|
808
808
|
reconcile/utils/saasherder/__init__.py,sha256=J3MBZBFa5YmhqYm08QsjBXz8mFcVOCiOCkyIcw41t7E,343
|
809
809
|
reconcile/utils/saasherder/interfaces.py,sha256=C2wrw34OXypshVocAsPrVZsSHptgw4g9u7Haa2wulZQ,9087
|
810
810
|
reconcile/utils/saasherder/models.py,sha256=z8ln03zi2a8cu716NcNUDHp8Dv1VcVbhqdWVxCl7x9A,10148
|
811
|
-
reconcile/utils/saasherder/saasherder.py,sha256=
|
811
|
+
reconcile/utils/saasherder/saasherder.py,sha256=rTsBaQrCY7StLWkkHnMLVil8luLMsZ9hRED6SDw4Cds,85698
|
812
812
|
reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
|
813
813
|
reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
|
814
814
|
reconcile/utils/terraform/config_client.py,sha256=gRL1rQ0AqvShei_rcGqC3HDYGskOFKE1nPrJyJE9yno,4676
|
@@ -859,8 +859,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
|
|
859
859
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
860
860
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
861
861
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
862
|
-
qontract_reconcile-0.10.
|
863
|
-
qontract_reconcile-0.10.
|
864
|
-
qontract_reconcile-0.10.
|
865
|
-
qontract_reconcile-0.10.
|
866
|
-
qontract_reconcile-0.10.
|
862
|
+
qontract_reconcile-0.10.1rc1010.dist-info/METADATA,sha256=7cFnKb9RaHgWUrwtmYqUUsZ2MHpPoQNg5MZJ6U8U8Qg,2263
|
863
|
+
qontract_reconcile-0.10.1rc1010.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
864
|
+
qontract_reconcile-0.10.1rc1010.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
865
|
+
qontract_reconcile-0.10.1rc1010.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
866
|
+
qontract_reconcile-0.10.1rc1010.dist-info/RECORD,,
|
@@ -1947,6 +1947,21 @@ class SaasHerder: # pylint: disable=too-many-public-methods
|
|
1947
1947
|
if current_state and current_state.has_succeeded_once:
|
1948
1948
|
has_succeeded_once = True
|
1949
1949
|
|
1950
|
+
check_in = str(now)
|
1951
|
+
if (
|
1952
|
+
success
|
1953
|
+
and current_state
|
1954
|
+
and current_state.check_in
|
1955
|
+
and current_state.success
|
1956
|
+
):
|
1957
|
+
# We want to avoid an override of the timestamp.
|
1958
|
+
# This can happen on re-deployments of the same ref.
|
1959
|
+
# We only re-use the check_in time if the previous
|
1960
|
+
# and current deployment was successful.
|
1961
|
+
# On unsuccessful deployments, we
|
1962
|
+
# update the check_in time to current time.
|
1963
|
+
check_in = current_state.check_in
|
1964
|
+
|
1950
1965
|
# publish to state to pass promotion gate
|
1951
1966
|
self._promotion_state.publish_promotion_data(
|
1952
1967
|
sha=promotion.commit_sha,
|
@@ -1957,8 +1972,7 @@ class SaasHerder: # pylint: disable=too-many-public-methods
|
|
1957
1972
|
success=success,
|
1958
1973
|
target_config_hash=promotion.target_config_hash,
|
1959
1974
|
has_succeeded_once=has_succeeded_once,
|
1960
|
-
|
1961
|
-
check_in=str(now),
|
1975
|
+
check_in=check_in,
|
1962
1976
|
),
|
1963
1977
|
)
|
1964
1978
|
logging.info(
|
{qontract_reconcile-0.10.1rc1009.dist-info → qontract_reconcile-0.10.1rc1010.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|