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

update rhel8 os package #1270

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

ErikJiang
Copy link
Member

@ErikJiang ErikJiang commented Jun 13, 2024

What type of PR is this?

/kind bug

What this PR does / why we need it:

https://github.com/kubean-io/kubean/actions/runs/9480615036/job/26121701297

> [linux/amd64 os-redhat8 2/7] RUN ARCH=$(uname -m)     && dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos -y     && dnf distro-sync -y     && dnf install -q -y yum-utils createrepo epel-release wget     && dnf install -q -y [http://mirror.centos.org/centos/8-stream/AppStream/${ARCH}/os/Packages/modulemd-tools-0.7-6.el8.noarch.rpm](http://mirror.centos.org/centos/8-stream/AppStream/$%7BARCH%7D/os/Packages/modulemd-tools-0.7-6.el8.noarch.rpm)     && yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo     && dnf makecache:
0.768 CentOS Linux 8 - Extras                          18 kB/s | 7.9 kB     00:00    
0.769 Errors during downloading metadata for repository 'extras':
0.769   - Status code: 404 for http://mirror.centos.org/centos/8/extras/x86_64/os/repodata/repomd.xml (IP: 65.181.111.3)
0.771 Error: Failed to download metadata for repo 'extras': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

The majority of the yum repos in the centos:8 image have been deprecated and can no longer provide support for building OS packages. At the moment, rockylinux:8 appears to be a good replacement option to succeed centos:8.

CI Verification Results: https://github.com/ErikJiang/kubean/actions/runs/9496080733/job/26169720371

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@ErikJiang ErikJiang added the kind/bug Categorizes issue or PR as related to a bug. label Jun 13, 2024
@ErikJiang ErikJiang added this to the kubean 0.16 milestone Jun 13, 2024
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
@ErikJiang ErikJiang merged commit 932f5c2 into kubean-io:main Jun 13, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants