This is a Bash Drone plugin that wraps wait-for-it.sh
5.6K
This is a Bash Drone plugin that wraps wait-for-it.sh.
Build the docker image by running:
docker build --rm=true -t albinodrought/drone-wait-for-it .
To perform a check, execute the following:
docker run --rm \
-e PLUGIN_HOST=foo \
-e PLUGIN_PORT=1337 \
-e PLUGIN_TIMEOUT=120 \
albinodrought/drone-wait-for-it
services:
db:
image: albinodrought/ephemeral-mysql-alpine
tmpfs:
- /var/lib/mysql
environment:
- MYSQL_ROOT_PWD=foo
- MYSQL_USER_DB=bar
pipeline:
wait-for-db:
image: albinodrought/drone-wait-for-it
host: db
port: 3306
interact-with-db:
image: your-regular-db-step-here
Content type
Image
Digest
Size
3.8 MB
Last updated
over 7 years ago
docker pull albinodrought/drone-wait-for-it