Commit 5c140bea authored by Rémy Coutable's avatar Rémy Coutable

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
parents fd561023 caceb797
...@@ -164,7 +164,7 @@ function create_application_secret() { ...@@ -164,7 +164,7 @@ function create_application_secret() {
function download_chart() { function download_chart() {
echoinfo "Downloading the GitLab chart..." true 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 tar -xjf gitlab.tar.bz2
cd "gitlab-${GITLAB_HELM_CHART_REF}" cd "gitlab-${GITLAB_HELM_CHART_REF}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment