Added dockerized database and deploy stage

2 jobs for 4-build-docker-artifact in 41 seconds (queued for 6 seconds)
Status Name Job ID Coverage
  Test
failed deploy #90225
dind

00:00:30

failed test #90224

00:00:41

 
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
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"?
The command '/bin/sh -c bash ./run-migrations.sh -u postgres -h postgres' returned a non-zero code: 1
Cleaning up file based variables
ERROR: Job failed: exit code 1