skip gitlab🐚install
This commit is contained in:
parent
590763e211
commit
7869d2a3f7
2 changed files with 3 additions and 4 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
gitlab (8.9.0+dfsg-5) UNRELEASED; urgency=medium
|
||||
|
||||
* Tighten dependencies.
|
||||
* Tighten dependencies
|
||||
* Don't run gitlab:shell:install in postinst (Closes: #831877)
|
||||
(installed config.yml works)
|
||||
|
||||
-- Pirate Praveen <praveen@debian.org> Thu, 14 Jul 2016 21:04:06 +0530
|
||||
|
||||
|
|
3
debian/rake-tasks.sh
vendored
3
debian/rake-tasks.sh
vendored
|
@ -25,9 +25,6 @@ if [ "$(LANG=C su postgres -c "psql gitlab_production -c \"\d\"")" = \
|
|||
echo "Initializing database..."
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake db:schema:load'
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake db:seed_fu'
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:shell:install \
|
||||
REDIS_URL=redis://localhost:6379 \
|
||||
SHELL_ROOT_PATH=/usr/share/gitlab-shell RAILS_ENV=production'
|
||||
else
|
||||
echo "gitlab_production database is not empty, skipping gitlab setup"
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake db:migrate'
|
||||
|
|
Loading…
Reference in a new issue