Merge pull request #2441 from cisagov/new-sandbox-ms

New sandbox ms
This commit is contained in:
Rachid Mrad 2024-07-11 12:42:34 -04:00 committed by GitHub
commit 12fa7acc5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 36 additions and 0 deletions

View file

@ -28,6 +28,7 @@ jobs:
|| startsWith(github.head_ref, 'hotgov/') || startsWith(github.head_ref, 'hotgov/')
|| startsWith(github.head_ref, 'litterbox/') || startsWith(github.head_ref, 'litterbox/')
|| startsWith(github.head_ref, 'ag/') || startsWith(github.head_ref, 'ag/')
|| startsWith(github.head_ref, 'ms/')
outputs: outputs:
environment: ${{ steps.var.outputs.environment}} environment: ${{ steps.var.outputs.environment}}
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"

View file

@ -16,6 +16,7 @@ on:
- stable - stable
- staging - staging
- development - development
- ms
- ag - ag
- litterbox - litterbox
- hotgov - hotgov

View file

@ -16,6 +16,7 @@ on:
options: options:
- staging - staging
- development - development
- ms
- ag - ag
- litterbox - litterbox
- hotgov - hotgov

View file

@ -0,0 +1,32 @@
---
applications:
- name: getgov-ms
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
health-check-invocation-timeout: 40
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-ms.app.cloud.gov
# Tell Django how much stuff to log
DJANGO_LOG_LEVEL: INFO
# default public site location
GETGOV_PUBLIC_SITE_URL: https://get.gov
# Flag to disable/enable features in prod environments
IS_PRODUCTION: False
routes:
- route: getgov-ms.app.cloud.gov
services:
- getgov-credentials
- getgov-ms-database

View file

@ -660,6 +660,7 @@ ALLOWED_HOSTS = [
"getgov-stable.app.cloud.gov", "getgov-stable.app.cloud.gov",
"getgov-staging.app.cloud.gov", "getgov-staging.app.cloud.gov",
"getgov-development.app.cloud.gov", "getgov-development.app.cloud.gov",
"getgov-ms.app.cloud.gov",
"getgov-ag.app.cloud.gov", "getgov-ag.app.cloud.gov",
"getgov-litterbox.app.cloud.gov", "getgov-litterbox.app.cloud.gov",
"getgov-hotgov.app.cloud.gov", "getgov-hotgov.app.cloud.gov",