3636 capiRelease19 string
3737)
3838
39- var _ = Describe ("When testing clusterctl upgrades (v0.11=>current) [clusterctl-upgrade]" , func () {
39+ var _ = Describe ("When testing clusterctl upgrades for CAPO (v0.11=>current) and ORC (v1.0.2 =>current) [clusterctl-upgrade]" , func () {
4040 BeforeEach (func (ctx context.Context ) {
4141 setDownloadE2EImageEnvVar ()
4242 // Note: This gives the version without the 'v' prefix, so we need to add it below.
@@ -51,25 +51,26 @@ var _ = Describe("When testing clusterctl upgrades (v0.11=>current) [clusterctl-
5151
5252 capi_e2e .ClusterctlUpgradeSpec (context .TODO (), func () capi_e2e.ClusterctlUpgradeSpecInput {
5353 return capi_e2e.ClusterctlUpgradeSpecInput {
54- E2EConfig : e2eCtx .E2EConfig ,
55- ClusterctlConfigPath : e2eCtx .Environment .ClusterctlConfigPath ,
56- BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
57- ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
58- SkipCleanup : false ,
59- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + capiRelease19 + "/clusterctl-{OS}-{ARCH}" ,
60- InitWithProvidersContract : "v1beta1" ,
61- InitWithInfrastructureProviders : []string {"openstack:" + capoRelease011 },
62- InitWithCoreProvider : "cluster-api:" + capiRelease19 ,
63- InitWithBootstrapProviders : []string {"kubeadm:" + capiRelease19 },
64- InitWithControlPlaneProviders : []string {"kubeadm:" + capiRelease19 },
65- MgmtFlavor : shared .FlavorDefault ,
66- WorkloadFlavor : shared .FlavorDefault ,
67- InitWithKubernetesVersion : e2eCtx .E2EConfig .MustGetVariable (shared .KubernetesVersion ),
54+ E2EConfig : e2eCtx .E2EConfig ,
55+ ClusterctlConfigPath : e2eCtx .Environment .ClusterctlConfigPath ,
56+ BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
57+ ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
58+ SkipCleanup : false ,
59+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + capiRelease19 + "/clusterctl-{OS}-{ARCH}" ,
60+ InitWithProvidersContract : "v1beta1" ,
61+ InitWithInfrastructureProviders : []string {"openstack:" + capoRelease011 },
62+ InitWithCoreProvider : "cluster-api:" + capiRelease19 ,
63+ InitWithBootstrapProviders : []string {"kubeadm:" + capiRelease19 },
64+ InitWithControlPlaneProviders : []string {"kubeadm:" + capiRelease19 },
65+ MgmtFlavor : shared .FlavorDefault ,
66+ WorkloadFlavor : shared .FlavorDefault ,
67+ InitWithKubernetesVersion : e2eCtx .E2EConfig .MustGetVariable (shared .KubernetesVersion ),
68+ InitWithRuntimeExtensionProviders : []string {"openstack-resource-controller:v1.0.2" },
6869 }
6970 })
7071})
7172
72- var _ = Describe ("When testing clusterctl upgrades (v0.12=>current) [clusterctl-upgrade]" , func () {
73+ var _ = Describe ("When testing clusterctl upgrades for CAPO (v0.12=>current) and ORC (v1.0.2=>current) [clusterctl-upgrade]" , func () {
7374 BeforeEach (func (ctx context.Context ) {
7475 setDownloadE2EImageEnvVar ()
7576 // Note: This gives the version without the 'v' prefix, so we need to add it below.
@@ -84,20 +85,21 @@ var _ = Describe("When testing clusterctl upgrades (v0.12=>current) [clusterctl-
8485
8586 capi_e2e .ClusterctlUpgradeSpec (context .TODO (), func () capi_e2e.ClusterctlUpgradeSpecInput {
8687 return capi_e2e.ClusterctlUpgradeSpecInput {
87- E2EConfig : e2eCtx .E2EConfig ,
88- ClusterctlConfigPath : e2eCtx .Environment .ClusterctlConfigPath ,
89- BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
90- ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
91- SkipCleanup : false ,
92- InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + capiRelease19 + "/clusterctl-{OS}-{ARCH}" ,
93- InitWithProvidersContract : "v1beta1" ,
94- InitWithInfrastructureProviders : []string {"openstack:" + capoRelease012 },
95- InitWithCoreProvider : "cluster-api:" + capiRelease19 ,
96- InitWithBootstrapProviders : []string {"kubeadm:" + capiRelease19 },
97- InitWithControlPlaneProviders : []string {"kubeadm:" + capiRelease19 },
98- MgmtFlavor : shared .FlavorDefault ,
99- WorkloadFlavor : shared .FlavorDefault ,
100- InitWithKubernetesVersion : e2eCtx .E2EConfig .MustGetVariable (shared .KubernetesVersion ),
88+ E2EConfig : e2eCtx .E2EConfig ,
89+ ClusterctlConfigPath : e2eCtx .Environment .ClusterctlConfigPath ,
90+ BootstrapClusterProxy : e2eCtx .Environment .BootstrapClusterProxy ,
91+ ArtifactFolder : e2eCtx .Settings .ArtifactFolder ,
92+ SkipCleanup : false ,
93+ InitWithBinary : "https://github.com/kubernetes-sigs/cluster-api/releases/download/" + capiRelease19 + "/clusterctl-{OS}-{ARCH}" ,
94+ InitWithProvidersContract : "v1beta1" ,
95+ InitWithInfrastructureProviders : []string {"openstack:" + capoRelease012 },
96+ InitWithCoreProvider : "cluster-api:" + capiRelease19 ,
97+ InitWithBootstrapProviders : []string {"kubeadm:" + capiRelease19 },
98+ InitWithControlPlaneProviders : []string {"kubeadm:" + capiRelease19 },
99+ MgmtFlavor : shared .FlavorDefault ,
100+ WorkloadFlavor : shared .FlavorDefault ,
101+ InitWithKubernetesVersion : e2eCtx .E2EConfig .MustGetVariable (shared .KubernetesVersion ),
102+ InitWithRuntimeExtensionProviders : []string {"openstack-resource-controller:v1.0.2" },
101103 }
102104 })
103105})
0 commit comments