ci: Download traces from MinIO in baremetal runs
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 31 Jul 2020 06:24:13 +0000 (08:24 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 4 Aug 2020 06:18:55 +0000 (08:18 +0200)
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>

.gitlab-ci.yml
.gitlab-ci/container/baremetal_build.sh
.gitlab-ci/traces-baremetal.yml

index db4ee59c92659ee6d12096fbd69a6127d72cb8ac..d9f44f08357af9e5b1c18fe79bfffef9da1bf669 100644 (file)
@@ -355,7 +355,7 @@ arm64_test:
   extends:
     - .use-arm_test-base
   variables:
   extends:
     - .use-arm_test-base
   variables:
-    FDO_DISTRIBUTION_TAG: &arm64_test "2020-07-31-ntp"
+    FDO_DISTRIBUTION_TAG: &arm64_test "2020-07-31-minio"
 
 .use-arm64_test:
   variables:
 
 .use-arm64_test:
   variables:
index edfd4f980f06b060761b15d37a3fae2f7d0292dc..fedb7b61c314fc9c78c1b2c99a466217a399d24d 100644 (file)
@@ -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
 
 
 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
 ccache --show-stats
 
 . .gitlab-ci/container/container_post_build.sh
index 5558a4b5d832e2360e1972499701bc388b991fcb..72905a374b4b601ceabe1280ff6c8d465c61a39f 100644 (file)
@@ -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)
 
 traces:
 # This trace takes an egregious amount of time in replay (5 minutes)