rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

and-cli health-check command #194

Closed dylanjustice closed 3 years ago

dylanjustice commented 3 years ago

We need a command for CI Pipelines to gracefully determine whether a web app has warmed up and is ready for use. Propose hitting an endpoint on an interval and checking the status to match a 200 or an overridden argument value.

$ and-cli health-check --endpoint https://andculture.com --timeout 30000 --interval 5000 --code 200