qontract-reconcile 0.10.1rc894__py3-none-any.whl → 0.10.1rc896__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.1rc894.dist-info → qontract_reconcile-0.10.1rc896.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc894.dist-info → qontract_reconcile-0.10.1rc896.dist-info}/RECORD +6 -6
- tools/qontract_cli.py +7 -2
- {qontract_reconcile-0.10.1rc894.dist-info → qontract_reconcile-0.10.1rc896.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc894.dist-info → qontract_reconcile-0.10.1rc896.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc894.dist-info → qontract_reconcile-0.10.1rc896.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc894.dist-info → qontract_reconcile-0.10.1rc896.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.1rc896
|
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.1rc894.dist-info → qontract_reconcile-0.10.1rc896.dist-info}/RECORD
RENAMED
@@ -813,7 +813,7 @@ tools/app_interface_metrics_exporter.py,sha256=zkwkxdAUAxjdc-pzx2_oJXG25fo0Fnyd5
|
|
813
813
|
tools/app_interface_reporter.py,sha256=uy9eRHf6EdvD8ZY2WYdroGXm18DOdnqVZyxaWN3Bm_0,17724
|
814
814
|
tools/glitchtip_access_reporter.py,sha256=oPBnk_YoDuljU3v0FaChzOwwnk4vap1xEE67QEjzdqs,2948
|
815
815
|
tools/glitchtip_access_revalidation.py,sha256=8kbBJk04mkq28kWoRDDkfCGIF3GRg3pJrFAh1sW0dbk,2821
|
816
|
-
tools/qontract_cli.py,sha256=
|
816
|
+
tools/qontract_cli.py,sha256=lEjrFQSUHDRYrIbQ96ncwjiIqNVqW8lZrpzy8_V_pFo,124262
|
817
817
|
tools/sd_app_sre_alert_report.py,sha256=e9vAdyenUz2f5c8-z-5WY0wv-SJ9aePKDH2r4IwB6pc,5063
|
818
818
|
tools/template_validation.py,sha256=qpKYaTgk0GOPGa2Ct5_5sKdwIHtCAKIBGzsMPuJU5fw,3371
|
819
819
|
tools/cli_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -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.1rc896.dist-info/METADATA,sha256=pQ4m4fzozho-85m19cdPiHgEt_NkZDf975_26gaf1Jw,2273
|
848
|
+
qontract_reconcile-0.10.1rc896.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
849
|
+
qontract_reconcile-0.10.1rc896.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
850
|
+
qontract_reconcile-0.10.1rc896.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
851
|
+
qontract_reconcile-0.10.1rc896.dist-info/RECORD,,
|
tools/qontract_cli.py
CHANGED
@@ -3680,14 +3680,19 @@ def get_promotion_state(channel: str, sha: str):
|
|
3680
3680
|
SaasPromotionState,
|
3681
3681
|
)
|
3682
3682
|
|
3683
|
+
bucket = os.environ.get("APP_INTERFACE_STATE_BUCKET")
|
3684
|
+
region = os.environ.get("APP_INTERFACE_STATE_BUCKET_REGION", "us-east-1")
|
3683
3685
|
promotion_state = SaasPromotionState.create(promotion_state=None, saas_files=None)
|
3684
3686
|
for publisher_id, state in promotion_state.get(channel=channel, sha=sha).items():
|
3685
3687
|
print()
|
3686
3688
|
if not state:
|
3687
3689
|
print(f"No state found for {publisher_id=}")
|
3688
3690
|
else:
|
3689
|
-
print(f"
|
3690
|
-
print(
|
3691
|
+
print(f"{publisher_id=}")
|
3692
|
+
print(
|
3693
|
+
f"State link: https://{region}.console.aws.amazon.com/s3/object/{bucket}?region={region}&bucketType=general&prefix=state/openshift-saas-deploy/promotions_v2/{channel}/{publisher_id}/{sha}"
|
3694
|
+
)
|
3695
|
+
print(f"Content: {state}")
|
3691
3696
|
|
3692
3697
|
|
3693
3698
|
@root.command()
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc894.dist-info → qontract_reconcile-0.10.1rc896.dist-info}/top_level.txt
RENAMED
File without changes
|