Merge branch 'robust-download-chart' into 'master'

Make download_chart function robust for its own Review App

See merge request gitlab-org/gitlab-ce!32595
This commit is contained in:
Rémy Coutable 2019-09-04 10:22:19 +00:00
commit 5c140beadf
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ function create_application_secret() {
function download_chart() {
echoinfo "Downloading the GitLab chart..." true
curl -o gitlab.tar.bz2 "https://gitlab.com/gitlab-org/charts/gitlab/-/archive/${GITLAB_HELM_CHART_REF}/gitlab-${GITLAB_HELM_CHART_REF}.tar.bz2"
curl --location -o gitlab.tar.bz2 "https://gitlab.com/gitlab-org/charts/gitlab/-/archive/${GITLAB_HELM_CHART_REF}/gitlab-${GITLAB_HELM_CHART_REF}.tar.bz2"
tar -xjf gitlab.tar.bz2
cd "gitlab-${GITLAB_HELM_CHART_REF}"