CI: Fix get_logs.sh docker logs output

Currently the logs get printed in Zuul job stdout and only a small portion
of them is redirected to a file - this patch changes that to send all output
to desired files.

Change-Id: I45e937ec7c102e89edee20679b8959bf7f6c7152
This commit is contained in:
Michał Nasiadka 2021-09-09 11:30:38 +02:00
parent e8769373b6
commit 923813ac48
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ copy_logs() {
(docker info && docker images && docker ps -a) > ${LOG_DIR}/system_logs/docker-info.txt
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
# Bifrost: grab config files and logs from the container.