"version_name": dist,
"pkg_type": "NONE",
]
- def matcher = dist =~ /^(centos|rhel|fedora)(\d+)/
+ def matcher = dist =~ /^(centos|rhel|rocky|fedora)(\d+)/
if ( matcher.find() ) {
os.name = matcher.group(1)
os.version = os.version_name = matcher.group(2)
echo "DEB_BUILD_PROFILES${DEB_BUILD_PROFILES}" >> .env
'''
bwc_command = "${bwc_command} -e debs"
- } else if ( env.DIST =~ /^(centos|rhel|fedora).*/ ) {
+ } else if ( env.DIST =~ /^(centos|rhel|rocky|fedora).*/ ) {
def rpmbuild_args = ""
if ( env.SCCACHE == "true" ) rpmbuild_args += " -R--with=sccache"
if ( env.DWZ == "false" ) rpmbuild_args += " -R--without=dwz"
${bwc_command_base} -e custom -- "dpkg-deb --fsys-tarfile /ceph/debs/*/pool/main/c/ceph/cephadm_${VERSION}*.deb | tar -x -f - --strip-components=3 ./usr/sbin/cephadm"
ln ./cephadm ../../
"""
- } else if ( env.DIST =~ /^(centos|rhel|fedora).*/ ) {
+ } else if ( env.DIST =~ /^(centos|rhel|rocky|fedora).*/ ) {
sh """#!/bin/bash -ex
cd dist/ceph
${bwc_command_base} -e custom -- "rpm2cpio /ceph/rpmbuild/RPMS/noarch/cephadm-*.rpm | cpio -i --to-stdout *sbin/cephadm > cephadm"