Skip to content

Commit

Permalink
Enable Alma9 and use Ceph Quincy as opposed to Octopus
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Jan 9, 2024
1 parent 95934b2 commit 6a5a24a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
container: [cern/cc7-base, cern/alma8-base]
container: [cern/cc7-base, cern/alma8-base, cern/alma9-base]
permissions:
contents: write
container: ${{ matrix.container }}
Expand All @@ -33,7 +33,7 @@ jobs:
source /etc/os-release
OSMAJ="$(echo $VERSION_ID | cut -c1)"
cat reva-release/ceph.repo.in | sed "s/OSMAJOR/$OSMAJ/" > /etc/yum.repos.d/ceph.repo
[[ $OSMAJ -eq "7" ]] && sed -i "s/pacific/octopus/" /etc/yum.repos.d/ceph.repo && cp reva-release/endpoint.repo /etc/yum.repos.d/endpoint.repo && yum -y install yum-plugin-priorities && sed -i '/RemovePathPostfixes.*/d' reva-release/cernbox-revad.spec && echo "Adapted setup to CC7"
[[ $OSMAJ -eq "7" ]] && sed -i "s/quincy/octopus/" /etc/yum.repos.d/ceph.repo && cp reva-release/endpoint.repo /etc/yum.repos.d/endpoint.repo && yum -y install yum-plugin-priorities && sed -i '/RemovePathPostfixes.*/d' reva-release/cernbox-revad.spec && echo "Adapted setup to CC7"
yum install -y git wget make gcc gcc-c++ rpm-build glibc-static libcephfs-devel librbd-devel librados-devel
- name: Install golang
run: |
Expand Down
4 changes: 2 additions & 2 deletions ceph.repo.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[ceph]
name=Ceph pacific OSMAJOR
baseurl=https://linuxsoft.cern.ch/mirror/download.ceph.com/rpm-pacific/elOSMAJOR/$basearch
name=Ceph Quincy OSMAJOR
baseurl=https://linuxsoft.cern.ch/mirror/download.ceph.com/rpm-quincy/elOSMAJOR/$basearch
enabled=True
gpgcheck=1
gpgkey=http://linuxsoft.cern.ch/mirror/download.ceph.com/release.asc
Expand Down

0 comments on commit 6a5a24a

Please sign in to comment.