From 75065eee692b3628b272402a548445e50c9019af Mon Sep 17 00:00:00 2001 From: Mike Bell Date: Fri, 19 Apr 2024 10:02:15 +0100 Subject: [PATCH 1/2] Update process for migrating a module --- runbooks/source/move-components-module.html.md.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runbooks/source/move-components-module.html.md.erb b/runbooks/source/move-components-module.html.md.erb index 7c098a3b..2a7e9165 100644 --- a/runbooks/source/move-components-module.html.md.erb +++ b/runbooks/source/move-components-module.html.md.erb @@ -10,6 +10,8 @@ review_in: 6 months 1. Raise PR with migrated module 2. Update #cloud-platform informing the team about the module migration and to not make new PRs against `cloud-platform-infrastructure`. 3. Pause pipelines +3. Log in to Concourse using `fly -t moj-cp login -c https://concourse.cloud-platform.service.justice.gov.uk/` +3. Ensure your in the `cloud-platform-terraform-concourse` directory. 3. Update pipelines with module name and cluster name: `fly -t moj-cp set-pipeline --pipeline migrate-module --config migrate-module.yaml -v cluster_name=$CLUSTER_NAME -v module=$MODULE_NAME` 4. Run `migrate-module` pipeline from the Concourse UI. From 13f0e86e67c29828860e5fc91b880a5614e99039 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 19 Apr 2024 09:03:08 +0000 Subject: [PATCH 2/2] Commit changes made by code formatters --- runbooks/source/move-components-module.html.md.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/runbooks/source/move-components-module.html.md.erb b/runbooks/source/move-components-module.html.md.erb index 2a7e9165..676e6463 100644 --- a/runbooks/source/move-components-module.html.md.erb +++ b/runbooks/source/move-components-module.html.md.erb @@ -23,7 +23,6 @@ review_in: 6 months 10. Repeat 9. with `manager` and `live` 11. Update #cloud-platform informing the team of the completed migration and that pipelines are unpaused. - ## Disaster Recovery If for some reason something goes wrong then you can use the backed up state file to overwrite the remote.