Add new developer sandbox 'jon' infrastructure

This commit is contained in:
LoganMMcDonald 2023-02-06 10:42:40 -08:00
parent e6e69b237f
commit d06af6f6d8
No known key found for this signature in database
GPG key ID: 0077268945B901F4
5 changed files with 31 additions and 0 deletions

View file

@ -23,6 +23,7 @@ jobs:
deploy: deploy:
if: | if: |
${{startsWith(github.head_ref, 'ik/') ${{startsWith(github.head_ref, 'ik/')
|| startsWith(github.head_ref, 'jon')
|| startsWith(github.head_ref, 'sspj/') || startsWith(github.head_ref, 'sspj/')
|| startsWith(github.head_ref, 'mr/') || startsWith(github.head_ref, 'mr/')
|| startsWith(github.head_ref, 'nmb/') || startsWith(github.head_ref, 'nmb/')

View file

@ -14,6 +14,7 @@ on:
description: Which environment should we run migrations for? description: Which environment should we run migrations for?
options: options:
- stable - stable
- jon
- lmm - lmm
- ik - ik
- sspj - sspj

View file

@ -15,6 +15,7 @@ on:
description: Which environment should we flush and re-load data for? description: Which environment should we flush and re-load data for?
options: options:
- stable - stable
- jon
- lmm - lmm
- ik - ik
- sspj - sspj

View file

@ -0,0 +1,27 @@
---
applications:
- name: getgov-jon
buildpacks:
- python_buildpack
path: ../../src
instances: 1
memory: 512M
stack: cflinuxfs3
timeout: 180
command: ./run.sh
health-check-type: http
health-check-http-endpoint: /health
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-jon.app.cloud.gov
# Tell Django how much stuff to log
DJANGO_LOG_LEVEL: INFO
routes:
- route: getgov-jon.app.cloud.gov
services:
- getgov-credentials
- getgov-jon-database

View file

@ -512,6 +512,7 @@ SECURE_SSL_REDIRECT = True
# web server configurations. # web server configurations.
ALLOWED_HOSTS = [ ALLOWED_HOSTS = [
"getgov-stable.app.cloud.gov", "getgov-stable.app.cloud.gov",
"getgov-jon.app.cloud.gov",
"getgov-mr.app.cloud.gov", "getgov-mr.app.cloud.gov",
"getgov-sspj.app.cloud.gov", "getgov-sspj.app.cloud.gov",
"getgov-nmb.app.cloud.gov", "getgov-nmb.app.cloud.gov",