summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2020-07-31 08:24:13 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2020-08-04 08:18:55 +0200
commit76330374413ee8ab857aa35f249652867be8981e (patch)
tree2c4029d6061bde5976a267a7a2ae643abe65aec9 /.gitlab-ci
parentd4ca45eca2a573a8ac033e09d1b21e1966b70f46 (diff)
ci: Download traces from MinIO in baremetal runs
Now that we have MinIO, we can distribute traces better than by direct downloads from git. With a caching MinIO instance local to the DUT, total run times should be noticeably impacted. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6136>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/container/baremetal_build.sh14
-rw-r--r--.gitlab-ci/traces-baremetal.yml5
2 files changed, 2 insertions, 17 deletions
diff --git a/.gitlab-ci/container/baremetal_build.sh b/.gitlab-ci/container/baremetal_build.sh
index edfd4f980f0..fedb7b61c31 100644
--- a/.gitlab-ci/container/baremetal_build.sh
+++ b/.gitlab-ci/container/baremetal_build.sh
@@ -53,20 +53,6 @@ KERNEL_URL=https://gitlab.freedesktop.org/drm/msm/-/archive/drm-msm-fixes-2020-0
DEBIAN_ARCH=$arch INCLUDE_VK_CTS=1 . .gitlab-ci/container/lava_build.sh
-############### Store traces
-# Clone the traces-db at container build time so we don't have to pull traces
-# per run (too much egress cost for fd.o).
-git clone \
- --depth 1 \
- -b mesa-ci-2020-06-08 \
- https://gitlab.freedesktop.org/gfx-ci/tracie/traces-db.git \
- $ROOTFS/traces-db
-rm -rf $ROOTFS/traces-db/.git
-find $ROOTFS/traces-db -type f \
- -a -not -name '*.trace' \
- -a -not -name '*.rdc' \
- -delete
-
ccache --show-stats
. .gitlab-ci/container/container_post_build.sh
diff --git a/.gitlab-ci/traces-baremetal.yml b/.gitlab-ci/traces-baremetal.yml
index 5558a4b5d83..72905a374b4 100644
--- a/.gitlab-ci/traces-baremetal.yml
+++ b/.gitlab-ci/traces-baremetal.yml
@@ -1,6 +1,5 @@
-# bare-metal has traces-db baked into the container until we can sort
-# out LFS caching, so we use a separate yml without the git repo
-# declaration at the top.
+traces-db:
+ download-url: "https://minio-packet.freedesktop.org/mesa-tracie-public/"
traces:
# This trace takes an egregious amount of time in replay (5 minutes)