@@ -28,6 +28,8 @@ import (
28
28
"sigs.k8s.io/cluster-api-provider-openstack/test/e2e/shared"
29
29
)
30
30
31
+ const OldCAPIVersion = "v1.4.6"
32
+
31
33
var _ = Describe ("When testing clusterctl upgrades (v0.6=>current) [clusterctl-upgrade]" , func () {
32
34
ctx := context .TODO ()
33
35
shared .SetEnvVar ("USE_CI_ARTIFACTS" , "true" , false )
@@ -40,9 +42,12 @@ var _ = Describe("When testing clusterctl upgrades (v0.6=>current) [clusterctl-u
40
42
BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
41
43
ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
42
44
SkipCleanup : false ,
43
- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.4.1 /clusterctl-{OS}-{ARCH}" ,
45
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + OldCAPIVersion + " /clusterctl-{OS}-{ARCH}" ,
44
46
InitWithProvidersContract : "v1beta1" ,
45
47
InitWithInfrastructureProviders : []string {"openstack:v0.6.4" },
48
+ InitWithCoreProvider : "cluster-api:" + OldCAPIVersion ,
49
+ InitWithBootstrapProviders : []string {"kubeadm:" + OldCAPIVersion },
50
+ InitWithControlPlaneProviders : []string {"kubeadm:" + OldCAPIVersion },
46
51
MgmtFlavor : shared .FlavorDefault ,
47
52
WorkloadFlavor : shared .FlavorV1alpha5 ,
48
53
}
@@ -61,9 +66,12 @@ var _ = Describe("When testing clusterctl upgrades (v0.7=>current) [clusterctl-u
61
66
BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
62
67
ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
63
68
SkipCleanup : false ,
64
- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.1 /clusterctl-{OS}-{ARCH}" ,
69
+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + OldCAPIVersion + " /clusterctl-{OS}-{ARCH}" ,
65
70
InitWithProvidersContract : "v1beta1" ,
66
71
InitWithInfrastructureProviders : []string {"openstack:v0.7.2" },
72
+ InitWithCoreProvider : "cluster-api:" + OldCAPIVersion ,
73
+ InitWithBootstrapProviders : []string {"kubeadm:" + OldCAPIVersion },
74
+ InitWithControlPlaneProviders : []string {"kubeadm:" + OldCAPIVersion },
67
75
MgmtFlavor : shared .FlavorDefault ,
68
76
WorkloadFlavor : shared .FlavorV1alpha6 ,
69
77
}
0 commit comments