qontract-reconcile 0.9.1rc260__py3-none-any.whl → 0.9.1rc262__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.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/RECORD +7 -7
- reconcile/openshift_saas_deploy.py +7 -21
- reconcile/saas_auto_promotions_manager/utils/vcs.py +2 -3
- {qontract_reconcile-0.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.1rc262
|
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
|
@@ -83,7 +83,7 @@ reconcile/openshift_resources.py,sha256=Lkn3KdIqxUCmOzlwoKjM2xVotTbJDfgjMGySvWtB
|
|
83
83
|
reconcile/openshift_resources_base.py,sha256=yyYBaZwtYbNW58ObLNyaAvC0xvy_Hhjo8iYdJTd5H3E,40365
|
84
84
|
reconcile/openshift_rolebindings.py,sha256=1k0o3hb3ZhhlbUjc8cP7IjKFux0oZApT8kLT8Y-pvqI,6579
|
85
85
|
reconcile/openshift_routes.py,sha256=fXvuPSjcjVw1X3j2EQvUAdbOepmIFdKk-M3qP8QzPiw,1075
|
86
|
-
reconcile/openshift_saas_deploy.py,sha256=
|
86
|
+
reconcile/openshift_saas_deploy.py,sha256=FOG6FoxzUMgV6VS3n6E3tjWXGbEPJAq6W8yzk4wtC_E,9431
|
87
87
|
reconcile/openshift_saas_deploy_change_tester.py,sha256=VuxC_EHQwJ_j0caL89xN2m0eaNTmheXKi9Ryl4kCIKE,8750
|
88
88
|
reconcile/openshift_saas_deploy_trigger_base.py,sha256=sRrPAgnV9sjwTV7tCR2yULBsNrj6pIr2NIDGKt-f3V8,14315
|
89
89
|
reconcile/openshift_saas_deploy_trigger_cleaner.py,sha256=iFIkmDnN-ZKeIInT_5lWPkjSPwhidzw1GCmdziaagUk,2935
|
@@ -265,7 +265,7 @@ reconcile/saas_auto_promotions_manager/merge_request_manager/merge_request_manag
|
|
265
265
|
reconcile/saas_auto_promotions_manager/merge_request_manager/renderer.py,sha256=Lfwii68Tiobk8bU1JYco3OosYAd0A-0lvyLtSykeCWk,4598
|
266
266
|
reconcile/saas_auto_promotions_manager/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
267
267
|
reconcile/saas_auto_promotions_manager/utils/saas_files_inventory.py,sha256=aQ-rVGjJfD0eAWFwU0ocOGTF5BHld-49yBwSmgKtUvg,8371
|
268
|
-
reconcile/saas_auto_promotions_manager/utils/vcs.py,sha256=
|
268
|
+
reconcile/saas_auto_promotions_manager/utils/vcs.py,sha256=VJYAaf7mBpPpyKqL-qCXmWscPYSVrZHEdhQy31Wp3qI,5197
|
269
269
|
reconcile/skupper_network/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
270
270
|
reconcile/skupper_network/integration.py,sha256=jF5uPhePnWq4axnxxarEQ_tw71WBxYoTZZUoi9JrZ6M,9831
|
271
271
|
reconcile/skupper_network/models.py,sha256=5mTONziFFDx3NJamKzdCrVHXPNfQ6dYIlwxoSBeRihQ,11403
|
@@ -559,8 +559,8 @@ tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y
|
|
559
559
|
tools/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
560
560
|
tools/test/test_qontract_cli.py,sha256=awwTHEc2DWlykuqGIYM0WOBoSL0KRnOraCLk3C7izis,1401
|
561
561
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
562
|
-
qontract_reconcile-0.9.
|
563
|
-
qontract_reconcile-0.9.
|
564
|
-
qontract_reconcile-0.9.
|
565
|
-
qontract_reconcile-0.9.
|
566
|
-
qontract_reconcile-0.9.
|
562
|
+
qontract_reconcile-0.9.1rc262.dist-info/METADATA,sha256=TwYlnepXjJ_QMeB8OInsu4_DdWiiAqiMRoVfmItkO_w,2287
|
563
|
+
qontract_reconcile-0.9.1rc262.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
564
|
+
qontract_reconcile-0.9.1rc262.dist-info/entry_points.txt,sha256=aIVvB7OTCxYu0QkONzBPfFEyg68Pr8KUVKEEm4ChDVc,333
|
565
|
+
qontract_reconcile-0.9.1rc262.dist-info/top_level.txt,sha256=j0CHPIc8TsVRB50wOz_jhxjjaRyCJB3NOQeXhuHS67c,34
|
566
|
+
qontract_reconcile-0.9.1rc262.dist-info/RECORD,,
|
@@ -29,7 +29,6 @@ from reconcile.utils.secret_reader import create_secret_reader
|
|
29
29
|
from reconcile.utils.semver_helper import make_semver
|
30
30
|
from reconcile.utils.slack_api import SlackApi
|
31
31
|
from reconcile.utils.state import init_state
|
32
|
-
from reconcile.utils.unleash import get_feature_toggle_state
|
33
32
|
|
34
33
|
QONTRACT_INTEGRATION = "openshift-saas-deploy"
|
35
34
|
QONTRACT_INTEGRATION_VERSION = make_semver(0, 1, 0)
|
@@ -233,26 +232,13 @@ def run(
|
|
233
232
|
success = not ri.has_error_registered()
|
234
233
|
# only publish promotions for deployment jobs (a single saas file)
|
235
234
|
if notify:
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
)
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
# saas-auto-promotions-manager needs that information
|
244
|
-
with mr_client_gateway.init(gitlab_project_id=gitlab_project_id) as mr_cli:
|
245
|
-
saasherder.publish_promotions(
|
246
|
-
success, all_saas_files, mr_cli, auto_promote=False
|
247
|
-
)
|
248
|
-
else:
|
249
|
-
# Auto-promote next stages only if there are changes in the
|
250
|
-
# promoting stage. This prevents trigger promotions on job re-runs
|
251
|
-
auto_promote = len(actions) > 0
|
252
|
-
with mr_client_gateway.init(gitlab_project_id=gitlab_project_id) as mr_cli:
|
253
|
-
saasherder.publish_promotions(
|
254
|
-
success, all_saas_files, mr_cli, auto_promote
|
255
|
-
)
|
235
|
+
# Auto-promotions are now created by saas-auto-promotions-manager integration
|
236
|
+
# However, we still need saas-herder to publish the state to S3, because
|
237
|
+
# saas-auto-promotions-manager needs that information
|
238
|
+
with mr_client_gateway.init(gitlab_project_id=gitlab_project_id) as mr_cli:
|
239
|
+
saasherder.publish_promotions(
|
240
|
+
success, all_saas_files, mr_cli, auto_promote=False
|
241
|
+
)
|
256
242
|
|
257
243
|
if not success:
|
258
244
|
sys.exit(ExitCodes.ERROR)
|
@@ -132,8 +132,7 @@ class VCS:
|
|
132
132
|
mr.submit_to_gitlab(gitlab_cli=self._app_interface_api)
|
133
133
|
|
134
134
|
def cleanup(self) -> None:
|
135
|
-
for
|
136
|
-
|
137
|
-
pass
|
135
|
+
for gh_client in self._gh_per_repo_url.values():
|
136
|
+
gh_client.cleanup()
|
138
137
|
self._gitlab_instance.cleanup()
|
139
138
|
self._app_interface_api.cleanup()
|
File without changes
|
{qontract_reconcile-0.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/entry_points.txt
RENAMED
File without changes
|
{qontract_reconcile-0.9.1rc260.dist-info → qontract_reconcile-0.9.1rc262.dist-info}/top_level.txt
RENAMED
File without changes
|