dokku / docker-container-healthchecker

Runs healthchecks against local docker containers
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

Properly show healthcheck output on error #99

Closed josegonzalez closed 1 year ago

josegonzalez commented 1 year ago

Closes #95

dokku-bot commented 1 year ago

sh-checker report

To get the full details, please check in the job output.

shellcheck errors ``` shellcheck checking is disabled. ```
shfmt errors ``` 'shfmt -l -d -i 2' returned error 1 finding the following formatting issues: ---------- test.bats --- test.bats.orig +++ test.bats @@ -203,8 +203,6 @@ @test "[check] command check-error" { echo '{"healthchecks":{"web":[{"attempts":1,"command":["python","-c","import sys; print(\"This is an error\"); sys.exit(1)"],"name":"command check","type":"startup","wait":0}]}}' >app.json - - run "$BIN_NAME" check dch-test-1 echo "output: $output" echo "status: $status" ---------- You can reformat the above files to meet shfmt's requirements by typing: shfmt -l -d -i 2 -w filename ```