]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Continue with building RPM packages
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 14 Dec 2021 17:14:42 +0000 (18:14 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 14 Dec 2021 17:14:42 +0000 (18:14 +0100)
.gitlab-ci.yml
.yamllint.yaml

index ca8b6cc099c4d9cb391d6a565020a064b551eea0..efcc48f79cf8e5ba7500a87bfe4b5e3c60524782 100644 (file)
@@ -173,6 +173,20 @@ Linter:
     - |
       echo "Installing epel-release  ..."
       ${YUM} --assumeyes install epel-release
+    - |
+      echo "Adding Pixelpark YUM repo ..."
+      echo "[pixelpark]"                                                                    > /etc/yum.repos.d/pixelpark.repo
+      echo "name=pixelpark"                                                                >> /etc/yum.repos.d/pixelpark.repo
+      echo "baseurl=https://repo01.pixelpark.com/Linux/yum/pixelpark/${EL_MAJOR_VERSION}/" >> /etc/yum.repos.d/pixelpark.repo
+      echo "enabled=1"                                                                     >> /etc/yum.repos.d/pixelpark.repo
+      echo "gpgcheck=1"                                                                    >> /etc/yum.repos.d/pixelpark.repo
+      echo "gpgkey=https://repo01.pixelpark.com/gpg/pixelpark.gpg"                         >> /etc/yum.repos.d/pixelpark.repo
+      echo                                                                                 >> /etc/yum.repos.d/pixelpark.repo
+      echo
+      echo "Generated /etc/yum.repos.d/pixelpark.repo:"
+      cat /etc/yum.repos.d/pixelpark.repo
+    - yum makecache
+    - ${YUM} --assumeyes upgrade
   script:
     - mkdir -pv rpmdir
     - mkdir -pv rpmdir/SOURCES
index 298d97e08d8b1b80ec682cdf39eebadefcfeef0f..5a37a1b1bd817d79af080f5f6375dbcec664aa0f 100644 (file)
@@ -40,7 +40,7 @@ rules:
   line-length:
     level: warning
     allow-non-breakable-inline-mappings: true
-    max: 99
+    max: 199
   new-line-at-end-of-file: enable
   new-lines:
     type: unix