Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nousefreak/wait-for-it
Wait for a service to become available
https://github.com/nousefreak/wait-for-it
automation cli golang integration-testing mysql plugin redis
Last synced: 2 months ago
JSON representation
Wait for a service to become available
- Host: GitHub
- URL: https://github.com/nousefreak/wait-for-it
- Owner: NoUseFreak
- License: mit
- Created: 2018-05-23T19:07:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-17T20:14:46.000Z (over 2 years ago)
- Last Synced: 2023-04-04T11:56:24.647Z (almost 2 years ago)
- Topics: automation, cli, golang, integration-testing, mysql, plugin, redis
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# wait-for-it
[![Build Status](https://travis-ci.org/NoUseFreak/wait-for-it.svg?branch=master)](https://travis-ci.org/NoUseFreak/wait-for-it)
`wait-for-it` is a cli tool to check if a service is available. It was built to run between starting docker services
and running integration tests.The tool is plugin based, only the plugins for your specific cases are installed.
# Install
```bash
curl -sL http://bit.ly/get-wait-for-it | bash
```# Usage
Create your config file `wait-for-it.yml`.
```yaml
services:
mysql_check:
plugin: mysql
host: localhost
parameters:
port: 3306
username: root
password: root
```Now check if the mysql service is available.
```bash
wait-for-it
```# Help
```bash
wait-for-it --help
```