Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph-dev: revive centos 8 builds for quincy and reef using vault.centos.org repos #2272

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ceph-dev-cron/config/definitions/ceph-dev-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

builders:
# build quincy on:
# default: focal centos9 leap15
# default: focal centos8 centos9 leap15
- conditional-step:
condition-kind: regex-match
regex: .*quincy.*
Expand All @@ -55,9 +55,9 @@
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=focal centos9 leap15
DISTROS=focal centos8 centos9 leap15
# build reef on:
# default: jammy focal centos9 windows
# default: jammy focal centos8 centos9 windows
# crimson: centos9
- conditional-step:
condition-kind: regex-match
Expand All @@ -74,7 +74,7 @@
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=jammy focal centos9 windows
DISTROS=jammy focal centos8 centos9 windows
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
Expand Down
11 changes: 9 additions & 2 deletions ceph-dev-new-build/build/setup_rpm
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@ if test $(id -u) != 0 ; then
fi
export LC_ALL=C # the following is vulnerable to i18n

$SUDO yum install -y yum-utils

get_rpm_dist

if [ "$DIST" = el8 ]; then
# after centos stream 8 eol, its repos were moved to vault.centos.org
$SUDO sed -i -e 's|mirrorlist|#mirrorlist|g' \
-e 's|#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' \
/etc/yum.repos.d/*.repo
fi

$SUDO yum install -y yum-utils

BRANCH=`branch_slash_filter $BRANCH`

if [[ ! -f /etc/redhat-release && ! -f /usr/bin/zypper ]] ; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
FORCE=True
DISTROS=focal bionic centos8 windows
# build quincy on:
# default: focal jammy centos9 leap15
# default: focal jammy centos8 centos9 leap15
- conditional-step:
condition-kind: regex-match
regex: .*quincy.*
Expand All @@ -134,9 +134,9 @@
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=focal jammy centos9 leap15
DISTROS=focal jammy centos8 centos9 leap15
# build reef on:
# default: jammy focal centos9 windows
# default: jammy focal centos8 centos9 windows
# crimson: centos9
- conditional-step:
condition-kind: regex-match
Expand All @@ -153,7 +153,7 @@
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
DISTROS=jammy focal centos9 windows
DISTROS=jammy focal centos8 centos9 windows
- project: 'ceph-dev-new'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
Expand Down