Skip to content

Replace centos by rocky #69

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

Closed
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
e2e:
strategy:
matrix:
distro: [centos8, centos9, fedora41]
distro: [rocky8, rocky9, fedora41]

runs-on: ubuntu-latest
steps:
Expand Down
13 changes: 2 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,7 @@ ARG POLICY
# to build the SELinux policies and package them as RPM for each
# of the target platforms.

FROM quay.io/centos/centos:stream8 AS centos8

# Stream8 is now EOL and the DNS it relied on for mirror lists
# (mirrorlist.centos.org), no longer resolves.
# The adhoc solution is to disable the use of the mirrorlist and default
# to vault.centos.org instead.
#
# https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
FROM rockylinux:8 AS rocky8

RUN yum install -y \
createrepo_c \
Expand All @@ -24,7 +15,7 @@ RUN yum install -y \
rpm-build \
rpm-sign

FROM quay.io/centos/centos:stream9 AS centos9
FROM rockylinux:9 AS rocky9
RUN yum install -y \
createrepo_c \
epel-release \
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions hack/upload
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ function aws_auth()
function upload_artefacts()
{
case "${POLICY}" in
"centos8")
S3_POLICY_DIR="centos/8"
"rocky8")
S3_POLICY_DIR="rocky/8"
;;
"centos9")
S3_POLICY_DIR="centos/9"
"rocky9")
S3_POLICY_DIR="rocky/9"
;;
"fedora41")
S3_POLICY_DIR="fedora/41"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading