Mesa (master): gitlab-ci: Use HTTPS for APT repositories
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 16 09:29:51 UTC 2019
Module: Mesa
Branch: master
Commit: caf83e96e47ee8418678753472a2995f870b89a9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=caf83e96e47ee8418678753472a2995f870b89a9
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Apr 4 11:25:28 2019 +0200
gitlab-ci: Use HTTPS for APT repositories
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
---
.gitlab-ci/debian-install.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
index 229a58f40f3..4b7df61cb4b 100644
--- a/.gitlab-ci/debian-install.sh
+++ b/.gitlab-ci/debian-install.sh
@@ -6,15 +6,18 @@ set -o xtrace
export DEBIAN_FRONTEND=noninteractive
apt-get install -y \
+ apt-transport-https \
+ ca-certificates \
curl \
wget \
gnupg \
software-properties-common
curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
-add-apt-repository "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main"
+add-apt-repository "deb https://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main"
-echo 'deb http://deb.debian.org/debian stretch-backports main' >/etc/apt/sources.list.d/backports.list
+sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
+echo 'deb https://deb.debian.org/debian stretch-backports main' >/etc/apt/sources.list.d/backports.list
apt-get update
apt-get install -y -t stretch-backports \
More information about the mesa-commit
mailing list