Skip to content

Instantly share code, notes, and snippets.

@dzaporozhets
Created December 20, 2013 12:03
Show Gist options
  • Save dzaporozhets/8053832 to your computer and use it in GitHub Desktop.
Save dzaporozhets/8053832 to your computer and use it in GitHub Desktop.
GitLab CE build scenario
ruby -v
gem install bundler
cp config/database.yml.mysql config/database.yml
cp config/gitlab.yml.example config/gitlab.yml
sed "s/username\:.*$/username\: USERNAME/" -i config/database.yml
sed "s/password\:.*$/password\: 'PASSWORD'/" -i config/database.yml
touch log/application.log
touch log/test.log
bundle --without postgres
bundle exec rake gitlab:test RAILS_ENV=test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment