mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 15:09:48 -04:00
Create manifest-prototype-2-base.yml
This commit is contained in:
5
Makefile
5
Makefile
@@ -194,6 +194,11 @@ cf-deploy-prototype: cf-target ## Deploys the app to Cloud Foundry
|
|||||||
$(if ${CF_SPACE},,$(error Must specify CF_SPACE))
|
$(if ${CF_SPACE},,$(error Must specify CF_SPACE))
|
||||||
cf push -f <(make -s CF_MANIFEST_FILE=manifest-prototype-${CF_SPACE}.yml generate-manifest)
|
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
|
.PHONY: cf-rollback
|
||||||
cf-rollback: ## Rollbacks the app to the previous release
|
cf-rollback: ## Rollbacks the app to the previous release
|
||||||
@cf app --guid notify-admin-rollback || exit 1
|
@cf app --guid notify-admin-rollback || exit 1
|
||||||
|
|||||||
31
manifest-prototype-2-base.yml
Normal file
31
manifest-prototype-2-base.yml
Normal 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
|
||||||
6
manifest-prototype-2-preview.yml
Normal file
6
manifest-prototype-2-preview.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
inherit: manifest-prototype-2-base.yml
|
||||||
|
|
||||||
|
routes:
|
||||||
|
- route: notify-admin-prototype-2-preview.cloudapps.digital
|
||||||
6
manifest-prototype-2-production.yml
Normal file
6
manifest-prototype-2-production.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
inherit: manifest-prototype-2-base.yml
|
||||||
|
|
||||||
|
routes:
|
||||||
|
- route: notify-admin-prototype-2-production.cloudapps.digital
|
||||||
Reference in New Issue
Block a user