Mesa (main): ci/bare-metal: Collapse artifacts wget by default.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 22 21:22:53 UTC 2022


Module: Mesa
Branch: main
Commit: 062e822e1b9d4329ab320a8771050230c7ca57dc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=062e822e1b9d4329ab320a8771050230c7ca57dc

Author: Emma Anholt <emma at anholt.net>
Date:   Mon Jun 20 12:03:40 2022 -0700

ci/bare-metal: Collapse artifacts wget by default.

In trying to figure out why an rpi3 job took so long, I wished that the
wget verbosity was hidden by default, and that it told me how long it took
like other sections do.

Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17146>

---

 .gitlab-ci/test/gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml
index 1ee9d40d9f0..6e2b5d5212b 100644
--- a/.gitlab-ci/test/gitlab-ci.yml
+++ b/.gitlab-ci/test/gitlab-ci.yml
@@ -126,7 +126,9 @@
     # instead of fd.o.  Set FDO_HTTP_CACHE_URI to an http cache for your test lab to
     # improve it even more (see https://docs.mesa3d.org/ci/bare-metal.html for
     # setup).
+    - echo -e "\e[0Ksection_start:$(date +%s):artifacts_download[collapsed=true]\r\e[0KDownloading artifacts from minio"
     - wget ${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${MINIO_ARTIFACT_NAME}.tar.gz -S --progress=dot:giga -O- | tar -xz
+    - echo -e "\e[0Ksection_end:$(date +%s):artifacts_download\r\e[0K"
   artifacts:
     when: always
     name: "mesa_${CI_JOB_NAME}"



More information about the mesa-commit mailing list