leonardowf / baroneza

baroneza is a release train to automate boring tasks
10 stars 0 forks source link

Health check on external dependencies #127

Open leonardowf opened 1 year ago

leonardowf commented 1 year ago

It would be nice if baroneza had an endpoint to check if the provided token and config are valid.

As tokens expire or get expired, it is kind of annoying to discover that something stopped working the moment what you have to use it.

Also, after updating the tokens to the correct ones, there is no easy way to tell if they indeed work for a repository or jira organization for example.

So, with this, baroneza should tell through an /health?repo="readable-repo"&jira-org="readable-org" if the dependencies are up and running.