Merge remote-tracking branch 'origin/prototype-deploy'

This commit is contained in:
Chris Hill-Scott
2017-05-16 11:21:30 +01:00
5 changed files with 41 additions and 0 deletions

View File

@@ -219,6 +219,12 @@ cf-deploy: ## Deploys the app to Cloud Foundry
cf stop notify-admin-rollback
cf delete -f notify-admin-rollback
.PHONY: cf-deploy-prototype
cf-deploy-prototype: ## Deploys the app to Cloud Foundry
$(if ${CF_SPACE},,$(error Must specify CF_SPACE))
cf target -s ${CF_SPACE}
cf push -f manifest-prototype-${CF_SPACE}.yml
.PHONY: cf-rollback
cf-rollback: ## Rollbacks the app to the previous release
@cf app --guid notify-admin-rollback || exit 1

View File

@@ -0,0 +1,17 @@
---
buildpack: python_buildpack
command: scripts/run_app_paas.sh gunicorn -w 5 -b 0.0.0.0:$PORT wsgi
services:
- notify-aws
- notify-config
- notify-template-preview
- hosted-graphite
- deskpro
instances: 1
memory: 1G
env:
NOTIFY_APP_NAME: admin
applications:
- name: notify-admin-prototype

View File

@@ -0,0 +1,6 @@
---
inherit: manifest-prototype-base.yml
routes:
- route: notify-admin-prototype-preview.cloudapps.digital

View File

@@ -0,0 +1,6 @@
---
inherit: manifest-prototype-base.yml
routes:
- route: notify-admin-prototype-production.cloudapps.digital

View File

@@ -0,0 +1,6 @@
---
inherit: manifest-prototype-base.yml
routes:
- route: notify-admin-prototype-staging.cloudapps.digital