[DRE-commits] [gitlab] 01/01: start gitlab before gitlab check
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Jan 23 17:32:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit 31e23343a4fbd601a3c82ea6b2525400489ca929
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Jan 23 23:02:18 2016 +0530
start gitlab before gitlab check
---
debian/rake-tasks.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh
index a1d2df1..e17090b 100755
--- a/debian/rake-tasks.sh
+++ b/debian/rake-tasks.sh
@@ -9,6 +9,10 @@ REDIS_URL=redis://localhost:6379 \
SHELL_ROOT_PATH=/usr/share/gitlab-shell RAILS_ENV=production'
echo "Precompiling assets..."
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'
+
+# Start gitlab
+invoke-rc.d gitlab start
+
+# Check gitlab is configured correctly
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:check RAILS_ENV=production'
-su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz'
--
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