From 8716fdc472717a7deb21caa5e4613a15f0078ed1 Mon Sep 17 00:00:00 2001 From: romeroalx Date: Tue, 4 Jun 2024 11:16:18 +0200 Subject: [PATCH] remove centos-8 and centos-8-stream as build targets --- .github/workflows/builder.yml | 1 - .../dockerfiles/Dockerfile.target.centos-8 | 34 ------------------- .../Dockerfile.target.centos-8-amd64 | 1 - .../Dockerfile.target.centos-8-arm64 | 1 - .../Dockerfile.target.centos-8-stream | 1 - 5 files changed, 38 deletions(-) delete mode 100644 builder-support/dockerfiles/Dockerfile.target.centos-8 delete mode 120000 builder-support/dockerfiles/Dockerfile.target.centos-8-amd64 delete mode 120000 builder-support/dockerfiles/Dockerfile.target.centos-8-arm64 delete mode 120000 builder-support/dockerfiles/Dockerfile.target.centos-8-stream diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 8f1ab1cebb1e..0b75491f6112 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -28,7 +28,6 @@ jobs: - centos-7 - ubuntu-bionic - el-8 - - centos-8-stream - centos-9-stream - ubuntu-jammy - ubuntu-lunar diff --git a/builder-support/dockerfiles/Dockerfile.target.centos-8 b/builder-support/dockerfiles/Dockerfile.target.centos-8 deleted file mode 100644 index ae0e4c9ab932..000000000000 --- a/builder-support/dockerfiles/Dockerfile.target.centos-8 +++ /dev/null @@ -1,34 +0,0 @@ -# First do the source builds -@INCLUDE Dockerfile.target.sdist - -# This defines the distribution base layer -# Put only the bare minimum of common commands here, without dev tools -@IF [ ${BUILDER_TARGET} = centos-8 ] -FROM centos:8 as dist-base -@ENDIF -@IF [ ${BUILDER_TARGET} = centos-8-stream ] -FROM quay.io/centos/centos:stream8 as dist-base -@ENDIF -@IF [ ${BUILDER_TARGET} = centos-8-amd64 ] -FROM amd64/centos:8 as dist-base -@ENDIF -@IF [ ${BUILDER_TARGET} = centos-8-arm64 ] -FROM arm64v8/centos:8 as dist-base -@ENDIF - -ARG BUILDER_CACHE_BUSTER= - -@IF [[ $BUILDER_TARGET = centos-*-stream ]] -RUN touch /var/lib/rpm/* && dnf swap -y centos-linux-repos centos-stream-repos && dnf -y distro-sync -@ENDIF - -RUN touch /var/lib/rpm/* && dnf install -y epel-release && \ - dnf install -y 'dnf-command(config-manager)' && \ - dnf config-manager --set-enabled powertools - -# Do the actual rpm build -@INCLUDE Dockerfile.rpmbuild - -# Do a test install and verify -# Can be skipped with skiptests=1 in the environment -# @EXEC [ "$skiptests" = "" ] && include Dockerfile.rpmtest diff --git a/builder-support/dockerfiles/Dockerfile.target.centos-8-amd64 b/builder-support/dockerfiles/Dockerfile.target.centos-8-amd64 deleted file mode 120000 index cfe890509a46..000000000000 --- a/builder-support/dockerfiles/Dockerfile.target.centos-8-amd64 +++ /dev/null @@ -1 +0,0 @@ -Dockerfile.target.centos-8 \ No newline at end of file diff --git a/builder-support/dockerfiles/Dockerfile.target.centos-8-arm64 b/builder-support/dockerfiles/Dockerfile.target.centos-8-arm64 deleted file mode 120000 index cfe890509a46..000000000000 --- a/builder-support/dockerfiles/Dockerfile.target.centos-8-arm64 +++ /dev/null @@ -1 +0,0 @@ -Dockerfile.target.centos-8 \ No newline at end of file diff --git a/builder-support/dockerfiles/Dockerfile.target.centos-8-stream b/builder-support/dockerfiles/Dockerfile.target.centos-8-stream deleted file mode 120000 index cfe890509a46..000000000000 --- a/builder-support/dockerfiles/Dockerfile.target.centos-8-stream +++ /dev/null @@ -1 +0,0 @@ -Dockerfile.target.centos-8 \ No newline at end of file