diff --git a/.github/workflows/deploy-sandbox.yaml b/.github/workflows/deploy-sandbox.yaml index d9d7cbe14..1c486bdf7 100644 --- a/.github/workflows/deploy-sandbox.yaml +++ b/.github/workflows/deploy-sandbox.yaml @@ -24,6 +24,7 @@ jobs: || startsWith(github.head_ref, 'backup/') || startsWith(github.head_ref, 'meoward/') || startsWith(github.head_ref, 'bob/') + || startsWith(github.head_ref, 'cb/') outputs: environment: ${{ steps.var.outputs.environment}} runs-on: "ubuntu-latest" diff --git a/.github/workflows/migrate.yaml b/.github/workflows/migrate.yaml index 825ab04d7..f5815012c 100644 --- a/.github/workflows/migrate.yaml +++ b/.github/workflows/migrate.yaml @@ -16,6 +16,7 @@ on: - stable - staging - development + - cb - bob - meoward - backup diff --git a/.github/workflows/reset-db.yaml b/.github/workflows/reset-db.yaml index 05eb963c3..06638aa05 100644 --- a/.github/workflows/reset-db.yaml +++ b/.github/workflows/reset-db.yaml @@ -16,6 +16,7 @@ on: options: - staging - development + - cb - bob - meoward - backup diff --git a/ops/manifests/manifest-cb.yaml b/ops/manifests/manifest-cb.yaml new file mode 100644 index 000000000..b9be98d27 --- /dev/null +++ b/ops/manifests/manifest-cb.yaml @@ -0,0 +1,32 @@ +--- +applications: +- name: getgov-cb + 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-cb.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-cb.app.cloud.gov + services: + - getgov-credentials + - getgov-cb-database diff --git a/src/registrar/config/settings.py b/src/registrar/config/settings.py index ff56f24ea..86eb06933 100644 --- a/src/registrar/config/settings.py +++ b/src/registrar/config/settings.py @@ -656,6 +656,7 @@ ALLOWED_HOSTS = [ "getgov-stable.app.cloud.gov", "getgov-staging.app.cloud.gov", "getgov-development.app.cloud.gov", + "getgov-cb.app.cloud.gov", "getgov-bob.app.cloud.gov", "getgov-meoward.app.cloud.gov", "getgov-backup.app.cloud.gov",