Add dev sandboxes bl ab (#569)

* add bl sandbox

* add ab sandbox

* add action conditional
This commit is contained in:
Logan McDonald 2023-05-02 09:25:12 -07:00 committed by GitHub
parent ac5eeeb62b
commit 43c899bf70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 62 additions and 0 deletions

View file

@ -12,6 +12,8 @@ on:
- 'sspj/**' - 'sspj/**'
- 'mr/**' - 'mr/**'
- 'nmb/**' - 'nmb/**'
- 'ab/**'
- 'bl/**'
jobs: jobs:
variables: variables:

View file

@ -14,6 +14,8 @@ on:
description: Which environment should we run migrations for? description: Which environment should we run migrations for?
options: options:
- stable - stable
- ab
- bl
- rjm - rjm
- jon - jon
- ik - ik

View file

@ -15,6 +15,8 @@ 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
- ab
- bl
- rjm - rjm
- jon - jon
- ik - ik

View file

@ -0,0 +1,27 @@
---
applications:
- name: getgov-ab
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-ab.app.cloud.gov
# Tell Django how much stuff to log
DJANGO_LOG_LEVEL: INFO
routes:
- route: getgov-ab.app.cloud.gov
services:
- getgov-credentials
- getgov-ab-database

View file

@ -0,0 +1,27 @@
---
applications:
- name: getgov-bl
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-bl.app.cloud.gov
# Tell Django how much stuff to log
DJANGO_LOG_LEVEL: INFO
routes:
- route: getgov-bl.app.cloud.gov
services:
- getgov-credentials
- getgov-bl-database

View file

@ -549,6 +549,8 @@ 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-ab.app.cloud.gov",
"getgov-bl.app.cloud.gov",
"getgov-rjm.app.cloud.gov", "getgov-rjm.app.cloud.gov",
"getgov-jon.app.cloud.gov", "getgov-jon.app.cloud.gov",
"getgov-mr.app.cloud.gov", "getgov-mr.app.cloud.gov",