diff --git a/README.md b/README.md index d8d864b41..b0319f757 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ Labels commonly include operating system name, version, architecture, and Window | Debian 11 | `Debian` | `11` | `amd64` | // EOL: 30 Jun 2026 | Debian testing | `Debian` | `testing` | `amd64` | | Debian unstable | `Debian` | `unstable` | `amd64` | -| Fedora 37 | `Fedora` | `37` | `amd64` | // EOL: 14 Nov 2023 +| Fedora 37 | `Fedora` | `37` | `amd64` | // EOL: 15 Dec 2023 +| Fedora 38 | `Fedora` | `38` | `amd64` | // EOL: 18 May 2024 | FreeBSD 12 | `freebsd` | `12.3-RELEASE` | `amd64` | // EOL: 30 Jun 2024 | FreeBSD 13 | `freebsd` | `13.1-RELEASE` | `amd64` | // EOL: 31 Jan 2026 | Linux Mint 20.3 | `Linuxmint` | `20.3` | `amd64` | // EOL: Apr 2025 diff --git a/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/Dockerfile b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/Dockerfile new file mode 100644 index 000000000..933f13047 --- /dev/null +++ b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/Dockerfile @@ -0,0 +1,2 @@ +FROM fedora:38 +RUN dnf install -y redhat-lsb-core diff --git a/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/lsb_release-a b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/lsb_release-a new file mode 100644 index 000000000..d4c012bc2 --- /dev/null +++ b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/lsb_release-a @@ -0,0 +1,5 @@ +LSB Version: :core-4.1-amd64:core-4.1-noarch +Distributor ID: Fedora +Description: Fedora release 38 (Thirty Eight) +Release: 38 +Codename: ThirtyEight diff --git a/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/os-release b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/os-release new file mode 100644 index 000000000..438828f57 --- /dev/null +++ b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/os-release @@ -0,0 +1,22 @@ +NAME="Fedora Linux" +VERSION="38 (Container Image)" +ID=fedora +VERSION_ID=38 +VERSION_CODENAME="" +PLATFORM_ID="platform:f38" +PRETTY_NAME="Fedora Linux 38 (Container Image)" +ANSI_COLOR="0;38;2;60;110;180" +LOGO=fedora-logo-icon +CPE_NAME="cpe:/o:fedoraproject:fedora:38" +DEFAULT_HOSTNAME="fedora" +HOME_URL="https://fedoraproject.org/" +DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/" +SUPPORT_URL="https://ask.fedoraproject.org/" +BUG_REPORT_URL="https://bugzilla.redhat.com/" +REDHAT_BUGZILLA_PRODUCT="Fedora" +REDHAT_BUGZILLA_PRODUCT_VERSION=38 +REDHAT_SUPPORT_PRODUCT="Fedora" +REDHAT_SUPPORT_PRODUCT_VERSION=38 +SUPPORT_END=2024-05-14 +VARIANT="Container Image" +VARIANT_ID=container diff --git a/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/redhat-release b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/redhat-release new file mode 100644 index 000000000..4f4a9a63e --- /dev/null +++ b/src/test/resources/org/jvnet/hudson/plugins/platformlabeler/fedora/38/redhat-release @@ -0,0 +1 @@ +Fedora release 38 (Thirty Eight)