[DRE-maint] Bug#814506: Example script

Casper Gielen casper-debian at gielen.name
Wed May 31 11:05:32 UTC 2017


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170531/0e0dcd64/attachment.sig>


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