From 5e6d09edba4c782237544ac46edc320a27bcd98f Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Tue, 11 Apr 2017 01:56:30 +0800 Subject: Just set GITLAB_DATABASE in the script --- scripts/prepare_build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh index 48b046116e4..81fdf753c4e 100755 --- a/scripts/prepare_build.sh +++ b/scripts/prepare_build.sh @@ -2,12 +2,8 @@ . scripts/utils.sh -echo $CI_JOB_NAME -job_name=$(echo $CI_JOB_NAME | cut -f2 -d' ') -echo $job_name - export SETUP_DB=${SETUP_DB:-true} -export GITLAB_DATABASE=${GITLAB_DATABASE:-$job_name} +export GITLAB_DATABASE=$(echo $CI_JOB_NAME | cut -f2 -d' ') export USE_BUNDLE_INSTALL=${USE_BUNDLE_INSTALL:-true} if [ "$GITLAB_DATABASE" != 'mysql' ]; then -- cgit v1.2.1