ci/bare-metal: Move devcoredump capture to CI common
authorDaniel Stone <daniels@collabora.com>
Fri, 11 Jun 2021 15:18:15 +0000 (16:18 +0100)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 15 Jun 2021 12:02:44 +0000 (14:02 +0200)
Reusing this for LAVA sounds like a good idea!

Signed-off-by: Daniel Stone <daniels@collabora.com>
Acked-by: Martin Peres <martin.peres@mupuf.org>
Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11337>

.gitlab-ci/bare-metal/rootfs-setup.sh
.gitlab-ci/common/capture-devcoredump.sh [moved from .gitlab-ci/bare-metal/capture-devcoredump.sh with 100% similarity]

index 796b997..0b01745 100644 (file)
@@ -8,7 +8,7 @@ mkdir -p $rootfs_dst/results
 cp $BM/bm-init.sh $rootfs_dst/init
 cp $CI_COMMON/init*.sh $rootfs_dst/
 
-cp $BM/capture-devcoredump.sh $rootfs_dst/
+cp $CI_COMMON/capture-devcoredump.sh $rootfs_dst/
 
 set +x
 # Pass through relevant env vars from the gitlab job to the baremetal init script