aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/prepare-artifacts.sh
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2020-06-08 15:36:16 -0700
committerMarge Bot <[email protected]>2020-06-12 23:34:44 +0000
commit72fe7b98eaff90e1ca5e10691f983f5d891118be (patch)
tree5a18c88e0f57a2b7c17bbc61e7ed09b3423c37c9 /.gitlab-ci/prepare-artifacts.sh
parent109816b518327ec5ef4ee2b19234c9a6472c2c8b (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
Diffstat (limited to '.gitlab-ci/prepare-artifacts.sh')
-rwxr-xr-x.gitlab-ci/prepare-artifacts.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh
index 86abacfdfd9..caeb8727160 100755
--- a/.gitlab-ci/prepare-artifacts.sh
+++ b/.gitlab-ci/prepare-artifacts.sh
@@ -23,6 +23,7 @@ find install -name \*.so -exec $STRIP {} \;
# Test runs don't pull down the git tree, so put the dEQP helper
# script and associated bits there.
cp VERSION install/
+cp -Rp .gitlab-ci/bare-metal install/
cp -Rp .gitlab-ci/deqp* install/
cp -Rp .gitlab-ci/piglit install/
cp -Rp .gitlab-ci/traces.yml install/