From 75101d5f6c2590daad4517c18d92de93383bfe25 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 1 Apr 2022 15:49:59 +0200 Subject: [PATCH] Using anothre image for CentOS 8 stream --- .gitlab-ci.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 31fbfff..984505a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -170,17 +170,17 @@ Linter: expire_in: '1 week' before_script: - ls -lA --color=always /etc/yum.repos.d - - | - if [[ "${EL_MAJOR_VERSION}" -ge "8" ]] ; then - echo "Manipulating repo files in CentOS 8 ..." - for repo_file in /etc/yum.repos.d/CentOS-Linux*.repo ; do - if [[ -f "${repo_file}" ]] ; then - echo -e "\nChanging ${repo_file} ..." - sed -i -e 's/^mirrorlist/# mirrorlist/' -e 's/^#[ ]*baseurl[ ]*=/baseurl=/' "${repo_file}" - cat "${repo_file}" - fi - done - fi +# - | +# if [[ "${EL_MAJOR_VERSION}" -ge "8" ]] ; then +# echo "Manipulating repo files in CentOS 8 ..." +# for repo_file in /etc/yum.repos.d/CentOS-Linux*.repo ; do +# if [[ -f "${repo_file}" ]] ; then +# echo -e "\nChanging ${repo_file} ..." +# sed -i -e 's/^mirrorlist/# mirrorlist/' -e 's/^#[ ]*baseurl[ ]*=/baseurl=/' "${repo_file}" +# cat "${repo_file}" +# fi +# done +# fi - ${YUM} clean all - ${YUM} makecache - | @@ -297,7 +297,8 @@ build CentOS 8 with Python 3.8: PYTHON_VERSION_NODOT: '38' extends: - '.pkg-build-rules' - image: centos:8 + # image: centos:8 + image: dokken/centos-stream-8 # --------------------------- .pkg-sign-rules: -- 2.39.5