From 3652cdf6bcfd4b45055a80435d97349e18aeb1f5 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Wed, 19 Aug 2020 18:14:13 +0100 Subject: [PATCH] CI apt-transport-https --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3137c361..c1c698d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,10 +34,11 @@ deploy build.lbry.io: dependencies: - build apk before_script: + - apt-get -y update && apt-get -y install apt-transport-https - echo "$PGP_PRIVATE_KEY" | gpg --batch --import - echo "deb https://dl.bintray.com/sobolevn/deb git-secret main" | tee -a /etc/apt/sources.list - wget -O - https://api.bintray.com/users/sobolevn/keys/gpg/public.key | apt-key add - - - apt-get -y update && apt-get -y install openjdk-8-jdk git-secret + - apt-get -y update && apt-get -y install openjdk-8-jdk git git-secret - pip install awscli - chmod u+x $CI_PROJECT_DIR/gradlew - git secret reveal @@ -57,10 +58,11 @@ release apk: dependencies: - build apk before_script: + - apt-get -y update && apt-get -y install apt-transport-https - echo "$PGP_PRIVATE_KEY" | gpg --batch --import - echo "deb https://dl.bintray.com/sobolevn/deb git-secret main" | tee -a /etc/apt/sources.list - wget -O - https://api.bintray.com/users/sobolevn/keys/gpg/public.key | apt-key add - - - apt-get -y update && apt-get -y install openjdk-8-jdk git-secret + - apt-get -y update && apt-get -y install openjdk-8-jdk git git-secret - pip install awscli githubrelease - git secret reveal - chmod u+x $CI_PROJECT_DIR/gradlew