From 14548cbc52b4013fdc7b79d6b814c2f059cabe1d Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 16 Dec 2025 20:51:37 +0100 Subject: [PATCH] Replaced false make messy-build by make setup --- cli/deploy/container.py | 1 - cli/deploy/dedicated.py | 6 +++--- tests/unit/cli/deploy/test_dedicated.py | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/cli/deploy/container.py b/cli/deploy/container.py index d7b7f35d..0610bc2d 100644 --- a/cli/deploy/container.py +++ b/cli/deploy/container.py @@ -1,4 +1,3 @@ -# cli/deploy/container.py import argparse import os import subprocess diff --git a/cli/deploy/dedicated.py b/cli/deploy/dedicated.py index 3e78b526..4414e9aa 100644 --- a/cli/deploy/dedicated.py +++ b/cli/deploy/dedicated.py @@ -1,4 +1,4 @@ - #!/usr/bin/env python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @@ -63,8 +63,8 @@ def run_ansible_playbook( # 2) Build Phase # --------------------------------------------------------- if not skip_build: - print("\n🛠️ Running project build (make messy-build)...\n") - subprocess.run(["make", "messy-build"], check=True) + print("\n🛠️ Running project build (make setup)...\n") + subprocess.run(["make", "setup"], check=True) else: print("\n🛠️ Build skipped (--skip-build)\n") diff --git a/tests/unit/cli/deploy/test_dedicated.py b/tests/unit/cli/deploy/test_dedicated.py index 02cfc174..bc7c0f1f 100644 --- a/tests/unit/cli/deploy/test_dedicated.py +++ b/tests/unit/cli/deploy/test_dedicated.py @@ -230,8 +230,8 @@ class TestRunAnsiblePlaybook(unittest.TestCase): "Expected 'make clean' when MODE_CLEANUP is true", ) self.assertTrue( - any(call == ["make", "messy-build"] for call in calls), - "Expected 'make messy-build' when skip_build=False", + any(call == ["make", "setup"] for call in calls), + "Expected 'make setup' when skip_build=False", ) self.assertTrue( any(call == ["make", "test-messy"] for call in calls), @@ -329,7 +329,7 @@ class TestRunAnsiblePlaybook(unittest.TestCase): ) # No cleanup, no build, no tests, no inventory validation self.assertFalse(any(call == ["make", "clean"] for call in calls)) - self.assertFalse(any(call == ["make", "messy-build"] for call in calls)) + self.assertFalse(any(call == ["make", "setup"] for call in calls)) self.assertFalse(any(call == ["make", "test-messy"] for call in calls)) self.assertFalse( any(