ministryofjustice / find-moj-data

Find MOJ data service • This repository is defined and managed in Terraform
https://find-moj-data.service.justice.gov.uk/
MIT License
5 stars 0 forks source link

Staged deployments - multiple deployment environments #115

Open seanprivett opened 9 months ago

seanprivett commented 9 months ago

Value / Purpose

We need environments to be available / immutable during user testing, and for ongoing development. We also need to be able to make breaking changes to datahub, and not have these streams of work interfere with each other. The solution to this is to use standard development environments.

Proposal

Expand our deployed environments to include ~PROD~, PREPROD, DEV, TEST environments

Additional Information

Definition of Done

YvanMOJdigital commented 9 months ago

dev-test-pre prod-prod

jemnery commented 9 months ago

The goal is to have a more stable, less frequently changing instance of DataHub + find-moj-data for user research sessions, accessibility reviews and other presentations.

  1. Create new preprod environments in CP
  2. Create deployments into those environments
  3. Add AAD auth for preprod
  4. Migrate existing metadata into preprod
  5. Would be good if find-moj-data can pick up a name from env - e.g. show "Data Catalogue -Test Instance" in the header
  6. GHA strategy could be:
    • Automatic CI/CD into test triggered by merge to main followed by gated approved deploy to preprod
    • Manual (workflow dispatch) deploy to test from any branch; automatic CI/CD from main (only) into preprod

We don't need prod at this stage

murdo-moj commented 9 months ago
tom-webber commented 9 months ago

cloud platform environments: update dev: https://github.com/ministryofjustice/cloud-platform-environments/pull/21424 add test: https://github.com/ministryofjustice/cloud-platform-environments/pull/21435 add preprod: https://github.com/ministryofjustice/cloud-platform-environments/pull/21437

tom-webber commented 9 months ago

DataHub deployment goals

tom-webber commented 8 months ago

resolved by ministryofjustice/data-platform-datahub-catalogue#29

tom-webber commented 8 months ago

fixed by ministryofjustice/data-platform-datahub-catalogue/pull/30