Hello!
I am working on an iOS app that communicates with a Postgres database. So far, I have been creating databases through Docker executor, but this time I need macos to simulate an iPhone. Is there an easy way how to create such database? So far, I have come up with four options
- If CircleCI can use Docker whithin macos executor: Just create the DB in the executor (possibly manually with
run
command) - If CircleCI can communicate between different jobs: I can create a Docker job, which will include the DB. Then, I build the app in a different job and connect to it
- If macos executor can’t use docker: Download Postgres and create the DB manually whithin the job
- Nuclear option: Just give up and use nock to mock every database call. Not prefered.
Which one of these (if any) is doable? Or is there another option? Thanks!