aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-01-04 15:01:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-01-04 15:01:08 -0300
commit8ccc51dd279a7c2636df5e22e7f3a1effd38bbd6 (patch)
tree11fc0918905e84c12a11ae2f6e488d85fa44e1e2
parentb9eee2c6e44b24ae6488498e83ff24e9864813b3 (diff)
downloadkeyringer-8ccc51dd279a7c2636df5e22e7f3a1effd38bbd6.tar.gz
keyringer-8ccc51dd279a7c2636df5e22e7f3a1effd38bbd6.tar.bz2
Fix: CI: debian: pbuilder configuration (#10) (1)
-rw-r--r--.gitlab-ci.yml15
1 files 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