From 273e5638349742ae351fa9c251ec40ff5c6f68e3 Mon Sep 17 00:00:00 2001 From: simonmitchell Date: Mon, 17 Jul 2023 12:32:22 +0100 Subject: [PATCH] =?UTF-8?q?HAAR-1618:=20=F0=9F=94=A7=20updated=20cert=20an?= =?UTF-8?q?d=20host=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 49 --------------------------------- helm_deploy/values-dev.yaml | 4 +-- helm_deploy/values-preprod.yaml | 2 +- helm_deploy/values-prod.yaml | 2 +- 4 files changed, 4 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 85ff3e61..b532c83b 100644 --- a/README.md +++ b/README.md @@ -2,53 +2,8 @@ [![repo standards badge](https://img.shields.io/badge/dynamic/json?color=blue&style=flat&logo=github&label=MoJ%20Compliant&query=%24.result&url=https%3A%2F%2Foperations-engineering-reports.cloud-platform.service.justice.gov.uk%2Fapi%2Fv1%2Fcompliant_public_repositories%2Fhmpps-authorization)](https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/public-github-repositories.html#hmpps-authorization "Link to report") [![CircleCI](https://circleci.com/gh/ministryofjustice/hmpps-authorization/tree/main.svg?style=svg)](https://circleci.com/gh/ministryofjustice/hmpps-authorization) -Template github repo used for new Typescript based projects. - # Instructions -If this is a HMPPS project then the project will be created as part of bootstrapping - -see https://github.com/ministryofjustice/dps-project-bootstrap. - -This bootstrap is community managed by the mojdt `#typescript` slack channel. -Please raise any questions or queries there. Contributions welcome! - -Our security policy is located [here](https://github.com/ministryofjustice/hmpps-authorization/security/policy). - -More information about the template project including features can be found [here](https://dsdmoj.atlassian.net/wiki/spaces/NDSS/pages/3488677932/Typescript+template+project). - -## Creating a CloudPlatform namespace - -When deploying to a new namespace, you may wish to use this template typescript project namespace as the basis for your new namespace: - - - -This template namespace includes an AWS elasticache setup - which is required by this template project. - -Copy this folder, update all the existing namespace references, and submit a PR to the CloudPlatform team. Further instructions from the CloudPlatform team can be found here: - -## Renaming from HMPPS Template Typescript - github Actions - -Once the new repository is deployed. Navigate to the repository in github, and select the `Actions` tab. -Click the link to `Enable Actions on this repository`. - -Find the Action workflow named: `rename-project-create-pr` and click `Run workflow`. This workflow will -execute the `rename-project.bash` and create Pull Request for you to review. Review the PR and merge. - -Note: ideally this workflow would run automatically however due to a recent change github Actions are not -enabled by default on newly created repos. There is no way to enable Actions other then to click the button in the UI. -If this situation changes we will update this project so that the workflow is triggered during the bootstrap project. -Further reading: - -## Manually branding from template app -Run the `rename-project.bash` and create a PR. - -The rename-project.bash script takes a single argument - the name of the project and calculates from it the project description -It then performs a search and replace and directory renames so the project is ready to be used. - -## Ensuring slack notifications are raised correctly - -To ensure notifications are routed to the correct slack channels, update the `alerts-slack-channel` and `releases-slack-channel` parameters in `.circle/config.yml` to an appropriate channel. - ## Running the app The easiest way to run the app is to use docker compose to create the service and all dependencies. @@ -101,10 +56,6 @@ Or run tests with the cypress UI: `npm run int-test-ui` -## Change log - -A changelog for the service is available [here](./CHANGELOG.md) - ## Dependency Checks diff --git a/helm_deploy/values-dev.yaml b/helm_deploy/values-dev.yaml index a8382b57..d15ea03e 100644 --- a/helm_deploy/values-dev.yaml +++ b/helm_deploy/values-dev.yaml @@ -5,10 +5,10 @@ generic-service: replicaCount: 2 ingress: - host: hmpps-authorization-dev.hmpps.service.justice.gov.uk + host: authorization-dev.hmpps.service.justice.gov.uk env: - INGRESS_URL: "https://hmpps-authorization-dev.hmpps.service.justice.gov.uk" + INGRESS_URL: "https://authorization-dev.hmpps.service.justice.gov.uk" HMPPS_AUTH_URL: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth" TOKEN_VERIFICATION_API_URL: "https://token-verification-api-dev.prison.service.justice.gov.uk" diff --git a/helm_deploy/values-preprod.yaml b/helm_deploy/values-preprod.yaml index 61c0795f..f42f5049 100644 --- a/helm_deploy/values-preprod.yaml +++ b/helm_deploy/values-preprod.yaml @@ -5,7 +5,7 @@ generic-service: replicaCount: 2 ingress: - host: hmpps-authorization-preprod.hmpps.service.justice.gov.uk + host: authorization-preprod.hmpps.service.justice.gov.uk env: INGRESS_URL: "https://hmpps-authorization-preprod.hmpps.service.justice.gov.uk" diff --git a/helm_deploy/values-prod.yaml b/helm_deploy/values-prod.yaml index dcbbc3c9..ed38301d 100644 --- a/helm_deploy/values-prod.yaml +++ b/helm_deploy/values-prod.yaml @@ -3,7 +3,7 @@ generic-service: ingress: - host: hmpps-authorization.hmpps.service.justice.gov.uk + host: authorization.hmpps.service.justice.gov.uk env: INGRESS_URL: "https://hmpps-authorization.hmpps.service.justice.gov.uk"