Merge pull request #712 from cisagov/new-dev-sandbox-rb

New dev sandbox  - Ryan
This commit is contained in:
Alysia Broddrick 2023-06-14 19:35:04 -07:00 committed by GitHub
commit 2bb7417ae4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 0 deletions

View file

@ -17,6 +17,7 @@ jobs:
|| startsWith(github.head_ref, 'ab/') || startsWith(github.head_ref, 'ab/')
|| startsWith(github.head_ref, 'bl/') || startsWith(github.head_ref, 'bl/')
|| startsWith(github.head_ref, 'rjm/') || startsWith(github.head_ref, 'rjm/')
|| startsWith(github.head_ref, 'rb/')
|| startsWith(github.head_ref, 'ko/') || startsWith(github.head_ref, 'ko/')
outputs: outputs:
environment: ${{ steps.var.outputs.environment}} environment: ${{ steps.var.outputs.environment}}

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
- rb
- ko - ko
- ab - ab
- bl - bl

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
- rb
- ko - ko
- ab - ab
- bl - bl

View file

@ -0,0 +1,29 @@
---
applications:
- name: getgov-rb
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-rb.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-rb.app.cloud.gov
services:
- getgov-credentials
- getgov-rb-database

View file

@ -564,6 +564,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-rb.app.cloud.gov",
"getgov-ko.app.cloud.gov", "getgov-ko.app.cloud.gov",
"getgov-ab.app.cloud.gov", "getgov-ab.app.cloud.gov",
"getgov-bl.app.cloud.gov", "getgov-bl.app.cloud.gov",