Skip to content

chore: clean Gemfile management in voca dir

Hadrien Froger requested to merge chore/voca-volume into main

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:

  1. Move Gemfile to voca/Gemfile
  2. Move Gemfile.lock to voca/Gemfile.lock
  3. Set bundle gemfile option to $ROOT/voca/gemfile
  4. 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.

Merge request reports

Loading