The Readme provides a suggestion on how to use rake with Gitlab.
This suggestion directly translates to the following script:


#!/bin/sh
# rake-gitlab

runuser -u gitlab -- sh -c "cd /usr/share/gitlab && .
/etc/gitlab/gitlab-debian.conf && export DB RAILS_ENV && rake
RAILS_ENV=production $*"


# rake-gitlab gitlab:check

-- 
Casper Gielen

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to