ci/bare-metal: Stop fetching the git tree.
authorEric Anholt <eric@anholt.net>
Mon, 8 Jun 2020 22:36:16 +0000 (15:36 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Jun 2020 23:34:44 +0000 (23:34 +0000)
commit72fe7b98eaff90e1ca5e10691f983f5d891118be
tree5a18c88e0f57a2b7c17bbc61e7ed09b3423c37c9
parent109816b518327ec5ef4ee2b19234c9a6472c2c8b
ci/bare-metal: Stop fetching the git tree.

Like for LAVA, make the tradeoff of moving the test scripts and data (55k)
into the artifacts in order to make the per-build jobs not have to pull
down the git tree (hundreds of MB when you don't hit a cached container
for your specific user, which I see happen multiple times a day in my CI
runs).

To do this, we have to be a bit more careful in some places about our
working directory potentially being dirty.

Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
.gitlab-ci.yml
.gitlab-ci/bare-metal/cros-servo.sh
.gitlab-ci/bare-metal/fastboot.sh
.gitlab-ci/bare-metal/google-power-down.sh
.gitlab-ci/bare-metal/google-power-up.sh
.gitlab-ci/bare-metal/init.sh [changed mode: 0644->0755]
.gitlab-ci/prepare-artifacts.sh