I’m using mainly two languages in my dev stack: ruby and golang. I’m setting up database with ruby and I’m using this database (postgresql) on both ruby and golang.
With setting up circleCi for ruby repo I have no problems - I can easily spin up database with
rake db:create and
rake db:migrate and run tests there.
I have no idea how to properly setup circleCi so that ruby would setup database for tests for me and then I could use golang to work with that db.
The only solution I’m seeing right now is to use custom image but maybe there is a way to setup db with ruby and then use that db with golang image? Let me know