From: Michel Dänzer Date: Thu, 4 Apr 2019 09:25:28 +0000 (+0200) Subject: gitlab-ci: Use HTTPS for APT repositories X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=caf83e96e47ee8418678753472a2995f870b89a9;p=mesa.git gitlab-ci: Use HTTPS for APT repositories Reviewed-by: Eric Engestrom --- 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 \