Skip to content

Commit

Permalink
hardcode version in conformance test
Browse files Browse the repository at this point in the history
  • Loading branch information
willie-yao committed Jan 31, 2025
1 parent 970cfdc commit 58dec7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,16 @@ var _ = Describe("Conformance Tests", func() {

var err error

kubernetesVersion := e2eConfig.GetVariable(capi_e2e.KubernetesVersion)
kubernetesVersion := "v1.28.15"
Expect(os.Setenv("CI_VERSION", "v1.28.15")).To(Succeed())
flavor := e2eConfig.GetVariable("CONFORMANCE_FLAVOR")
useCIArtifacts = true

// clusters with CI artifacts or PR artifacts are based on a known CI version
// PR artifacts will replace the CI artifacts during kubeadm init
if useCIArtifacts || usePRArtifacts {
kubernetesVersion, err = resolveCIVersion(kubernetesVersion)
Expect(err).NotTo(HaveOccurred())
Expect(os.Setenv("CI_VERSION", kubernetesVersion)).To(Succeed())
Expect(os.Setenv("CLOUD_PROVIDER_AZURE_LABEL", "azure-ci")).To(Succeed())
}

Expand Down

0 comments on commit 58dec7d

Please sign in to comment.