mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 11:36:10 +08:00
taskotron-dev: gzip artifacts dir content
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user