taskotron-dev: gzip artifacts dir content
This commit is contained in:
parent
5fde38c3d2
commit
2103a719e3
1 changed files with 4 additions and 0 deletions
|
@ -196,6 +196,10 @@ factory.addStep(MasterShellCommand(command=["mkdir", '-m', '0755', Interpolate('
|
|||
factory.addStep(DirectoryUpload(slavesrc=Interpolate('/var/lib/taskotron/artifacts/%(prop:uuid)s/'),
|
||||
masterdest=Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/task_output')))
|
||||
|
||||
{% if deployment_type in ['dev'] %}
|
||||
factory.addStep(MasterShellCommand(command=["gzip", Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/task_output/*')],
|
||||
descriptionDone=['gzip artifacs dir content']))
|
||||
{% endif %}
|
||||
|
||||
{% if deployment_type in ['local'] %}
|
||||
# copy taskotron log to master
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue