This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- run: | |
name: Waiting for Postgres to be ready | |
command: | | |
for i in `seq 1 10`; | |
do | |
psql -h localhost -U $PG_USER $PG_DB -c "\t" && echo DB Up && exit 0 | |
echo -n . | |
sleep 1 | |
done | |
echo Failed waiting for Postgres && exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM circleci/golang:1.8.1 | |
COPY *.list /etc/apt/sources.list.d/ | |
RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 | |
RUN sudo apt update | |
RUN sudo apt install -y \ | |
ansible \ | |
postgresql-client \ | |
python3-pip \ | |
ffmpeg \ |
NewerOlder