Suppress log copy output in gates

Change-Id: I01e58d3548d6adc4a2d6f1088773df7941da3865
This commit is contained in:
Eduardo Gonzalez 2018-11-20 10:12:19 +01:00
parent 52319dabfb
commit a7dbc39240
2 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,7 @@ copy_logs() {
fi
for container in $(docker ps -a --format "{{.Names}}"); do
docker logs --tail all ${container} > ${LOG_DIR}/docker_logs/${container}.txt
docker logs --tail all ${container} &> ${LOG_DIR}/docker_logs/${container}.txt
done
# Rename files to .txt; this is so that when displayed via

View File

@ -34,6 +34,8 @@
src: "/tmp/logs"
dest: "{{ zuul.executor.log_root }}/{{inventory_hostname }}/"
mode: pull
rsync_opts:
- "--quiet"
- hosts: primary
tasks: