diff --git a/series/supportedseries.go b/series/supportedseries.go index 676cf8e..ad30247 100644 --- a/series/supportedseries.go +++ b/series/supportedseries.go @@ -83,6 +83,9 @@ var seriesVersions = map[string]string{ "hirsute": "21.04", "impish": "21.10", "jammy": "22.04", + "kinetic": "22.10", + "lunar": "23.04", + "mantic": "23.10", "win2008r2": "win2008r2", "win2012hvr2": "win2012hvr2", "win2012hv": "win2012hv", @@ -223,6 +226,18 @@ var ubuntuSeries = map[string]SeriesVersionInfo{ Supported: false, ESMSupported: false, }, + "kinetic": { + Version: "22.10", + Supported: false, + }, + "lunar": { + Version: "23.04", + Supported: true, + }, + "mantic": { + Version: "23.10", + Supported: true, + }, } var nonUbuntuSeries = map[string]SeriesVersionInfo{ diff --git a/series/supportedseries_linux_test.go b/series/supportedseries_linux_test.go index e111233..f9aadf9 100644 --- a/series/supportedseries_linux_test.go +++ b/series/supportedseries_linux_test.go @@ -36,7 +36,7 @@ func (s *supportedSeriesSuite) TestSupportedSeries(c *gc.C) { c.Assert(err, jc.ErrorIsNil) s.PatchValue(series.UbuntuDistroInfoPath, filename) - expectedSeries := []string{"artful", "bionic", "cosmic", "disco", "eoan", "focal", "groovy", "hirsute", "impish", "jammy", "precise", "quantal", "raring", "saucy", "trusty", "utopic", "vivid", "wily", "xenial", "yakkety", "zesty"} + expectedSeries := []string{"artful", "bionic", "cosmic", "disco", "eoan", "focal", "groovy", "hirsute", "impish", "jammy", "kinetic", "lunar", "mantic", "precise", "quantal", "raring", "saucy", "trusty", "utopic", "vivid", "wily", "xenial", "yakkety", "zesty"} series := series.SupportedSeries() sort.Strings(series) c.Assert(series, gc.DeepEquals, expectedSeries) @@ -49,7 +49,7 @@ func (s *supportedSeriesSuite) TestUpdateSeriesVersions(c *gc.C) { c.Assert(err, jc.ErrorIsNil) s.PatchValue(series.UbuntuDistroInfoPath, filename) - expectedSeries := []string{"artful", "bionic", "cosmic", "disco", "eoan", "focal", "groovy", "hirsute", "impish", "jammy", "precise", "quantal", "raring", "saucy", "trusty", "utopic", "vivid", "wily", "xenial", "yakkety", "zesty"} + expectedSeries := []string{"artful", "bionic", "cosmic", "disco", "eoan", "focal", "groovy", "hirsute", "impish", "jammy", "kinetic", "lunar", "mantic", "precise", "quantal", "raring", "saucy", "trusty", "utopic", "vivid", "wily", "xenial", "yakkety", "zesty"} checkSeries := func() { series := series.SupportedSeries() sort.Strings(series) @@ -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", "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)