Skip to content

Commit 8b25f7e

Browse files
committed
Update Concourse update docu
1 parent 12dcd97 commit 8b25f7e

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

docs/concourse/concourse_minor_version_upgrade.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,35 @@
22

33
Following is a tested upgrade path for a minor version upgrade of Concourse (partially manual).
44

5-
The process assumes the usage of terragrunt Concourse stack.
5+
The process assumes the usage of the Terragrunt Concourse stack.
66

77
Please note the process should be also useful for upgrading major versions.
88

9-
## Roll-in procedure
9+
## Roll-in Procedure
1010

1111
1. Connect to your GCP account
1212
```
1313
gcloud auth login && gcloud auth application-default login
14+
gcloud set project <your project name>
1415
```
16+
1517
2. `cd` to a folder with concourse folder with `config.yaml` file
1618

1719
3. Confirm there are no pending changes for the Concourse stack
18-
```
19-
terragrunt run-all plan --terragrunt-source-update
20-
```
20+
```
21+
terragrunt run-all plan --terragrunt-source-update
22+
```
23+
2124
4. Switch to `renovate's` pull request having bumped Concourse helm chart version
2225
```
2326
git pull
2427
git checkout renovate/concourse-17.x
2528
```
2629

2730
5. Create on-demand SQL instance backup
28-
```
29-
../terragrunt/scripts/concourse/create-sql-backup.sh
30-
```
31+
```
32+
../terragrunt/scripts/concourse/create-sql-backup.sh
33+
```
3134

3235
6. Apply roll-out for new Concourse version
3336
```
@@ -36,11 +39,12 @@ Please note the process should be also useful for upgrading major versions.
3639

3740
At this point depending on your use case:
3841

39-
1. Update `fly` to new minor version ie. change the version in `.tool-versions`` and run `asdf install`
42+
1. Update `fly` to new minor version i.e. change the version in `.tool-versions` and run `asdf install`
4043

4144
2. Login to the new Concourse
4245
```
4346
fly login -t <target name>
47+
```
4448

4549
3. For `wg-ci-test` cluster: execute end-to-end test
4650
```
@@ -49,7 +53,7 @@ At this point depending on your use case:
4953
cd ..
5054
```
5155

52-
## Roll-back procedure
56+
## Roll-back Procedure
5357

5458
To guarantee SQL databases consistency delete Concourse deployment and restore SQL instance
5559

@@ -61,7 +65,7 @@ To guarantee SQL databases consistency delete Concourse deployment and restore S
6165

6266
2. Restore on-demand SQL instance backup - use Web UI or gcloud command
6367

64-
3. Run concourse stack deployment
68+
3. Run Concourse stack deployment
6569
```
6670
terragrunt run-all plan
6771
terragrunt run-all apply

0 commit comments

Comments
 (0)