Skip to content

astarte-platform/wait-for-astarte-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wait-for-astarte-docker-compose

This is a handy utility to wait for an Astarte test cluster launched using the docker-compose file present in the main repo.

Usage

Download the binary for your platform from the latest release and run it with

./wait-for-astarte-docker-compose

The program will return 0 when all services API start succesfully or 1 if it there is a timeout. The default timeout is 300 seconds, a different timeout can be specified with the -t flag.

The program expects all Astarte services to be exposed on the default host specified in the docker-compose file.