diff --git a/.github/workflows/deploy-sandbox.yaml b/.github/workflows/deploy-sandbox.yaml index 7c2a0fe6a..08f03dbe9 100644 --- a/.github/workflows/deploy-sandbox.yaml +++ b/.github/workflows/deploy-sandbox.yaml @@ -17,6 +17,7 @@ jobs: || startsWith(github.head_ref, 'ab/') || startsWith(github.head_ref, 'bl/') || startsWith(github.head_ref, 'rjm/') + || startsWith(github.head_ref, 'ko/') outputs: environment: ${{ steps.var.outputs.environment}} runs-on: "ubuntu-latest" diff --git a/.github/workflows/migrate.yaml b/.github/workflows/migrate.yaml index 820c219fd..800bfb809 100644 --- a/.github/workflows/migrate.yaml +++ b/.github/workflows/migrate.yaml @@ -14,6 +14,7 @@ on: description: Which environment should we run migrations for? options: - stable + - ko - ab - bl - rjm diff --git a/.github/workflows/reset-db.yaml b/.github/workflows/reset-db.yaml index 5d863e6d6..57602659c 100644 --- a/.github/workflows/reset-db.yaml +++ b/.github/workflows/reset-db.yaml @@ -15,6 +15,7 @@ on: description: Which environment should we flush and re-load data for? options: - stable + - ko - ab - bl - rjm diff --git a/ops/manifests/manifest-ko.yaml b/ops/manifests/manifest-ko.yaml new file mode 100644 index 000000000..09e199ca0 --- /dev/null +++ b/ops/manifests/manifest-ko.yaml @@ -0,0 +1,29 @@ +--- +applications: +- name: getgov-ko + 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-ko.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-ko.app.cloud.gov + services: + - getgov-credentials + - getgov-ko-database diff --git a/src/registrar/config/settings.py b/src/registrar/config/settings.py index b8b32df41..0f032904f 100644 --- a/src/registrar/config/settings.py +++ b/src/registrar/config/settings.py @@ -564,6 +564,7 @@ SECURE_SSL_REDIRECT = True # web server configurations. ALLOWED_HOSTS = [ "getgov-stable.app.cloud.gov", + "getgov-ko.app.cloud.gov", "getgov-ab.app.cloud.gov", "getgov-bl.app.cloud.gov", "getgov-rjm.app.cloud.gov",