mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
Merge pull request #841 from cisagov/new-dev-sandbox-rh
Add new developer sandbox 'rh' infrastructure
This commit is contained in:
commit
a3661243ac
5 changed files with 33 additions and 0 deletions
1
.github/workflows/deploy-sandbox.yaml
vendored
1
.github/workflows/deploy-sandbox.yaml
vendored
|
@ -15,6 +15,7 @@ jobs:
|
|||
|| startsWith(github.head_ref, 'rb/')
|
||||
|| startsWith(github.head_ref, 'ko/')
|
||||
|| startsWith(github.head_ref, 'gd/')
|
||||
|| startsWith(github.head_ref, 'rh/')
|
||||
|| startsWith(github.head_ref, 'za/')
|
||||
outputs:
|
||||
environment: ${{ steps.var.outputs.environment}}
|
||||
|
|
1
.github/workflows/migrate.yaml
vendored
1
.github/workflows/migrate.yaml
vendored
|
@ -15,6 +15,7 @@ on:
|
|||
options:
|
||||
- stable
|
||||
- staging
|
||||
- rh
|
||||
- za
|
||||
- gd
|
||||
- rb
|
||||
|
|
1
.github/workflows/reset-db.yaml
vendored
1
.github/workflows/reset-db.yaml
vendored
|
@ -16,6 +16,7 @@ on:
|
|||
options:
|
||||
- stable
|
||||
- staging
|
||||
- rh
|
||||
- za
|
||||
- gd
|
||||
- rb
|
||||
|
|
29
ops/manifests/manifest-rh.yaml
Normal file
29
ops/manifests/manifest-rh.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
applications:
|
||||
- name: getgov-rh
|
||||
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
|
||||
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-rh.app.cloud.gov
|
||||
# Tell Django how much stuff to log
|
||||
DJANGO_LOG_LEVEL: INFO
|
||||
# default public site location
|
||||
GETGOV_PUBLIC_SITE_URL: https://beta.get.gov
|
||||
routes:
|
||||
- route: getgov-rh.app.cloud.gov
|
||||
services:
|
||||
- getgov-credentials
|
||||
- getgov-rh-database
|
|
@ -571,6 +571,7 @@ SECURE_SSL_REDIRECT = True
|
|||
ALLOWED_HOSTS = [
|
||||
"getgov-stable.app.cloud.gov",
|
||||
"getgov-staging.app.cloud.gov",
|
||||
"getgov-rh.app.cloud.gov",
|
||||
"getgov-za.app.cloud.gov",
|
||||
"getgov-gd.app.cloud.gov",
|
||||
"getgov-rb.app.cloud.gov",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue