taskotron-dev: assume task formula is stored in runtask.yml
This commit is contained in:
parent
a22a24c225
commit
e8b58cd984
1 changed files with 5 additions and 0 deletions
|
@ -178,7 +178,12 @@ factory.addStep(ShellCommand(command=["runtask",
|
||||||
'-a', Interpolate('%(prop:arch)s'),
|
'-a', Interpolate('%(prop:arch)s'),
|
||||||
'-j', Interpolate('%(prop:buildername)s/%(prop:buildnumber)s'),
|
'-j', Interpolate('%(prop:buildername)s/%(prop:buildnumber)s'),
|
||||||
'--uuid', Interpolate('%(prop:uuid)s'),
|
'--uuid', Interpolate('%(prop:uuid)s'),
|
||||||
|
{% if deployment_type in ['stg', 'prod'] %}
|
||||||
Interpolate('%(prop:taskname)s.yml')],
|
Interpolate('%(prop:taskname)s.yml')],
|
||||||
|
{% elif deployment_type in ['dev'] %}
|
||||||
|
|
||||||
|
'runtask.yml'],
|
||||||
|
{% 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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue