[DRE-commits] [gitlab] 03/03: export DB before bundle in autopkgtest

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Mar 17 17:45:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit 885dd87a97fddfaa14e37418e7983c44f9c9c3bd
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Mar 17 22:52:59 2017 +0530

    export DB before bundle in autopkgtest
---
 debian/tests/spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/tests/spec b/debian/tests/spec
index e869235..c53305e 100755
--- a/debian/tests/spec
+++ b/debian/tests/spec
@@ -19,11 +19,11 @@ cd /usr/share/gitlab
 su gitlab -c 'truncate -s 0 Gemfile.lock'
 
 . /etc/gitlab/gitlab-debian.conf
+export RAILS_ENV=test
+export DB=postgres
 export INCLUDE_TEST_DEPENDS="true"
 su gitlab -c "bundle install --local"
 su gitlab -c "mkdir -p tmp/tests/gitlab-shell"
-export RAILS_ENV=test
-export DB=postgres
 export dbname=gitlab_test
 su postgres -c "createdb $dbname"
 # enable the pg_trgm extension

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list