Skip to content

Commit

Permalink
Update supported series and mark jammy as supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Aflynn50 committed Apr 29, 2024
1 parent b0f8f3b commit d8ace48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions series/supportedseries.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ var seriesVersions = map[string]string{
"hirsute": "21.04",
"impish": "21.10",
"jammy": "22.04",
"kinetic": "22.10",
"lunar": "23.04",
"mantic": "23.10",
"noble": "24.04",
"win2008r2": "win2008r2",
"win2012hvr2": "win2012hvr2",
"win2012hv": "win2012hv",
Expand Down Expand Up @@ -218,8 +222,8 @@ var ubuntuSeries = map[string]SeriesVersionInfo{
"jammy": {
Version: "22.04",
LTS: true,
Supported: false,
ESMSupported: false,
Supported: true,
ESMSupported: true,
},
"kinetic": {
Version: "22.10",
Expand Down
4 changes: 2 additions & 2 deletions series/supportedseries_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (s *supportedSeriesSuite) TestESMSupportedJujuSeries(c *gc.C) {
c.Assert(err, jc.ErrorIsNil)
s.PatchValue(series.UbuntuDistroInfoPath, filename)

expectedSeries := []string{"focal", "bionic", "xenial", "trusty"}
expectedSeries := []string{"jammy", "focal", "bionic", "xenial", "trusty"}
series := series.ESMSupportedJujuSeries()
c.Assert(series, jc.DeepEquals, expectedSeries)
}
Expand Down Expand Up @@ -243,7 +243,7 @@ func (s *isolationSupportedSeriesSuite) TestBadFilePath(c *gc.C) {
filename := filepath.Join(d, "bad-file.csv")
s.PatchValue(series.UbuntuDistroInfoPath, filename)

expectedSeries := []string{"artful", "bionic", "centos7", "centos8", "centos9", "cosmic", "disco", "eoan", "focal", "genericlinux", "groovy", "hirsute", "impish", "jammy", "opensuseleap", "precise", "quantal", "raring", "saucy", "trusty", "utopic", "vivid", "wily", "win10", "win2008r2", "win2012", "win2012hv", "win2012hvr2", "win2012r2", "win2016", "win2016hv", "win2016nano", "win2019", "win7", "win8", "win81", "xenial", "yakkety", "zesty"}
expectedSeries := []string{"artful", "bionic", "centos7", "centos8", "centos9", "cosmic", "disco", "eoan", "focal", "genericlinux", "groovy", "hirsute", "impish", "jammy", "kinetic", "lunar", "mantic", "noble", "opensuseleap", "precise", "quantal", "raring", "saucy", "trusty", "utopic", "vivid", "wily", "win10", "win2008r2", "win2012", "win2012hv", "win2012hvr2", "win2012r2", "win2016", "win2016hv", "win2016nano", "win2019", "win7", "win8", "win81", "xenial", "yakkety", "zesty"}
series := series.SupportedSeries()
sort.Strings(series)
c.Assert(series, gc.DeepEquals, expectedSeries)
Expand Down

0 comments on commit d8ace48

Please sign in to comment.