mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-09 22:53:27 -05:00
This changeset removes the E2E environment variables from the admin manifest file. While these might be needed on the API side to ensure that they are exposed and able to be used in the staging environment, we do not need them to be enabled for the admin app; they should only be present in the GitHub Actions that are run in a PR, and the .github/workflows/checks.yml file takes care of that and injects them directly into the container environment that the end-to-end tests run in. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
63 lines
2.0 KiB
YAML
63 lines
2.0 KiB
YAML
---
|
|
applications:
|
|
- name: notify-admin-((env))
|
|
buildpack: python_buildpack
|
|
stack: cflinuxfs4
|
|
instances: ((instances))
|
|
memory: ((memory))
|
|
command: newrelic-admin run-program gunicorn -c /home/vcap/app/gunicorn_config.py application
|
|
health-check-type: port
|
|
health-check-invocation-timeout: 10
|
|
routes:
|
|
- route: ((public_admin_route))
|
|
|
|
services:
|
|
- notify-admin-redis-((env))
|
|
- notify-api-csv-upload-bucket-((env))
|
|
- notify-admin-logo-upload-bucket-((env))
|
|
|
|
env:
|
|
NOTIFY_ENVIRONMENT: ((env))
|
|
NOTIFY_APP_NAME: admin
|
|
NOTIFY_LOG_LEVEL: INFO
|
|
FLASK_APP: application.py
|
|
FLASK_DEBUG: "false"
|
|
NEW_RELIC_CONFIG_FILE: newrelic.ini
|
|
NEW_RELIC_ENVIRONMENT: ((env))
|
|
|
|
NR_ACCOUNT_ID: 3389907
|
|
NR_TRUST_KEY: 562946
|
|
NR_AGENT_ID: ((nr_agent_id))
|
|
NR_APP_ID: ((nr_app_id))
|
|
NR_BROWSER_KEY: ((NR_BROWSER_KEY))
|
|
|
|
REDIS_ENABLED: ((redis_enabled))
|
|
ADMIN_BASE_URL: https://((public_admin_route))
|
|
API_HOST_NAME: https://notify-api-((env)).apps.internal:61443
|
|
|
|
# Credentials variables
|
|
|
|
ADMIN_CLIENT_SECRET: ((ADMIN_CLIENT_SECRET))
|
|
ADMIN_CLIENT_USERNAME: ((ADMIN_CLIENT_USERNAME))
|
|
DANGEROUS_SALT: ((DANGEROUS_SALT))
|
|
SECRET_KEY: ((SECRET_KEY))
|
|
NEW_RELIC_LICENSE_KEY: ((NEW_RELIC_LICENSE_KEY))
|
|
|
|
NOTIFY_BILLING_DETAILS: '[]'
|
|
|
|
REQUESTS_CA_BUNDLE: "/etc/ssl/certs/ca-certificates.crt"
|
|
NEW_RELIC_CA_BUNDLE_PATH: "/etc/ssl/certs/ca-certificates.crt"
|
|
|
|
COMMIT_HASH: ((COMMIT_HASH))
|
|
|
|
# login.gov variables
|
|
|
|
LOGIN_PEM: ((LOGIN_PEM))
|
|
LOGIN_DOT_GOV_CLIENT_ID: ((LOGIN_DOT_GOV_CLIENT_ID))
|
|
LOGIN_DOT_GOV_USER_INFO_URL: ((LOGIN_DOT_GOV_USER_INFO_URL))
|
|
LOGIN_DOT_GOV_ACCESS_TOKEN_URL: ((LOGIN_DOT_GOV_ACCESS_TOKEN_URL))
|
|
LOGIN_DOT_GOV_LOGOUT_URL: ((LOGIN_DOT_GOV_LOGOUT_URL))
|
|
LOGIN_DOT_GOV_BASE_LOGOUT_URL: ((LOGIN_DOT_GOV_BASE_LOGOUT_URL))
|
|
LOGIN_DOT_GOV_SIGNOUT_REDIRECT: ((LOGIN_DOT_GOV_SIGNOUT_REDIRECT))
|
|
LOGIN_DOT_GOV_INITIAL_SIGNIN_URL: ((LOGIN_DOT_GOV_INITIAL_SIGNIN_URL))
|