summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2019-09-04 00:04:00 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2019-09-04 02:31:11 +0900
commitcaceb797a61b8663c68b7ba8464055856a17c50a (patch)
tree9ab501613d5d096bf8c14d520d1ed64d26f89c48
parentb23e42b0105a23c4c127f6cdd7893663a3db0c82 (diff)
downloadgitlab-ce-caceb797a61b8663c68b7ba8464055856a17c50a.tar.gz
Make download_chart function robust for its own Review App
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
-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}"