Create manifest-prototype-2-base.yml

This commit is contained in:
Chris Hill-Scott
2018-02-07 17:28:04 +00:00
parent 73163b9366
commit c0828a891b
4 changed files with 48 additions and 0 deletions

View File

@@ -194,6 +194,11 @@ cf-deploy-prototype: cf-target ## Deploys the app to Cloud Foundry
$(if ${CF_SPACE},,$(error Must specify CF_SPACE))
cf push -f <(make -s CF_MANIFEST_FILE=manifest-prototype-${CF_SPACE}.yml generate-manifest)
.PHONY: cf-deploy-prototype-2
cf-deploy-prototype-2: cf-target ## Deploys the app to Cloud Foundry
$(if ${CF_SPACE},,$(error Must specify CF_SPACE))
cf push -f <(make -s CF_MANIFEST_FILE=manifest-prototype-2-${CF_SPACE}.yml generate-manifest)
.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,31 @@
---
buildpack: python_buildpack
command: scripts/run_app_paas.sh gunicorn -w 5 -b 0.0.0.0:$PORT application
instances: 1
memory: 1G
env:
NOTIFY_APP_NAME: admin
# Credentials variables
ADMIN_CLIENT_SECRET: null
ADMIN_BASE_URL: null
API_HOST_NAME: null
DANGEROUS_SALT: null
SECRET_KEY: null
ROUTE_SECRET_KEY_1: null
ROUTE_SECRET_KEY_2: null
AWS_ACCESS_KEY_ID: null
AWS_SECRET_ACCESS_KEY: null
STATSD_PREFIX: null
DESKPRO_API_HOST: null
DESKPRO_API_KEY: null
TEMPLATE_PREVIEW_API_HOST: null
TEMPLATE_PREVIEW_API_KEY: null
applications:
- name: notify-admin-prototype-2

View File

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

View File

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