This commit is contained in:
		@@ -79,6 +79,12 @@ pipeline:
 | 
				
			|||||||
      - echo "$${HEADER}"
 | 
					      - echo "$${HEADER}"
 | 
				
			||||||
      - curl -H "$${HEADER}" -i "https://$${WATCHTOWER_HOST}/v1/update"
 | 
					      - 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:
 | 
					  notify-matrix-success:
 | 
				
			||||||
    image: code.balsillie.net/containers/woodpecker-util
 | 
					    image: code.balsillie.net/containers/woodpecker-util
 | 
				
			||||||
    pull: false
 | 
					    pull: false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user