Merge pull request #1493 from alphagov/error-on-app-crash

fix makefile syntax
This commit is contained in:
Leo Hemsted
2017-12-14 15:32:02 +00:00
committed by GitHub

View File

@@ -283,7 +283,7 @@ cf-deploy: ## Deploys the app to Cloud Foundry
sleep 10
# get the new GUID, and find all crash events for that. If there were any crashes we will abort the deploy.
[ $(cf curl "/v2/events?q=type:app.crash&q=actee:$$(cf app --guid notify-delivery-worker-receipts)" | jq ".total_results") -eq 0 ]
[ $$(cf curl "/v2/events?q=type:app.crash&q=actee:$$(cf app --guid ${CF_APP})" | jq ".total_results") -eq 0 ]
cf delete -f ${CF_APP}-rollback
.PHONY: cf-deploy-api-db-migration