Added dockerized database and deploy stage

2 jobs for 4-build-docker-artifact in 51 seconds (queued for 9 seconds)
Status Name Job ID Coverage
  Test
failed deploy #90223
dind

00:00:35

failed test #90222

00:00:51

 
Name Stage Failure
failed
test Test
Running run-migrations.sh with database user postgres on postgres table obm_buildings 
psql: error: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
createdb: error: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
deploy Test
 ---> 71009988097d
Step 2/3 : COPY . .
---> 08994abc40c1
Step 3/3 : RUN run-migrations.sh -u postgres -h postgres
---> Running in 23cf77add545
/bin/sh: 1: run-migrations.sh: not found
The command '/bin/sh -c run-migrations.sh -u postgres -h postgres' returned a non-zero code: 127
Cleaning up file based variables
ERROR: Job failed: exit code 127