mesa/.gitlab-ci/lava
Daniel Stone df402eb83e ci/lava: Avoid tee as it ruins exit status
I was today years old when I learned this about classic composable UNIX
tools:
    ~/mesa/mesa lava-submitter-overlay * % bash
    [daniels@strictly mesa]$ set -e
    [daniels@strictly mesa]$ false | tee
    [daniels@strictly mesa]$ echo $?
    0

Use tail rather than tee, so it doesn't hide our exit status.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11309>
2021-06-11 12:13:00 +00:00
..
lava-gitlab-ci.yml ci/lava: Use per-job rootfs overlay for environment 2021-06-11 12:13:00 +00:00
lava-submit.sh ci/lava: Avoid tee as it ruins exit status 2021-06-11 12:13:00 +00:00
lava.yml.jinja2 ci/lava: Generate job name from lava-submit.sh 2021-06-11 12:13:00 +00:00
lava_job_submitter.py ci/lava: Disable stdout/stderr buffering 2021-06-11 12:13:00 +00:00