mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 02:17:37 -02:30
isolated ramparts: replace systemd unit with a tower-expect binary
instead of launching isolated tasks via `systemctl`, treat `awx.main.isolated.run` as an executable that knows how to daemonize additionally, add `setup.py isolated_build` for isolated Tower source distribution
This commit is contained in:
@@ -371,7 +371,7 @@ class TestIsolatedExecution(TestJobExecution):
|
||||
os.makedirs(artifacts)
|
||||
if 'run_isolated.yml' in args[0]:
|
||||
for filename, data in (
|
||||
['systemctl_logs', 'ERROR IN EXPECT.PY'],
|
||||
['daemon.log', 'ERROR IN RUN.PY'],
|
||||
):
|
||||
with open(os.path.join(artifacts, filename), 'w') as f:
|
||||
f.write(data)
|
||||
|
||||
Reference in New Issue
Block a user