[mod] make things more interesting

This commit is contained in:
Laurent Peuch 2018-07-15 08:40:58 +02:00
parent 9ed87d5cfd
commit 757de9e27a

2
run.py
View file

@ -129,7 +129,7 @@ async def run_job(worker, job):
# fake stupid command, whould run CI instead
print(f"Starting job {job.name}...")
command = await asyncio.create_subprocess_shell("/usr/bin/tail /var/log/auth.log",
command = await asyncio.create_subprocess_shell("/usr/bin/tail -n 100 /var/log/auth.log",
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE)