Sign inSign up

albinodrought/drone-wait-for-it

By albinodrought

•Updated over 7 years ago

This is a Bash Drone plugin that wraps wait-for-it.sh

Image
0

5.6K

albinodrought/drone-wait-for-it repository overview

⁠drone-plugin-wait-for-it

drone-wait-for-it on Docker Hub Docker Pulls

This is a Bash Drone⁠ plugin that wraps wait-for-it.sh⁠.

⁠Docker

Build the docker image by running:

docker build --rm=true -t albinodrought/drone-wait-for-it .

⁠Usage

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

⁠Drone usage

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

Tag summary

Content type

Image

Digest

Size

3.8 MB

Last updated

over 7 years ago

docker pull albinodrought/drone-wait-for-it