From e2f0d87484b0e971731fed3c7e488ddf3b8ef519 Mon Sep 17 00:00:00 2001 From: Michael Sherman Date: Tue, 22 Oct 2024 13:09:46 -0500 Subject: [PATCH] remove centos7, 8, 8-stream due to EoL centos 7, 8, and stream8 are all EoL, remove the builds and elements. stream9 is still supported through 2027 https://centos.org/stream9/ --- cc_images/images.yaml | 76 +------------------ elements/cc-centos/package-installs.yaml | 5 +- elements/cc-centos7/element-deps | 1 - .../cc-centos7/environment.d/01-centos-env | 5 -- elements/cc-centos7/package-installs.yaml | 3 - elements/cc-centos8-cuda/element-deps | 2 - elements/cc-centos8-stream-cuda/element-deps | 2 - elements/cc-centos8-stream/element-deps | 1 - .../environment.d/00-centos-env | 3 - .../install.d/02-use-python39 | 11 --- 10 files changed, 2 insertions(+), 107 deletions(-) delete mode 100644 elements/cc-centos7/element-deps delete mode 100755 elements/cc-centos7/environment.d/01-centos-env delete mode 100644 elements/cc-centos7/package-installs.yaml delete mode 100644 elements/cc-centos8-cuda/element-deps delete mode 100644 elements/cc-centos8-stream-cuda/element-deps delete mode 100644 elements/cc-centos8-stream/element-deps delete mode 100755 elements/cc-centos8-stream/environment.d/00-centos-env delete mode 100755 elements/cc-centos8-stream/install.d/02-use-python39 diff --git a/cc_images/images.yaml b/cc_images/images.yaml index c3a1dea..00f86ba 100644 --- a/cc_images/images.yaml +++ b/cc_images/images.yaml @@ -64,80 +64,6 @@ CC-Ubuntu24.04-CUDA: provenance: variant: gpu -CC-CentOS7: - provenance: - distro: centos - release: 7 - variant: base - -CC-CentOS7-CUDA: - depends: - - CC-CentOS7 - baremetal-only: true - provenance: - variant: gpu - -CC-CentOS7-Xilinx: - depends: - - CC-CentOS7 - baremetal-only: true - provenance: - variant: fpga - artifacts: - DIB_OPENCL_RUNFILE_URL: - object: FPGA/aocl-rte-16.0.0-1.x86_64.rpm - site: tacc - DIB_FPGA_BOARD_PACKAGE_ARCHIVE_URL: - object: FPGA/de5a_net_e1.tar.gz - site: tacc - DIB_QUARTUS_RUNFILE_URL: - object: FPGA/QuartusProProgrammerSetup-17.1.0.240-linux.run - site: tacc - -CC-CentOS7-Terasic: - depends: - - CC-CentOS7 - baremetal-only: true - provenance: - variant: fpga - artifacts: - DIB_OPENCL_RUNFILE_URL: - object: FPGA/aocl-rte-16.0.0-1.x86_64.rpm - site: tacc - DIB_FPGA_BOARD_PACKAGE_ARCHIVE_URL: - object: FPGA/de5a_net_e1.tar.gz - site: tacc - DIB_QUARTUS_RUNFILE_URL: - object: FPGA/QuartusProProgrammerSetup-17.1.0.240-linux.run - site: tacc - -CC-CentOS7-Nallatech: - depends: - - CC-CentOS7 - baremetal-only: true - provenance: - variant: fpga - artifacts: - DIB_OPENCL_RUNFILE_URL: - object: FPGA/aocl-rte-16.0.0-1.x86_64.rpm - site: tacc - DIB_FPGA_BOARD_PACKAGE_ARCHIVE_URL: - object: FPGA/nalla_pcie_16.0.2.tgz - site: tacc - -CC-CentOS8-Stream: - provenance: - distro: centos - release: 8-stream - variant: base - -CC-CentOS8-Stream-CUDA: - depends: - - CC-CentOS8-Stream - baremetal-only: true - provenance: - variant: gpu - CC-CentOS9-Stream: provenance: distro: centos @@ -149,4 +75,4 @@ CC-CentOS9-Stream-CUDA: - CC-CentOS9-Stream baremetal-only: true provenance: - variant: gpu \ No newline at end of file + variant: gpu diff --git a/elements/cc-centos/package-installs.yaml b/elements/cc-centos/package-installs.yaml index 08ddf20..765c28b 100644 --- a/elements/cc-centos/package-installs.yaml +++ b/elements/cc-centos/package-installs.yaml @@ -1,10 +1,7 @@ --- dhcp-client: -redhat-lsb-core: - # Deprecated in CentOS 9 - when: DIB_RELEASE != 9-stream redhat-rpm-config: rpm-build: rpm-sign: nscd: -chrony: \ No newline at end of file +chrony: diff --git a/elements/cc-centos7/element-deps b/elements/cc-centos7/element-deps deleted file mode 100644 index 99d6759..0000000 --- a/elements/cc-centos7/element-deps +++ /dev/null @@ -1 +0,0 @@ -cc-centos \ No newline at end of file diff --git a/elements/cc-centos7/environment.d/01-centos-env b/elements/cc-centos7/environment.d/01-centos-env deleted file mode 100755 index 41d3b3f..0000000 --- a/elements/cc-centos7/environment.d/01-centos-env +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -export DIB_RELEASE=7 -# Yum does not support python3 on CentOS 7, so we can't make python3 default. -export DIB_DISABLE_DEFAULT_PYTHON3=1 diff --git a/elements/cc-centos7/package-installs.yaml b/elements/cc-centos7/package-installs.yaml deleted file mode 100644 index 686a101..0000000 --- a/elements/cc-centos7/package-installs.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -# Not included automatically in CentOS 7's python3 package -python3-wheel: diff --git a/elements/cc-centos8-cuda/element-deps b/elements/cc-centos8-cuda/element-deps deleted file mode 100644 index a5cf7f1..0000000 --- a/elements/cc-centos8-cuda/element-deps +++ /dev/null @@ -1,2 +0,0 @@ -cc-centos-cuda -cc-centos7 \ No newline at end of file diff --git a/elements/cc-centos8-stream-cuda/element-deps b/elements/cc-centos8-stream-cuda/element-deps deleted file mode 100644 index 36d9ec0..0000000 --- a/elements/cc-centos8-stream-cuda/element-deps +++ /dev/null @@ -1,2 +0,0 @@ -cc-centos-cuda -cc-centos8-stream \ No newline at end of file diff --git a/elements/cc-centos8-stream/element-deps b/elements/cc-centos8-stream/element-deps deleted file mode 100644 index 99d6759..0000000 --- a/elements/cc-centos8-stream/element-deps +++ /dev/null @@ -1 +0,0 @@ -cc-centos \ No newline at end of file diff --git a/elements/cc-centos8-stream/environment.d/00-centos-env b/elements/cc-centos8-stream/environment.d/00-centos-env deleted file mode 100755 index 1ae8fd2..0000000 --- a/elements/cc-centos8-stream/environment.d/00-centos-env +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -export DIB_RELEASE=8-stream diff --git a/elements/cc-centos8-stream/install.d/02-use-python39 b/elements/cc-centos8-stream/install.d/02-use-python39 deleted file mode 100755 index b207800..0000000 --- a/elements/cc-centos8-stream/install.d/02-use-python39 +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then - set -x -fi -set -eu -set -o pipefail - -# The default python version for CentOS 8 is python3.6, which is EOL -# A more up-to-date python is required to install our openstack clients -update-alternatives --set python3 "$(which python3.9)"