diff --git a/.woodpecker.yml b/.woodpecker.yml index 36546e6..5b47f2d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -79,6 +79,12 @@ pipeline: - echo "$${HEADER}" - curl -H "$${HEADER}" -i "https://$${WATCHTOWER_HOST}/v1/update" + # need a status check here that the container has come back up healthy + # something like while [ $(docker ps -q --filter "name=matrix_svc_synapse" --filter "status=running" --filter "health=healthy" --filter "label=$TAG") -z ] + # loop until container comes up successfully, with a max timeout + # exit 1 and write /git/pipeline/reason if the timeout hits + # remove the sleep in notify-success below once complete + notify-matrix-success: image: code.balsillie.net/containers/woodpecker-util pull: false