Skip to content

Commit d6f6e6e

Browse files
authored
set MinLinuxServerVersion for RHEL 9 to 6.0.0 (#783)
6.0.0 is the earliest supported version for RHEL 9, so we should not push new mongo-tools releases to the repos for earlier server versions. RHEL 93 was previously succeeding, but the 5.0.0 repo for RHEL 93 exists by mistake and will be removed soon, so I'm adding the minimum version to that too
1 parent 505d575 commit d6f6e6e

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

release/platform/platform.go

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -522,36 +522,40 @@ var platforms = []Platform{
522522
ServerPlatform: "rhel80",
523523
},
524524
{
525-
Name: "rhel9",
526-
Arch: ArchPpc64le,
527-
OS: OSLinux,
528-
Pkg: PkgRPM,
529-
Repos: []Repo{RepoOrg, RepoEnterprise},
530-
BuildTags: defaultBuildTags,
525+
Name: "rhel9",
526+
Arch: ArchPpc64le,
527+
OS: OSLinux,
528+
Pkg: PkgRPM,
529+
Repos: []Repo{RepoOrg, RepoEnterprise},
530+
BuildTags: defaultBuildTags,
531+
MinLinuxServerVersion: &version.Version{Major: 6, Minor: 0, Patch: 0},
531532
},
532533
{
533-
Name: "rhel9",
534-
Arch: ArchS390x,
535-
OS: OSLinux,
536-
Pkg: PkgRPM,
537-
Repos: []Repo{RepoOrg, RepoEnterprise},
538-
BuildTags: defaultBuildTags,
534+
Name: "rhel9",
535+
Arch: ArchS390x,
536+
OS: OSLinux,
537+
Pkg: PkgRPM,
538+
Repos: []Repo{RepoOrg, RepoEnterprise},
539+
BuildTags: defaultBuildTags,
540+
MinLinuxServerVersion: &version.Version{Major: 6, Minor: 0, Patch: 0},
539541
},
540542
{
541-
Name: "rhel93",
542-
Arch: ArchAarch64,
543-
OS: OSLinux,
544-
Pkg: PkgRPM,
545-
Repos: []Repo{RepoOrg, RepoEnterprise},
546-
BuildTags: defaultBuildTags,
543+
Name: "rhel93",
544+
Arch: ArchAarch64,
545+
OS: OSLinux,
546+
Pkg: PkgRPM,
547+
Repos: []Repo{RepoOrg, RepoEnterprise},
548+
BuildTags: defaultBuildTags,
549+
MinLinuxServerVersion: &version.Version{Major: 6, Minor: 0, Patch: 0},
547550
},
548551
{
549-
Name: "rhel93",
550-
Arch: ArchX86_64,
551-
OS: OSLinux,
552-
Pkg: PkgRPM,
553-
Repos: []Repo{RepoOrg, RepoEnterprise},
554-
BuildTags: defaultBuildTags,
552+
Name: "rhel93",
553+
Arch: ArchX86_64,
554+
OS: OSLinux,
555+
Pkg: PkgRPM,
556+
Repos: []Repo{RepoOrg, RepoEnterprise},
557+
BuildTags: defaultBuildTags,
558+
MinLinuxServerVersion: &version.Version{Major: 6, Minor: 0, Patch: 0},
555559
},
556560
{
557561
Name: "suse12",

0 commit comments

Comments
 (0)