summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-09-04 10:22:19 +0000
committerRémy Coutable <remy@rymai.me>2019-09-04 10:22:19 +0000
commit5c140beadf0d7629fc4bb9b574fcc153090155f3 (patch)
tree8c27b940a5e2a95e47b0492323d19a361037555d
parentfd561023c4186226526f4d3ccf87b8a1924a5773 (diff)
parentcaceb797a61b8663c68b7ba8464055856a17c50a (diff)
downloadgitlab-ce-5c140beadf0d7629fc4bb9b574fcc153090155f3.tar.gz
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
-rwxr-xr-xscripts/review_apps/review-apps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh
index fc5b57451de..3acbf6a4c51 100755
--- a/scripts/review_apps/review-apps.sh
+++ b/scripts/review_apps/review-apps.sh
@@ -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}"