Try to troubleshoot the postgres service

8 jobs for upgrades in 28 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Build
failed #422681136
build-api

00:00:10

passed #422681138
build-elm

00:00:27

passed #422681131
build-setup-db

00:00:22

 
  Test
skipped #422681140
test-elm
 
  Stage
skipped #422681142
stage-build-api
skipped #422681147
stage-build-elm
skipped #422681144
stage-build-setup-db
 
  Retag
skipped #422681149
allowed to fail manual
retag-staged-build
 
Name Stage Failure
failed
build-api Build
 * [new ref]         refs/pipelines/114122669 -> refs/pipelines/114122669
* [new branch] upgrades -> origin/upgrades

Skipping Git submodules setup
$ export STAGE_TAG_SUFFIX=${STAGE_TAG_SUFFIX//\//-}
$ cd $PATH_TO_API
$ ping postgres
ping: bad address 'postgres'
ERROR: Job failed: command terminated with exit code 1