Module: Mesa Branch: master Commit: 8413de5db0afacf6713a413e3a6dee5c923cc617 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8413de5db0afacf6713a413e3a6dee5c923cc617
Author: Christian Gmeiner <[email protected]> Date: Tue Mar 9 21:15:31 2021 +0100 ci/bare-metal: fix fastboot Only copy results from NFS if BM_FASTBOOT_NFSROOT is set. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9482> --- .gitlab-ci/bare-metal/fastboot.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/bare-metal/fastboot.sh b/.gitlab-ci/bare-metal/fastboot.sh index eea2fd55bd5..717a83b343a 100755 --- a/.gitlab-ci/bare-metal/fastboot.sh +++ b/.gitlab-ci/bare-metal/fastboot.sh @@ -155,8 +155,10 @@ $BM/fastboot_run.py \ ret=$? set -e -# Bring artifacts back from the NFS dir to the build dir where gitlab-runner -# will look for them. -cp -Rp /nfs/results/. results/ +if [ -n "$BM_FASTBOOT_NFSROOT" ]; then + # Bring artifacts back from the NFS dir to the build dir where gitlab-runner + # will look for them. + cp -Rp /nfs/results/. results/ +fi exit $ret _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
