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
- |
PYTHON_VERSION_NODOT: '38'
extends:
- '.pkg-build-rules'
- image: centos:8
+ # image: centos:8
+ image: dokken/centos-stream-8
# ---------------------------
.pkg-sign-rules: