chore: clean Gemfile management in voca dir
We have two layers of containers for deployed decidim:
-
rpc
: the node that interfaces with our strapi backend -
cp
: the node that runs the decidim
To be able to scale horizontally, we need to have the same Gemfile.lock
and Gemfile
configuration in all the nodes of all these layers.
Before, we had to manually copy Gemfile.lock
from rpc
to cp
layer because mapping of file is not supported to jelastic.
This PR:
- Move
Gemfile
tovoca/Gemfile
- Move
Gemfile.lock
tovoca/Gemfile.lock
- Set bundle
gemfile
option to$ROOT/voca/gemfile
- Set bundle
path
option to absolute path$ROOT/vendor
This way: bundle install
picks Gemfile from voca/Gemfile, installs in $ROOT/vendor
and refer lockfile in voca/Gemfile.lock
.