diff --git a/backend/manifests/vars/vars-production.yml b/backend/manifests/vars/vars-production.yml index 733090b91f..0c97b4642c 100644 --- a/backend/manifests/vars/vars-production.yml +++ b/backend/manifests/vars/vars-production.yml @@ -4,4 +4,4 @@ cf_env_name: PRODUCTION env_name: prod service_name: production endpoint: app.fac.gov -instances: 8 +instances: 16 diff --git a/bin/ops/deploy.sh b/bin/ops/deploy.sh index c4ef507a7b..6c7a5c4463 100755 --- a/bin/ops/deploy.sh +++ b/bin/ops/deploy.sh @@ -18,6 +18,8 @@ before_sha=$(echo "${before_data}"|xargs|cut -d'}' -f1|cut -d':' -f3|xargs) echo "Before SHA: ${before_sha}" echo "cf comand on next line:" echo cf push -f backend/manifests/manifest-fac.yml --vars-file backend/manifests/vars/vars-"${cfspace}".yml --strategy rolling +# https://docs.cloudfoundry.org/devguide/deploy-apps/large-app-deploy.html#considerations +export CF_STARTUP_TIMEOUT=10 cf push -f backend/manifests/manifest-fac.yml --vars-file backend/manifests/vars/vars-"${cfspace}".yml --strategy rolling after_data=$(cf curl "/v3/apps/${appguid}/relationships/current_droplet") echo "After data: ${after_data}"