]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Trying to fix package build in stage develop
authorFrank Brehm <frank@brehm-online.com>
Fri, 1 Apr 2022 13:00:00 +0000 (15:00 +0200)
committerFrank Brehm <frank@brehm-online.com>
Fri, 1 Apr 2022 13:00:00 +0000 (15:00 +0200)
.gitlab-ci.yml

index 4e8293b608472df91ce6da50fd2abb6b829fefec..b6c262310b497dda09df4805f7d444cd1ab6eba2 100644 (file)
@@ -169,6 +169,7 @@ Linter:
       - rpmdir/SRPMS/*.src.rpm
     expire_in: '1 week'
   before_script:
+    - ls -lA --color=always /etc/yum.repos.d
     - |
       echo "All locales"
       locale -a
@@ -178,6 +179,8 @@ Linter:
         echo "${USED_LOCALE}.${USED_CHARSET}"
         localedef --charmap UTF-8 --inputfile "${USED_LOCALE}" "${USED_LC}"
       else
+        ${YUM} clean all
+        ${YUM} makecache
         dnf --assumeyes install langpacks-en glibc-all-langpacks
       fi
     - |
@@ -207,7 +210,7 @@ Linter:
       echo
       echo "Generated /etc/yum.repos.d/pixelpark.repo:"
       cat /etc/yum.repos.d/pixelpark.repo
-    - yum makecache
+    - ${YUM} makecache
     - ${YUM} --assumeyes upgrade
     - ${YUM} --assumeyes install ${PYTHON_PACKAGES} gnupg2 rpm-build gettext
     - ls -l --color=always /bin/python* /bin/pip* || true