mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
Add dev sandboxes bl ab (#569)
* add bl sandbox * add ab sandbox * add action conditional
This commit is contained in:
parent
ac5eeeb62b
commit
43c899bf70
6 changed files with 62 additions and 0 deletions
2
.github/workflows/deploy-sandbox.yaml
vendored
2
.github/workflows/deploy-sandbox.yaml
vendored
|
@ -12,6 +12,8 @@ on:
|
|||
- 'sspj/**'
|
||||
- 'mr/**'
|
||||
- 'nmb/**'
|
||||
- 'ab/**'
|
||||
- 'bl/**'
|
||||
|
||||
jobs:
|
||||
variables:
|
||||
|
|
2
.github/workflows/migrate.yaml
vendored
2
.github/workflows/migrate.yaml
vendored
|
@ -14,6 +14,8 @@ on:
|
|||
description: Which environment should we run migrations for?
|
||||
options:
|
||||
- stable
|
||||
- ab
|
||||
- bl
|
||||
- rjm
|
||||
- jon
|
||||
- ik
|
||||
|
|
2
.github/workflows/reset-db.yaml
vendored
2
.github/workflows/reset-db.yaml
vendored
|
@ -15,6 +15,8 @@ on:
|
|||
description: Which environment should we flush and re-load data for?
|
||||
options:
|
||||
- stable
|
||||
- ab
|
||||
- bl
|
||||
- rjm
|
||||
- jon
|
||||
- ik
|
||||
|
|
27
ops/manifests/manifest-ab.yaml
Normal file
27
ops/manifests/manifest-ab.yaml
Normal 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
|
27
ops/manifests/manifest-bl.yaml
Normal file
27
ops/manifests/manifest-bl.yaml
Normal 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
|
|
@ -549,6 +549,8 @@ SECURE_SSL_REDIRECT = True
|
|||
# web server configurations.
|
||||
ALLOWED_HOSTS = [
|
||||
"getgov-stable.app.cloud.gov",
|
||||
"getgov-ab.app.cloud.gov",
|
||||
"getgov-bl.app.cloud.gov",
|
||||
"getgov-rjm.app.cloud.gov",
|
||||
"getgov-jon.app.cloud.gov",
|
||||
"getgov-mr.app.cloud.gov",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue