From 3ffffd4dd25d5678c0866498c1100c9aaaafaf20 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Mon, 5 Aug 2024 19:58:31 -0500 Subject: [PATCH] deprecate the centos7 and rhubi7 userenvs - Centos 7 is EOL and this breaks both of these userenvs --- userenvs/centos7.json | 169 ----------------------------------------- userenvs/rhubi7.json | 172 ------------------------------------------ 2 files changed, 341 deletions(-) delete mode 100644 userenvs/centos7.json delete mode 100644 userenvs/rhubi7.json diff --git a/userenvs/centos7.json b/userenvs/centos7.json deleted file mode 100644 index 1bfb7402..00000000 --- a/userenvs/centos7.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "workshop": { - "schema": { - "version": "2023.02.16" - } - }, - "userenv": { - "name": "centos7", - "label": "CentOS 7", - "origin": { - "image": "quay.io/centos/centos", - "tag": "7" - }, - "properties": { - "platform": [ - { - "architecture": "x86_64" - } - ], - "packages": { - "type": "rpm", - "manager": "yum" - } - } - }, - "requirements": [ - { - "name": "scl", - "type": "distro", - "distro_info": { - "packages": [ - "centos-release-scl" - ] - } - }, - { - "name": "python38", - "type": "distro", - "distro_info": { - "packages": [ - "rh-python38", - "rh-python38-python-pip", - "rh-python38-python-devel" - ] - } - }, - { - "name": "epel7", - "type": "distro-manual", - "distro-manual_info": { - "packages": [ - "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" - ] - } - }, - { - "name": "utils", - "type": "distro", - "distro_info": { - "packages": [ - "curl", - "tar", - "cpio", - "gzip", - "jq", - "git", - "cpio", - "findutils", - "hostname", - "iputils", - "elfutils-libelf", - "elfutils-libelf-devel", - "openssl", - "openssl-devel", - "xz", - "xz-devel", - "libcap", - "libzstd", - "libzstd-devel", - "libcap-devel", - "which" - ] - } - }, - { - "name": "core-compiling", - "type": "distro", - "distro_info": { - "packages": [ - "diffutils", - "gcc", - "libtool", - "autoconf", - "automake", - "make", - "clang", - "slang-devel", - "elfutils-libelf-devel", - "openssl-devel", - "xz-devel", - "zlib-devel", - "libcap-devel", - "libnl3-devel", - "numactl-devel", - "java-1.8.0-openjdk", - "libpfm" - ] - } - }, - { - "name": "extra-compiling", - "type": "distro", - "distro_info": { - "packages": [ - "flex", - "bison" - ] - } - }, - { - "name": "iproute_src", - "type": "source", - "source_info": { - "url": "https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.9.0.tar.xz", - "filename": "iproute2-5.9.0.tar.xz", - "commands": { - "unpack": "tar -xJf iproute2-5.9.0.tar.xz", - "get_dir": "tar -tJf iproute2-5.9.0.tar.xz| head -n 1", - "commands": [ - "./configure", - "make", - "make install", - "ldconfig", - "/usr/sbin/ip -V" - ] - } - } - }, - { - "name": "post-python", - "type": "manual", - "manual_info": { - "commands": [ - "alternatives --install /usr/bin/python3 python3 /opt/rh/rh-python38/root/usr/bin/python3 1", - "alternatives --install /usr/bin/python3-config python3-config /opt/rh/rh-python38/root/usr/bin/python3-config 1", - "alternatives --install /usr/bin/pip3 pip3 /opt/rh/rh-python38/root/usr/bin/pip3 1" - ] - } - }, - { - "name": "core-perl", - "type": "distro", - "distro_info": { - "packages": [ - "perl-App-cpanminus" - ] - } - }, - { - "name": "core-node", - "type": "distro", - "distro_info": { - "packages": [ - "nodejs" - ] - } - } - ] -} diff --git a/userenvs/rhubi7.json b/userenvs/rhubi7.json deleted file mode 100644 index aa7a8bf4..00000000 --- a/userenvs/rhubi7.json +++ /dev/null @@ -1,172 +0,0 @@ -{ - "workshop": { - "schema": { - "version": "2023.02.16" - } - }, - "userenv": { - "name": "rhubi7", - "label": "Red Hat UBI 7", - "origin": { - "image": "registry.access.redhat.com/ubi7/ubi", - "tag": "latest" - }, - "properties": { - "platform": [ - { - "architecture": "x86_64" - } - ], - "packages": { - "type": "rpm", - "manager": "yum" - } - } - }, - "requirements": [ - { - "name": "centos7-repos", - "type": "files", - "files_info": { - "files": [ - { - "src": "%rickshaw-dir%/userenvs/requirement-sources/centos7.repo", - "dst": "/etc/yum.repos.d" - } - ] - } - }, - { - "name": "python38", - "type": "distro", - "distro_info": { - "packages": [ - "rh-python38", - "rh-python38-python-pip", - "rh-python38-python-devel" - ] - } - }, - { - "name": "post-python", - "type": "manual", - "manual_info": { - "commands": [ - "alternatives --install /usr/bin/python3 python3 /opt/rh/rh-python38/root/usr/bin/python3 1", - "alternatives --install /usr/bin/python3-config python3-config /opt/rh/rh-python38/root/usr/bin/python3-config 1", - "alternatives --install /usr/bin/pip3 pip3 /opt/rh/rh-python38/root/usr/bin/pip3 1" - ] - } - }, - { - "name": "core-compiling", - "type": "distro", - "distro_info": { - "packages": [ - "diffutils", - "gcc", - "libtool", - "autoconf", - "automake", - "make", - "clang", - "slang-devel", - "elfutils-libelf-devel", - "openssl-devel", - "xz-devel", - "zlib-devel", - "libcap-devel", - "libnl3-devel", - "numactl-devel", - "java-1.8.0-openjdk", - "libpfm" - ] - } - }, - { - "name": "epel7", - "type": "distro-manual", - "distro-manual_info": { - "packages": [ - "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" - ] - } - }, - { - "name": "utils", - "type": "distro", - "distro_info": { - "packages": [ - "curl", - "tar", - "cpio", - "gzip", - "jq", - "git", - "cpio", - "findutils", - "hostname", - "iputils", - "elfutils-libelf", - "elfutils-libelf-devel", - "openssl", - "openssl-devel", - "xz", - "xz-devel", - "libcap", - "libzstd", - "libzstd-devel", - "libcap-devel", - "which" - ] - } - }, - { - "name": "extra-compiling", - "type": "distro", - "distro_info": { - "packages": [ - "flex", - "bison" - ] - } - }, - { - "name": "iproute2", - "type": "source", - "source_info": { - "url": "https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.9.0.tar.xz", - "filename": "iproute2.tar.xz", - "commands": { - "unpack": "tar -xJf iproute2.tar.xz", - "get_dir": "tar -tJf iproute2.tar.xz | head -n 1", - "commands": [ - "./configure", - "make", - "make install", - "ip -Version" - ] - } - } - }, - { - "name": "core-perl", - "type": "manual", - "manual_info": { - "commands": [ - "yum -v -y install perl-core", - "curl --silent -L https://cpanmin.us | /usr/bin/perl - App::cpanminus" - ] - } - }, - { - "name": "core-node", - "type": "distro", - "distro_info": { - "packages": [ - "nodejs" - ] - } - } - ] -}