From 8ccc51dd279a7c2636df5e22e7f3a1effd38bbd6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 4 Jan 2025 15:01:08 -0300 Subject: Fix: CI: debian: pbuilder configuration (#10) (1) --- .gitlab-ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 004a983..a9680b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- cgit v1.2.3