]> Frank Brehm's Git Trees - pixelpark/python-packaging.git/commitdiff
Adding needs
authorFrank Brehm <frank@brehm-online.com>
Thu, 29 Dec 2022 16:37:08 +0000 (17:37 +0100)
committerFrank Brehm <frank@brehm-online.com>
Thu, 29 Dec 2022 16:37:08 +0000 (17:37 +0100)
gitlab/build-python-packages.yaml
gitlab/build-template-python.yaml
gitlab/linter.yaml

index 8cad32ba8b23496120bc451074f195b30273c5c2..6780f3ecd946e7ac711f47c4263390f9f85f3f52 100644 (file)
@@ -12,6 +12,8 @@ build CentOS 7 with Python 3.6:
     PYTHON_VERSION_NODOT: '36'
   extends:
     - '.setup-build-environment'
+  needs:
+    - 'Linter'
   image: centos:7
 
 # ---------------------------
@@ -23,6 +25,8 @@ build CentOS 8 with Python 3.8:
     PYTHON_VERSION_NODOT: '38'
   extends:
     - '.setup-build-environment'
+  needs:
+    - 'Linter'
   image: dokken/centos-stream-8
 
 # ---------------------------
@@ -34,6 +38,8 @@ build CentOS 9 with Python 3:
     PYTHON_VERSION_NODOT: '3'
   extends:
     - '.setup-build-environment'
+  needs:
+    - 'Linter'
   image: dokken/centos-stream-9
 
 # vim: et tabstop=2 expandtab shiftwidth=2 softtabstop=2 list
index 458279c28e694de3eb484ec78714c57960c5669b..82a0f39e8838a01e472bbc45a3817e71392d19db 100644 (file)
@@ -109,11 +109,13 @@ variables:
       fi
       echo -e "\e[0Ksection_end:$( date +%s ):install_locales\r\e[0K"
     - |
+      echo -e "\e[0Ksection_start:$( date +%s ):all_locales[collapsed=true]\r\e[0KAll locales"
       echo "All locales"
       locale -a
       echo
       echo "locales:"
       locale
+      echo -e "\e[0Ksection_end:$( date +%s ):all_locales\r\e[0K"
     - |
       echo
       echo "Exporting LC_ALL ..."
@@ -272,8 +274,8 @@ variables:
       echo -e "\e[0Ksection_end:$( date +%s ):specfile\r\e[0K"
     - |
       echo "Creating ${HOME}/.rpmmacros ..."
-      echo "%__python3 /bin/python${PYTHON_VERSION_DOT}" > "${HOME}/.rpmmacros"
-      echo "%_signature gpg" >> "${HOME}/.rpmmacros"
+      echo "%__python3 /bin/python${PYTHON_VERSION_DOT}" >  "${HOME}/.rpmmacros"
+      echo "%_signature gpg"                             >> "${HOME}/.rpmmacros"
       echo "Generated ${HOME}/.rpmmacros:"
       cat "${HOME}/.rpmmacros"
     - |
index 860a873e14d4292eb0514ef2c71618cb253ec41d..e7105ad5cd271806e0a4a110511136e13cb237a4 100644 (file)
@@ -18,6 +18,13 @@ Linter:
     - if: $CI_COMMIT_BRANCH =~ /test-.*/
     - if: $CI_COMMIT_BRANCH =~ /build.*/
     - if: $CI_COMMIT_BRANCH == "develop"
+  needs:
+    - 'test Python 3.6'
+    - 'test Python 3.7'
+    - 'test Python 3.8'
+    - 'test Python 3.9'
+    - 'test Python 3.10'
+    - 'test Python 3.11'
   tags:
     - docker
   before_script: