CI: adapt miniobs to use the ruby OBS was built with (3.1)

This commit is contained in:
Stephan Kulow 2022-03-17 11:38:28 +01:00
parent 0bbf3b2bdf
commit 9e3c0f19e9

View File

@ -20,9 +20,9 @@ services:
<<: *obs
command: >
chroot --userspec=wwwrun / /bin/bash -c "cd /srv/www/obs/api &&
RAILS_ENV=production rake ts:rebuild &&
RAILS_ENV=production ./bin/rake ts:rebuild &&
RAILS_ENV=production ./script/delayed_job.api.rb --queues=staging,quick start &&
/usr/bin/bundle exec rails s -e production"
./bin/bundle exec rails s -e production"
depends_on:
- db
- cache