From 7df45d6cce09e12ec3db35a390290cb1b2609c2a Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Mon, 23 Mar 2020 14:38:01 +0000 Subject: [PATCH] bump deployment timeout 5 minutes isn't long enough to deploy ten instances of the admin app - it turns out it takes marginally longer than 5 minutes to roll each instance one after the next. this can lead to confusion as the build fails, functional tests don't run, but the code may have deployed fine and be running on production. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0fccc7932..3e5415b44 100644 --- a/Makefile +++ b/Makefile @@ -183,7 +183,7 @@ cf-deploy: ## Deploys the app to Cloud Foundry cf v3-cancel-zdt-push ${CF_APP} || true cf v3-apply-manifest ${CF_APP} -f <(make -s generate-manifest) - cf v3-zdt-push ${CF_APP} --wait-for-deploy-complete # fails after 5 mins if deploy doesn't work + CF_STARTUP_TIMEOUT=10 cf v3-zdt-push ${CF_APP} --wait-for-deploy-complete # fails after 5 mins if deploy doesn't work .PHONY: cf-deploy-prototype cf-deploy-prototype: cf-target ## Deploys the first prototype to Cloud Foundry