]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Fix: CI: debian: pbuilder configuration (#10) (1)
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 4 Jan 2025 18:01:08 +0000 (15:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 4 Jan 2025 18:01:08 +0000 (15:01 -0300)
.gitlab-ci.yml

index 004a9830d88986c39d1a3e3b578e677b1557164c..a9680b917a7c495ed87e93dfa2b69284164aa172 100644 (file)
@@ -2,19 +2,26 @@
 debian:
   image: debian:stable
   script:
+    # Configure pbuilder
+    - echo 'DISTRIBUTION=sid'                           > /etc/pbuilderrc
+    - echo 'MIRRORSITE=http://http.debian.net/debian/' >> /etc/pbuilderrc
+
+    # Install dependencies
     - apt-get update
     - apt-get install -y git
     - apt-get install -y git-buildpackage lintian piuparts
-    - echo 'DISTRIBUTION=sid'                       > ~/.pbuilderrc
-    - echo 'MIRRORSITE="ftp.us.debian.org/debian"' >> ~/.pbuilderrc
+
+    # Build the package
     - git checkout debian
     - gbp buildpackage --git-ignore-new
+
+    # Run lintian and piuparts
     #- lintian --allow-root -v --pedantic ../keyringer_*.deb
     #- piuparts ../keyringer*.deb
+
+    # Save artifacts
     #- mkdir -p dist
     #- mv ../onionprobe_* dist
   artifacts:
     paths:
       - dist
-  #only:
-  #  - main