Skip to content

Commit

Permalink
Make sure that artifact directory exists before writing seal file.
Browse files Browse the repository at this point in the history
  • Loading branch information
lueschem committed Jun 28, 2024
1 parent bd29ba4 commit ff92c46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edi/commands/projectcommands/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from edi.commands.project import Project
from edi.commands.projectcommands.prepare import Prepare
from edi.lib.playbookrunner import PlaybookRunner
from edi.lib.helpers import print_success, get_artifact_dir
from edi.lib.helpers import print_success, get_artifact_dir, create_artifact_dir
from edi.lib.shellhelpers import run
from edi.lib.buildahhelpers import create_container, delete_container, is_container_existing
from edi.lib.configurationparser import command_context
Expand Down Expand Up @@ -97,6 +97,7 @@ def _run(self):

playbook_runner = PlaybookRunner(self.config, container_name, self.ansible_connection)
playbook_runner.run_all()
create_artifact_dir()
run(["touch", seal_file])

print_success(f"Configured project container '{container_name}'.")
Expand Down

0 comments on commit ff92c46

Please sign in to comment.