Another try
This commit is contained in:
parent
79a50cc73a
commit
20f4498dc8
1 changed files with 1 additions and 4 deletions
|
@ -181,14 +181,11 @@ factory.addStep(ShellCommand(command=["runtask",
|
||||||
{% if deployment_type in ['prod'] %}
|
{% if deployment_type in ['prod'] %}
|
||||||
Interpolate('%(prop:taskname)s.yml')],
|
Interpolate('%(prop:taskname)s.yml')],
|
||||||
{% else %}
|
{% else %}
|
||||||
'runtask.yml'],
|
'runtask.yml', '2>&1'],
|
||||||
{% endif %}
|
{% endif %}
|
||||||
descriptionDone=[Interpolate('%(prop:taskname)s on %(prop:item)s')],
|
descriptionDone=[Interpolate('%(prop:taskname)s on %(prop:item)s')],
|
||||||
name='runtask',
|
name='runtask',
|
||||||
timeout=2400,
|
timeout=2400,
|
||||||
{% if deployment_type in ['dev'] %}
|
|
||||||
usePTY=True,
|
|
||||||
{% endif %}
|
|
||||||
{% if deployment_type in ['dev', 'stg', 'prod'] %}
|
{% if deployment_type in ['dev', 'stg', 'prod'] %}
|
||||||
logfiles={
|
logfiles={
|
||||||
'taskotron-overlord.log': {'filename': Interpolate('/var/lib/taskotron/artifacts/%(prop:uuid)s/taskotron-overlord.log')},
|
'taskotron-overlord.log': {'filename': Interpolate('/var/lib/taskotron/artifacts/%(prop:uuid)s/taskotron-overlord.log')},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue