Skip to content

Commit 4d9ce38

Browse files
committed
Don't need a repo list for 1.24+
Signed-off-by: James Sturtevant <[email protected]>
1 parent 85a23d0 commit 4d9ce38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/e2e/helpers.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ func latestCIVersion(label string) (string, error) {
656656

657657
// resolveKubetestRepoListPath will set the correct repo list for Windows:
658658
// - if WIN_REPO_URL is set use the custom file downloaded via makefile
659-
// - if CI version is "latest" do not set repo list since they are not needed K8s v1.25+
659+
// - if CI version is "latest" do not set repo list since they are not needed K8s v1.24+
660660
// - if CI version is "latest-1.xx" will compare values and use correct repoList
661661
// - if standard version will compare values and use correct repoList
662662
// - if unable to determine version falls back to using latest
@@ -675,18 +675,18 @@ func resolveKubetestRepoListPath(version string, path string) (string, error) {
675675
return "", err
676676
}
677677

678-
v125, err := semver.Make("1.25.0-alpha.0.0")
678+
v124, err := semver.Make("1.24.0-alpha.0.0")
679679
if err != nil {
680680
return "", err
681681
}
682682

683-
if currentVersion.GT(v125) {
683+
if currentVersion.GT(v124) {
684684
return "", nil
685685
}
686686

687687
// - prior to K8s v1.21 repo-list-k8sprow.yaml should be used
688688
// since all test images need to come from k8sprow.azurecr.io
689-
// - starting with K8s v1.25 repo lists repo list is not needed
689+
// - starting with K8s v1.24 repo lists repo list is not needed
690690
// - use repo-list.yaml for everything in between which has only
691691
// some images in k8sprow.azurecr.io
692692

0 commit comments

Comments
 (0)