Skip to content

Instantly share code, notes, and snippets.

@mtsmfm
Last active May 17, 2019 11:15
Show Gist options
  • Save mtsmfm/120c2da22861a372d10284072da5b4a8 to your computer and use it in GitHub Desktop.
Save mtsmfm/120c2da22861a372d10284072da5b4a8 to your computer and use it in GitHub Desktop.
CircleCI hangs
version: 2.1
workflows:
version: 2
test:
jobs:
- test
jobs:
test:
docker:
- image: ubuntu
- image: postgres
steps:
- run: apt-get update && apt-get install postgresql-client git -y
- run: |
until echo < /dev/tcp/localhost/5432; do
sleep 1
done
- run: psql -h localhost -U postgres -c 'SELECT 1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment