Remove CentOS 8/Debian 10 support

stable/yoga and older branches are transitioning to EOL, so we no
longer have active branches which support CentOS 8 or Debian 10.

Change-Id: Ie8a9fbac392ec8f2383ffef836f141ae1d713e93
This commit is contained in:
Takashi Kajinami 2024-02-06 19:18:06 +09:00
parent 489e312416
commit 33f21f4416
4 changed files with 6 additions and 14 deletions

View File

@ -118,12 +118,7 @@ not on ${facts['os']['name']}, which can lead to packaging issues.")
if $ceph_mirror {
$ceph_mirror_real = $ceph_mirror
} else {
# NOTE(tobias-urdin): mirror.centos.org doesnt have https support
if versioncmp($el, '9') >= 0 {
$centos_mirror = 'https://mirror.stream.centos.org/SIGs'
} else {
$centos_mirror = 'http://mirror.centos.org/centos'
}
$centos_mirror = 'https://mirror.stream.centos.org/SIGs'
$ceph_mirror_real = "${centos_mirror}/${el}-stream/storage/x86_64/ceph-${release}/"
}
yumrepo { 'ceph-storage-sig':

View File

@ -17,7 +17,6 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11",
"12"
]
@ -25,14 +24,12 @@
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"8",
"9"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"8",
"9"
]
},

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
CentOS 8, RHEL 8 and Debian 10 are no longer supported.

View File

@ -417,11 +417,7 @@ describe 'ceph::repo' do
if facts[:os]['name'] == 'CentOS'
let (:platform_params) do
if facts[:os]['release']['major'].to_i >= 9
{ :centos_mirror => 'https://mirror.stream.centos.org/SIGs' }
else
{ :centos_mirror => 'http://mirror.centos.org/centos' }
end
{ :centos_mirror => 'https://mirror.stream.centos.org/SIGs' }
end
it_behaves_like 'ceph::repo on CentOS'
end