Only upload logs when jobs fail
We're having some major disk issues. Help the situation by only uploading failure logs. Change-Id: I4156fb59570d98b16c775752639c2fe23e5777c5
This commit is contained in:
parent
6283695966
commit
c999f9325f
@ -2,6 +2,11 @@
|
|||||||
include_role:
|
include_role:
|
||||||
name: set-zuul-log-path-fact
|
name: set-zuul-log-path-fact
|
||||||
|
|
||||||
|
# NOTE(mordred) Temporary hack to only upload logs on failures to work around
|
||||||
|
# unfortunately timed disk outage.
|
||||||
|
- when: not zuul_success|bool
|
||||||
|
block:
|
||||||
|
|
||||||
- name: Create log directories
|
- name: Create log directories
|
||||||
file:
|
file:
|
||||||
path: "{{zuul_logserver_root}}/{{ zuul_log_path }}"
|
path: "{{zuul_logserver_root}}/{{ zuul_log_path }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user