@@ -35,6 +35,7 @@ providers:
35
35
- name : v1.2.4
36
36
value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.4/core-components.yaml"
37
37
type : url
38
+ contract : v1beta1
38
39
files :
39
40
- sourcePath : " ../data/shared/v1beta1/metadata.yaml"
40
41
replacements :
@@ -48,6 +49,7 @@ providers:
48
49
- name : v1.2.4
49
50
value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.4/bootstrap-components.yaml"
50
51
type : url
52
+ contract : v1beta1
51
53
files :
52
54
- sourcePath : " ../data/shared/v1beta1/metadata.yaml"
53
55
replacements :
@@ -61,6 +63,7 @@ providers:
61
63
- name : v1.2.4
62
64
value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.4/control-plane-components.yaml"
63
65
type : url
66
+ contract : v1beta1
64
67
files :
65
68
- sourcePath : " ../data/shared/v1beta1/metadata.yaml"
66
69
replacements :
@@ -71,17 +74,36 @@ providers:
71
74
- name : openstack
72
75
type : InfrastructureProvider
73
76
versions :
77
+ # This is only for clusterctl upgrade tests
78
+ - name : v0.6.3
79
+ value : " https://github.com/kubernetes-sigs/cluster-api-provider-openstack/releases/download/v0.6.3/infrastructure-components.yaml"
80
+ type : url
81
+ contract : v1beta1
82
+ files :
83
+ - sourcePath : " ../data/shared/v1beta1_provider/metadata.yaml"
84
+ - sourcePath : " ./infrastructure-openstack/cluster-template.yaml"
85
+ replacements :
86
+ - old : " imagePullPolicy: Always"
87
+ new : " imagePullPolicy: IfNotPresent"
88
+ - old : " --v=2"
89
+ new : " --v=4"
90
+ - old : " --leader-elect"
91
+ new : " --leader-elect=false\n - --sync-period=1m"
74
92
- name : v0.6.99
75
93
value : ../../../config/default
76
- contract : v1beta1
94
+ # This is the upcoming version.
95
+ # Specify no contract so that upgrade tests that start from a specific contract won't pick it up.
96
+ # contract: v1beta1
77
97
files :
78
98
- sourcePath : " ../data/shared/v1beta1_provider/metadata.yaml"
79
99
- sourcePath : " ./infrastructure-openstack/cluster-template.yaml"
80
100
- sourcePath : " ./infrastructure-openstack/cluster-template-external-cloud-provider.yaml"
81
101
- sourcePath : " ./infrastructure-openstack/cluster-template-without-lb.yaml"
82
102
replacements :
103
+ # TODO: We should use e2e here instead of main, but we need a way to get it into the workload cluster
104
+ # for upgrade tests for that to work.
83
105
- old : gcr.io/k8s-staging-capi-openstack/capi-openstack-controller:dev
84
- new : gcr.io/k8s-staging-capi-openstack/capi-openstack-controller:e2e
106
+ new : gcr.io/k8s-staging-capi-openstack/capi-openstack-controller:main
85
107
- old : " imagePullPolicy: Always"
86
108
new : " imagePullPolicy: IfNotPresent"
87
109
- old : " --v=2"
@@ -116,6 +138,7 @@ variables:
116
138
OPENSTACK_VOLUME_TYPE_ALT : " test-volume-type"
117
139
CONFORMANCE_WORKER_MACHINE_COUNT : " 5"
118
140
CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT : " 1"
141
+ INIT_WITH_KUBERNETES_VERSION : " v1.25.0"
119
142
120
143
intervals :
121
144
conformance/wait-control-plane : ["30m", "10s"]
0 commit comments