From 92d384fbc2fb0634213878fa7f044299f85b7da5 Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Wed, 11 Jan 2023 20:02:40 -0500 Subject: [PATCH] remove extra check; tests are already run on github --- bubbles/commands/deploy.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/bubbles/commands/deploy.py b/bubbles/commands/deploy.py index fb31bc2..0d73117 100644 --- a/bubbles/commands/deploy.py +++ b/bubbles/commands/deploy.py @@ -63,18 +63,6 @@ def download_new_release(release_data: dict): StatusMessage.step_succeeded() return backup_archive, new_archive - def test_new_archive(new_archive): - StatusMessage.add_new_context_step("Validating new release...") - - result = subprocess.run( - shlex.split(f"sh -c '{PYTHON_VERSION} {str(new_archive)} selfcheck'"), - stdout=subprocess.DEVNULL, - ) - if result.returncode != 0: - raise DeployError("The selfcheck failed. Aborting deploy.") - - StatusMessage.step_succeeded() - def send_error_end(exception=None): message = "Hit an error I couldn't recover from. Check logs for more context." if exception: @@ -162,7 +150,6 @@ def migrate(): try: release_data = check_for_new_version() backup_archive, new_archive = download_new_release(release_data) - test_new_archive(new_archive) replace_running_service(new_archive) if service.lower() == "blossom": migrate()