DEVX-149: fix: unique molecule container names per CI runner
Post-merge / detect-and-configure (push) Successful in 30s
Post-merge / release-and-maintain (push) Successful in 2m22s

Co-authored-by: kireto <kireto@oblachno.com>
This commit was merged in pull request #242.
This commit is contained in:
2026-08-05 19:01:54 +00:00
committed by emo
parent ed0a282a52
commit ed3bd75367
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ def _install_ansible_collections(bin_dir: str) -> None:
if not requirements.exists():
click.echo(" ansible/requirements.yml not found — skipping collections.")
return
_run([galaxy, "collection", "install", "-r", str(requirements)])
_run([galaxy, "collection", "install", "-r", str(requirements), "--no-cache"])
def _configure_tea_login() -> None:
+2
View File
@@ -108,6 +108,8 @@ class TestInstallAnsibleCollections:
mock_path.return_value.__str__ = lambda _: str(req)
_install_ansible_collections(".venv/bin")
mock_run.assert_called_once()
args = mock_run.call_args[0][0]
assert "--no-cache" in args, "ansible-galaxy must use --no-cache to avoid concurrent cache corruption"
@patch("devx.tools.setup._run")
def test_skips_when_no_requirements(self, mock_run: MagicMock) -> None: