Merge "Suppress log copy output in gates"

This commit is contained in:
Zuul 2018-11-20 18:21:42 +00:00 committed by Gerrit Code Review
commit 399f452ec7
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: