feat(ubuntu): add ubuntu 23.10(mantic) (#1750)

This commit is contained in:
MaineK00n
2023-10-19 02:01:18 +09:00
committed by GitHub
parent 801b968f89
commit 75e9883d8a
5 changed files with 15 additions and 3 deletions

View File

@@ -196,6 +196,9 @@ func GetEOL(family, release string) (eol EOL, found bool) {
"23.04": {
StandardSupportUntil: time.Date(2024, 1, 31, 23, 59, 59, 0, time.UTC),
},
"23.10": {
StandardSupportUntil: time.Date(2024, 7, 31, 23, 59, 59, 0, time.UTC),
},
}[release]
case constant.OpenSUSE:
// https://en.opensuse.org/Lifetime

View File

@@ -363,6 +363,14 @@ func TestEOL_IsStandardSupportEnded(t *testing.T) {
stdEnded: false,
extEnded: false,
},
{
name: "Ubuntu 23.10 supported",
fields: fields{family: Ubuntu, release: "23.10"},
now: time.Date(2024, 7, 31, 23, 59, 59, 0, time.UTC),
found: true,
stdEnded: false,
extEnded: false,
},
//Debian
{
name: "Debian 8 supported",