You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🌱 Prepare main branch for v1.9 development (#11059)
* Prepare main branch for v1.9 development
Signed-off-by: Stefan Büringer [email protected]
* review fixes
---------
Signed-off-by: Stefan Büringer [email protected]
Copy file name to clipboardExpand all lines: docs/release/release-tasks.md
+7-9
Original file line number
Diff line number
Diff line change
@@ -97,10 +97,12 @@ is used for e.g. local development and e2e tests. We also modify tests so that t
97
97
This comes down to changing occurrences of the old version to the new version, e.g. `v1.5` to `v1.6`:
98
98
99
99
1. Setup E2E tests for the new release:
100
-
1. Goal is that we have clusterctl upgrade tests for the latest stable versions of each contract / for each supported branch. For `v1.6` this means:
101
-
* v1beta1: `v1.0`, `v1.4`, `v1.5` (will change with each new release)
100
+
1. Goal is that we have clusterctl upgrade tests for all relevant upgrade cases
101
+
1. Modify the test specs in `test/e2e/clusterctl_upgrade_test.go`. Please note the comments above each test case (look for `This test should be changed during "prepare main branch"`)
102
+
Please note that both `InitWithKubernetesVersion` and `WorkloadKubernetesVersion` should be the highest management cluster version supported by the respective Cluster API version.
103
+
2. Please ping maintainers after these changes are made for a first round of feedback before continuing with the steps below.
102
104
2. Update providers in `docker.yaml`:
103
-
1. Add a new `v1.6.0` entry.
105
+
1. Add a new `v1.6` entry.
104
106
2. Remove providers that are not used anymore in clusterctl upgrade tests.
105
107
3. Change `v1.5.99` to `v1.6.99`.
106
108
3. Adjust `metadata.yaml`'s:
@@ -112,17 +114,13 @@ This comes down to changing occurrences of the old version to the new version, e
112
114
4. Adjust cluster templates in `test/e2e/data/infrastructure-docker`:
113
115
1. Create a new `v1.6` folder. It should be created based on the `main` folder and only contain the templates we use in the clusterctl upgrade tests (as of today `cluster-template` and `cluster-template-topology`).
114
116
2. Remove old folders that are not used anymore in clusterctl upgrade tests.
115
-
5. Modify the test specs in `test/e2e/clusterctl_upgrade_test.go` (according to the versions we want to test described above).
116
-
Please note that both `InitWithKubernetesVersion` and `WorkloadKubernetesVersion` should be the highest mgmt cluster version supported by the respective Cluster API version.
117
+
5. Add a new Makefile target (e.g. `generate-e2e-templates-v1.6`) and potentially remove the Makefile target of versions that are not used anymore (if something was removed in 4.2)
117
118
2. Update `create-local-repository.py` and `tools/internal/tilt-prepare/main.go`: `v1.5.99` => `v1.6.99`.
118
119
3. Make sure all tests are green (also run `pull-cluster-api-e2e-full-main` and `pull-cluster-api-e2e-workload-upgrade-1-27-latest-main`).
119
-
4. Remove an unsupported release version of Cluster API from the Makefile target that generates e2e templates. For example, remove `v1.3` while working on `v1.6`.
// Note: Both InitWithKubernetesVersion and WorkloadKubernetesVersion should be the highest mgmt cluster version supported by the source Cluster API version.
240
-
InitWithKubernetesVersion: "v1.29.0",
241
-
WorkloadKubernetesVersion: "v1.29.0",
244
+
InitWithKubernetesVersion: "v1.30.0",
245
+
WorkloadKubernetesVersion: "v1.30.0",
242
246
MgmtFlavor: "topology",
243
247
WorkloadFlavor: "",
244
248
UseKindForManagementCluster: true,
245
249
}
246
250
})
247
251
})
248
252
249
-
var_=Describe("When testing clusterctl upgrades using ClusterClass (v1.6=>current) [ClusterClass]", func() {
250
-
// Get v1.6 latest stable release
251
-
version:="1.6"
253
+
// Note: This test should be changed during "prepare main branch", it should test n-2 => current.
254
+
var_=Describe("When testing clusterctl upgrades using ClusterClass (v1.7=>current) [ClusterClass]", func() {
// Note: Both InitWithKubernetesVersion and WorkloadKubernetesVersion should be the highest mgmt cluster version supported by the source Cluster API version.
// Note: Both InitWithKubernetesVersion and WorkloadKubernetesVersion should be the highest mgmt cluster version supported by the source Cluster API version.
296
-
InitWithKubernetesVersion: "v1.30.0",
297
-
WorkloadKubernetesVersion: "v1.30.0",
302
+
InitWithKubernetesVersion: "v1.31.0",
303
+
WorkloadKubernetesVersion: "v1.31.0",
298
304
MgmtFlavor: "topology",
299
305
WorkloadFlavor: "",
300
306
UseKindForManagementCluster: true,
301
307
}
302
308
})
303
309
})
304
310
305
-
var_=Describe("When testing clusterctl upgrades using ClusterClass (v1.7=>current) [ClusterClass]", func() {
306
-
// Get v1.7 latest stable release
307
-
version:="1.7"
311
+
// Note: This test should be changed during "prepare main branch", it should test n-1 => current.
312
+
var_=Describe("When testing clusterctl upgrades using ClusterClass (v1.8=>current) [ClusterClass]", func() {
// Note: Both InitWithKubernetesVersion and WorkloadKubernetesVersion should be the highest mgmt cluster version supported by the source Cluster API version.
321
-
InitWithKubernetesVersion: "v1.30.0",
322
-
WorkloadKubernetesVersion: "v1.30.0",
328
+
InitWithKubernetesVersion: "v1.31.0",
329
+
WorkloadKubernetesVersion: "v1.31.0",
323
330
MgmtFlavor: "topology",
324
331
WorkloadFlavor: "topology",
325
332
UseKindForManagementCluster: true,
326
333
}
327
334
})
328
335
})
329
336
330
-
var_=Describe("When testing clusterctl upgrades using ClusterClass (v1.7=>current) on K8S latest ci mgmt cluster [ClusterClass]", func() {
331
-
// Get v1.7 latest stable release
332
-
version:="1.7"
337
+
// Note: This test should be changed during "prepare main branch", it should test n-1 => current.
338
+
var_=Describe("When testing clusterctl upgrades using ClusterClass (v1.8=>current) on K8S latest ci mgmt cluster [ClusterClass]", func() {
0 commit comments