ci: Don't artifact rendered images when job succeeds
authorRohan Garg <rohan.garg@collabora.com>
Tue, 15 Jun 2021 09:55:10 +0000 (11:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 5 Jul 2021 11:39:08 +0000 (11:39 +0000)
Signed-off-by: Rohan Garg <rohan.garg@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11088>

.gitlab-ci/common/init-stage2.sh

index 903edbf..df52b30 100755 (executable)
@@ -61,6 +61,7 @@ fi
 RESULT=fail
 if sh $HWCI_TEST_SCRIPT; then
   RESULT=pass
+  rm -rf results/trace/$PIGLIT_REPLAY_DEVICE_NAME
 fi
 
 # upload artifacts