]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Using anothre image for CentOS 8 stream
authorFrank Brehm <frank@brehm-online.com>
Fri, 1 Apr 2022 13:49:59 +0000 (15:49 +0200)
committerFrank Brehm <frank@brehm-online.com>
Fri, 1 Apr 2022 13:49:59 +0000 (15:49 +0200)
.gitlab-ci.yml

index 31fbfff6e4496016fa2252d5d81815e63fe7d53f..984505a4be6525cfb4a2855f8e75e3230fc40350 100644 (file)
@@ -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: