Skip to content

Commit 12bbdc6

Browse files
committed
Merge remote-tracking branch 'origin/main' into config_worker_memory
2 parents e50efd3 + bf68c95 commit 12bbdc6

File tree

27 files changed

+526
-437
lines changed

27 files changed

+526
-437
lines changed

.tool-versions

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
concourse 7.11.2
1+
concourse 7.12.0
22
gcloud 469.0.0
33
helm 3.14.3
44
kapp 0.60.0
55
kubectl 1.29.3
66
python 3.12.2
7-
terraform 1.7.5
7+
terraform 1.10.3
88
terraform-lsp 0.0.12
9-
terragrunt 0.55.19
9+
terragrunt 0.70.4
1010
vendir 0.40.0
1111
yq 4.43.1
1212
ytt 0.44.1

docs/concourse/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ The following command needs to be run from within your root directory (containin
9494
9595
*NOTE: `terragrunt run-all` commands **do not** show changes before applying*
9696
97+
*NOTE: If you need to update the providers, run `terragrunt run-all init -upgrade`
98+
9799
```sh
98100
terragrunt run-all apply
99101
```

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

terraform-modules/actions_runner_controller/infra/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
source = "hashicorp/kubernetes"
88
}
99
kubectl = {
10-
source = "gavinbunney/kubectl"
10+
source = "registry.terraform.io/gavinbunney/kubectl"
1111
}
1212
github = {
1313
source = "integrations/github"

terraform-modules/actions_runner_controller/team/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
source = "hashicorp/kubernetes"
88
}
99
kubectl = {
10-
source = "gavinbunney/kubectl"
10+
source = "registry.terraform.io/gavinbunney/kubectl"
1111
}
1212
github = {
1313
source = "integrations/github"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#@ load("@ytt:data", "data")
2+
#@ load("@ytt:library", "library")
3+
#@ load("@ytt:overlay", "overlay")
4+
#@ load("@ytt:template", "template")
5+
6+
#! workaround for buggy GKE version check:
7+
#! https://github.com/concourse/concourse-chart/blob/c92075294c39a20fd48e0c5cc4533a2a59adfc70/templates/worker-policy.yaml#L2
8+
9+
#@overlay/match by=overlay.subset({"kind": "PodDisruptionBudget"})
10+
---
11+
apiVersion: policy/v1

terraform-modules/concourse/app/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
source = "hashicorp/google"
55
}
66
carvel = {
7-
source = "vmware-tanzu/carvel"
7+
source = "registry.terraform.io/vmware-tanzu/carvel"
88
}
99
}
1010
}

terraform-modules/concourse/automatic_certificate_regeneration/cron_job.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource "kubernetes_cron_job_v1" "automatic_certificate_regeneration" {
1616
restart_policy = "OnFailure"
1717
container {
1818
name = "cert-regen"
19-
image = "yatzek/credhub-cli:2.9.0"
19+
image = "cloudfoundry/cf-deployment-concourse-tasks:v19.0.0"
2020
image_pull_policy = "IfNotPresent"
2121
command = ["bash", "-c", "IFS=',' read -r -a CERTIFICATES <<< \"$CERTS_TO_RENEW\"; for cert in \"$${CERTIFICATES[@]}\"; do credhub regenerate -n \"$cert\"; done"]
2222
env {

terraform-modules/concourse/backend/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ terraform {
44
source = "hashicorp/google"
55
}
66
carvel = {
7-
source = "vmware-tanzu/carvel"
7+
source = "registry.terraform.io/vmware-tanzu/carvel"
88
}
99
kubectl = {
10-
source = "gavinbunney/kubectl"
10+
source = "registry.terraform.io/gavinbunney/kubectl"
1111
}
1212
}
1313
}

terraform-modules/concourse/e2e_test/credhub_test_secret_k8s.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ resource "kubernetes_job" "credhub_cli" {
4040
spec {
4141
restart_policy = "Never"
4242
container {
43-
image = "yatzek/credhub-cli:2.9.0"
43+
image = "cloudfoundry/cf-deployment-concourse-tasks:v19.0.0"
4444
name = "credhub-cli"
4545

4646
command = [

0 commit comments

Comments
 (0)