gzip console log before uploading it
Maybe let's not be storing uncompressed log files, k? Change-Id: I3ca2299d59e2dbb976d742a5d4d1ddf6acc16ffb
This commit is contained in:
parent
db1699a6fc
commit
08524b447b
@ -19,4 +19,18 @@
|
||||
synchronize:
|
||||
src: "{{ zuul.executor.log_root }}/"
|
||||
dest: "{{zuul_logserver_root}}/{{ log_path }}/"
|
||||
rsync_opts:
|
||||
- "--exclude=job-output.txt"
|
||||
no_log: true
|
||||
|
||||
# After this point there are no more logs
|
||||
- name: gzip console log
|
||||
delegate_to: localhost
|
||||
archive:
|
||||
path: "{{ zuul.executor.log_root }}/job-output.txt"
|
||||
|
||||
- name: Upload console log
|
||||
synchronize:
|
||||
src: "{{ zuul.executor.log_root }}/job-output.txt.gz"
|
||||
dest: "{{zuul_logserver_root}}/{{ log_path }}/job-output.txt.gz"
|
||||
verify_host: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user