eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.95k stars 1.19k forks source link

Devfile Registry builder tool broken when using --rhel option #22528

Closed rafaeltuelho closed 7 months ago

rafaeltuelho commented 11 months ago

Describe the bug

Trying to build a custom Devfile Registry using the build.sh script from https://github.com/eclipse-che/che-devfile-registry, but when I choose the RHEL (actually Centos) based image passing the --rhel option the build breaks:

error: cannot update repo 'centos-8-for-appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for http://mirror.centos.org/centos-8/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 64.176.215.221)
+ microdnf --enablerepo=fedora30-updates --enablerepo=fedora30-secondary-updates install -y skopeo jq

This happens because the Centos 8 Appstream was deprecated and is not available anymore: http://mirror.centos.org/centos-8/8/AppStream

Che version

7.74@latest

Steps to reproduce

  1. clone https://github.com/eclipse-che/che-devfile-registry
  2. run build.sh using --rhel

Expected behavior

Build a Devfile Registry image using RHEL Ubi8 base image

Runtime

OpenShift

Screenshots

No response

Installation method

OperatorHub

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

ibuziuk commented 7 months ago

@svor can we close the issue now?