Skip to content

Commit

Permalink
Add new developer sandbox 'gd' infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
abroddrick committed Jun 12, 2023
1 parent 78a9c50 commit 95932b8
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
description: Which environment should we run migrations for?
options:
- stable
- gd
- ko
- ab
- bl
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reset-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
description: Which environment should we flush and re-load data for?
options:
- stable
- gd
- ko
- ab
- bl
Expand Down
29 changes: 29 additions & 0 deletions ops/manifests/manifest-gd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
applications:
- name: getgov-gd
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-gd.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-gd.app.cloud.gov
services:
- getgov-credentials
- getgov-gd-database
1 change: 1 addition & 0 deletions src/registrar/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@
# web server configurations.
ALLOWED_HOSTS = [
"getgov-stable.app.cloud.gov",
"getgov-gd.app.cloud.gov",
"getgov-ko.app.cloud.gov",
"getgov-ab.app.cloud.gov",
"getgov-bl.app.cloud.gov",
Expand Down

0 comments on commit 95932b8

Please sign in to comment.