Commit 681ee4cd authored by Kirill Smelkov's avatar Kirill Smelkov

Merge remote-tracking branch 'kirrlab/x/gitlab' into x/gitlab

* kirrlab/x/gitlab:
  .
parents d931435a 73f0845c
...@@ -7,8 +7,11 @@ partition_forinst() { ...@@ -7,8 +7,11 @@ partition_forinst() {
} }
xslapos node software -v --only-sr `pwd`/software.cfg --pidfile $HOME/var/run/slapgrid-sr.pid && \ xslapos node software -v --only-sr `pwd`/software.cfg --pidfile $HOME/var/run/slapgrid-sr.pid && \
/bin/echo -ne '\n\n' && \ true
xslapos node instance -v --only-cp `partition_forinst gitlab1` --pidfile $HOME/var/run/slapgrid-cp.pid
# /bin/echo -ne '\n\n' && \
# xslapos node instance -v --only-cp `partition_forinst gitlab1` --pidfile $HOME/var/run/slapgrid-cp.pid
#xslapos node software -v --only-sr `pwd`/../postgres/software.cfg --pidfile $HOME/var/run/slapgrid-sr.pid #xslapos node software -v --only-sr `pwd`/../postgres/software.cfg --pidfile $HOME/var/run/slapgrid-sr.pid
......
...@@ -34,7 +34,7 @@ parts = ...@@ -34,7 +34,7 @@ parts =
database.yml.in database.yml.in
# gems gems
instance.cfg instance.cfg
# instance-gitlab.cfg # instance-gitlab.cfg
...@@ -64,14 +64,21 @@ recipe = zc.recipe.egg:scripts ...@@ -64,14 +64,21 @@ recipe = zc.recipe.egg:scripts
eggs = ${ktest:egg} eggs = ${ktest:egg}
[gems] [rubygemsrecipe]
# rubygemsrecipe with fixed url and pinned rubygems version
recipe = rubygemsrecipe recipe = rubygemsrecipe
url = https://rubygems.org/rubygems/rubygems-2.4.8.zip
[gems]
<= rubygemsrecipe
ruby-executable = ${ruby2.1:location}/bin/ruby ruby-executable = ${ruby2.1:location}/bin/ruby
# XXX vvv does not work # XXX vvv does not work
# location= ${buildout:gems-directory} # location= ${buildout:gems-directory}
gems = fluentd fluent-plugin-wendelin #gems = fluentd fluent-plugin-wendelin
gems = fluentd
...@@ -81,14 +88,16 @@ gems = fluentd fluent-plugin-wendelin ...@@ -81,14 +88,16 @@ gems = fluentd fluent-plugin-wendelin
# #
# TODO say how this bundler/gitlab differ from usual slapos installation # TODO say how this bundler/gitlab differ from usual slapos installation
[bundler-4gitlab] [bundler-4gitlab]
recipe = rubygemsrecipe <= rubygemsrecipe
ruby-location = ${ruby2.1:location} ruby-location = ${ruby2.1:location}
ruby-executable = ${:ruby-location}/bin/ruby ruby-executable = ${:ruby-location}/bin/ruby
# TODO pin bundler version
gems = bundler gems = bundler
# bin installed here # bin installed here
bundle = ${buildout:bin-directory}/bundle bundle = ${buildout:bin-directory}/bundle
# install together with dependencies of gitlab, which we cannot specify using # install together with dependencies of gitlab, which we cannot specify using
# --with-... gem option # --with-... gem option
# ( reason: rubygemsrecipe hardcodes PATH inside generated bin/* and it is # ( reason: rubygemsrecipe hardcodes PATH inside generated bin/* and it is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment