Install test only dependencies from rubygems.org for autopkgtest

This commit is contained in:
Pirate Praveen 2018-12-18 16:16:06 +05:30
parent 6cfc40f263
commit 31b8c37178

3
debian/tests/spec vendored
View file

@ -22,6 +22,9 @@ su gitlab -c 'truncate -s 0 Gemfile.lock'
export RAILS_ENV=test export RAILS_ENV=test
export DB=postgres export DB=postgres
export INCLUDE_TEST_DEPENDS="true" export INCLUDE_TEST_DEPENDS="true"
echo "Installing test only dependencies from rubygems.org..."
cp ${SOURCE_TREE}/debian/Gemfile.autopkgtest .
BUNDLE_GEMFILE=Gemfile.autopkgtest bundle install
su gitlab -c "bundle install --local" su gitlab -c "bundle install --local"
su gitlab -c "mkdir -p tmp/tests/gitlab-shell" su gitlab -c "mkdir -p tmp/tests/gitlab-shell"
export dbname=gitlab_test export dbname=gitlab_test