Mesa (main): ci: use bash with download-git-cache.sh

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 21 12:55:25 UTC 2021


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

Author: Andres Gomez <agomez at igalia.com>
Date:   Sat Mar 27 00:56:46 2021 +0200

ci: use bash with download-git-cache.sh

It's a bash script, so make sure we use bash and not just sh.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
Signed-off-by: Andres Gomez <agomez at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9865>

---

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 20d028be71a..eaddba71dd3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ variables:
   MESA_TEMPLATES_COMMIT: &ci-templates-commit 290b79e0e78eab67a83766f4e9691be554fc4afd
   CI_PRE_CLONE_SCRIPT: |-
           set -o xtrace
-          /usr/bin/wget -q -O- ${CI_PROJECT_URL}/-/raw/${CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh | sh -
+          /usr/bin/wget -q -O- ${CI_PROJECT_URL}/-/raw/${CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh | bash -
           set +o xtrace
   MINIO_HOST: minio-packet.freedesktop.org
   # per-pipeline artifact storage on MinIO



More information about the mesa-commit mailing list