mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-12 01:48:54 -04:00
Merge remote-tracking branch 'origin/prototype-deploy'
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||
|
||||
17
manifest-prototype-base.yml
Normal file
17
manifest-prototype-base.yml
Normal 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
|
||||
6
manifest-prototype-preview.yml
Normal file
6
manifest-prototype-preview.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
inherit: manifest-prototype-base.yml
|
||||
|
||||
routes:
|
||||
- route: notify-admin-prototype-preview.cloudapps.digital
|
||||
6
manifest-prototype-production.yml
Normal file
6
manifest-prototype-production.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
inherit: manifest-prototype-base.yml
|
||||
|
||||
routes:
|
||||
- route: notify-admin-prototype-production.cloudapps.digital
|
||||
6
manifest-prototype-staging.yml
Normal file
6
manifest-prototype-staging.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
inherit: manifest-prototype-base.yml
|
||||
|
||||
routes:
|
||||
- route: notify-admin-prototype-staging.cloudapps.digital
|
||||
Reference in New Issue
Block a user