Vendor Auto-DevOps.gitlab-ci from gitlab-ci-yml

Uses curl instead of wget on install_dependencies, as wget does not
support https through http proxy on alpine:latest
This commit is contained in:
Mayra Cabrera 2018-09-17 09:12:50 -05:00
parent 50cb63533f
commit 2f46c902ff
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
title: Make AutoDevOps work behind proxy
merge_request: 21775
author: Sergej - @kinolaev
type: other

View File

@ -635,8 +635,8 @@ rollout 100%:
function install_dependencies() {
apk add -U openssl curl tar gzip bash ca-certificates git
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk
curl -L -o /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
curl -L -O https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk
apk add glibc-2.28-r0.apk
rm glibc-2.28-r0.apk