Replaced false make messy-build by make setup

This commit is contained in:
2025-12-16 20:51:37 +01:00
parent 57154bc6e7
commit 14548cbc52
3 changed files with 6 additions and 7 deletions

View File

@@ -1,4 +1,3 @@
# cli/deploy/container.py
import argparse import argparse
import os import os
import subprocess import subprocess

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
@@ -63,8 +63,8 @@ def run_ansible_playbook(
# 2) Build Phase # 2) Build Phase
# --------------------------------------------------------- # ---------------------------------------------------------
if not skip_build: if not skip_build:
print("\n🛠️ Running project build (make messy-build)...\n") print("\n🛠️ Running project build (make setup)...\n")
subprocess.run(["make", "messy-build"], check=True) subprocess.run(["make", "setup"], check=True)
else: else:
print("\n🛠️ Build skipped (--skip-build)\n") print("\n🛠️ Build skipped (--skip-build)\n")

View File

@@ -230,8 +230,8 @@ class TestRunAnsiblePlaybook(unittest.TestCase):
"Expected 'make clean' when MODE_CLEANUP is true", "Expected 'make clean' when MODE_CLEANUP is true",
) )
self.assertTrue( self.assertTrue(
any(call == ["make", "messy-build"] for call in calls), any(call == ["make", "setup"] for call in calls),
"Expected 'make messy-build' when skip_build=False", "Expected 'make setup' when skip_build=False",
) )
self.assertTrue( self.assertTrue(
any(call == ["make", "test-messy"] for call in calls), 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 # No cleanup, no build, no tests, no inventory validation
self.assertFalse(any(call == ["make", "clean"] for call in calls)) 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(call == ["make", "test-messy"] for call in calls))
self.assertFalse( self.assertFalse(
any( any(