Merge pull request #2904 from cisagov/new-dev-sandbox-el

#2762: New dev sandbox el [no sandbox needed]
This commit is contained in:
Alysia Broddrick 2024-10-04 16:24:30 -07:00 committed by GitHub
commit 482b456417
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 0 deletions

View file

@ -14,6 +14,7 @@ on:
options: options:
- ab - ab
- backup - backup
- el
- cb - cb
- dk - dk
- es - es

View file

@ -30,6 +30,7 @@ jobs:
|| startsWith(github.head_ref, 'ag/') || startsWith(github.head_ref, 'ag/')
|| startsWith(github.head_ref, 'ms/') || startsWith(github.head_ref, 'ms/')
|| startsWith(github.head_ref, 'ad/') || startsWith(github.head_ref, 'ad/')
|| startsWith(github.head_ref, 'el/')
outputs: outputs:
environment: ${{ steps.var.outputs.environment}} environment: ${{ steps.var.outputs.environment}}
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"

View file

@ -16,6 +16,7 @@ on:
- stable - stable
- staging - staging
- development - development
- el
- ad - ad
- ms - ms
- ag - ag

View file

@ -16,6 +16,7 @@ on:
options: options:
- staging - staging
- development - development
- el
- ad - ad
- ms - ms
- ag - ag

View file

@ -0,0 +1,32 @@
---
applications:
- name: getgov-el
buildpacks:
- python_buildpack
path: ../../src
instances: 1
memory: 512M
stack: cflinuxfs4
timeout: 180
command: ./run.sh
health-check-type: http
health-check-http-endpoint: /health
health-check-invocation-timeout: 40
env:
# Send stdout and stderr straight to the terminal without buffering
PYTHONUNBUFFERED: yup
# Tell Django where to find its configuration
DJANGO_SETTINGS_MODULE: registrar.config.settings
# Tell Django where it is being hosted
DJANGO_BASE_URL: https://getgov-el.app.cloud.gov
# Tell Django how much stuff to log
DJANGO_LOG_LEVEL: INFO
# default public site location
GETGOV_PUBLIC_SITE_URL: https://get.gov
# Flag to disable/enable features in prod environments
IS_PRODUCTION: False
routes:
- route: getgov-el.app.cloud.gov
services:
- getgov-credentials
- getgov-el-database

View file

@ -723,6 +723,7 @@ ALLOWED_HOSTS = [
"getgov-stable.app.cloud.gov", "getgov-stable.app.cloud.gov",
"getgov-staging.app.cloud.gov", "getgov-staging.app.cloud.gov",
"getgov-development.app.cloud.gov", "getgov-development.app.cloud.gov",
"getgov-el.app.cloud.gov",
"getgov-ad.app.cloud.gov", "getgov-ad.app.cloud.gov",
"getgov-ms.app.cloud.gov", "getgov-ms.app.cloud.gov",
"getgov-ag.app.cloud.gov", "getgov-ag.app.cloud.gov",