2
2
3
3
Following is a tested upgrade path for a minor version upgrade of Concourse (partially manual).
4
4
5
- The process assumes the usage of terragrunt Concourse stack.
5
+ The process assumes the usage of the Terragrunt Concourse stack.
6
6
7
7
Please note the process should be also useful for upgrading major versions.
8
8
9
- ## Roll-in procedure
9
+ ## Roll-in Procedure
10
10
11
11
1 . Connect to your GCP account
12
12
```
13
13
gcloud auth login && gcloud auth application-default login
14
+ gcloud set project <your project name>
14
15
```
16
+
15
17
2 . ` cd ` to a folder with concourse folder with ` config.yaml ` file
16
18
17
19
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
+
21
24
4 . Switch to ` renovate's ` pull request having bumped Concourse helm chart version
22
25
```
23
26
git pull
24
27
git checkout renovate/concourse-17.x
25
28
```
26
29
27
30
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
+ ```
31
34
32
35
6 . Apply roll-out for new Concourse version
33
36
```
@@ -36,11 +39,12 @@ Please note the process should be also useful for upgrading major versions.
36
39
37
40
At this point depending on your use case:
38
41
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 `
40
43
41
44
2 . Login to the new Concourse
42
45
```
43
46
fly login -t <target name>
47
+ ```
44
48
45
49
3 . For ` wg-ci-test ` cluster: execute end-to-end test
46
50
```
@@ -49,7 +53,7 @@ At this point depending on your use case:
49
53
cd ..
50
54
```
51
55
52
- ## Roll-back procedure
56
+ ## Roll-back Procedure
53
57
54
58
To guarantee SQL databases consistency delete Concourse deployment and restore SQL instance
55
59
@@ -61,7 +65,7 @@ To guarantee SQL databases consistency delete Concourse deployment and restore S
61
65
62
66
2 . Restore on-demand SQL instance backup - use Web UI or gcloud command
63
67
64
- 3 . Run concourse stack deployment
68
+ 3 . Run Concourse stack deployment
65
69
```
66
70
terragrunt run-all plan
67
71
terragrunt run-all apply
0 commit comments