diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2025-01-04 17:46:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2025-01-04 17:46:37 -0300 |
commit | 5084a7305ec2684e8b8957da888788be99b3efeb (patch) | |
tree | 883017c9e2d68cccf7caf78ee888fab7e51fceba | |
parent | 7b4ee962c58b873df2013834cc1aac9b57bfce81 (diff) | |
download | keyringer-5084a7305ec2684e8b8957da888788be99b3efeb.tar.gz keyringer-5084a7305ec2684e8b8957da888788be99b3efeb.tar.bz2 |
Fix: CI: some adjustments (#10)
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6df338..6a27e8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,7 @@ --- +variables: + KEYRINGER_NON_INTERACTIVE: "1" + debian: image: debian:testing script: @@ -41,7 +44,8 @@ debian: - gbp buildpackage --git-ignore-new --git-upstream-signatures=no --git-no-sign-tags -us -uc # Run lintian - #- lintian --allow-root -v --pedantic ../keyringer_*.deb + # Usually gbp-buildpackage already calls lintian, but we run it again just to make sure + - lintian --allow-root -v --pedantic ../keyringer_*.deb # Run piuparts #- piuparts ../keyringer*.deb @@ -73,8 +77,9 @@ test: - mkdir -p ~/temp/tests - git config --global user.name 'Test' - git config --global user.email 'test@example.org' - - KEYRINGER_NON_INTERACTIVE=1 ./keyringer test init ~/temp/tests/keyringer - - gpg --with-colons --list-keys | grep uid | awk -F ':' '{ x = $10; gsub(/.*</, "", x); gsub(/>/, "", x); print x, $8; }' >> ~/temp/tests/keyringer/config/recipients/default + - ./keyringer test init ~/temp/tests/keyringer + - gpg --with-colons --list-keys | grep "^uid" | awk -F ':' '{ x = $10; gsub(/.*</, "", x); gsub(/>/, "", x); print x, $8; }' >> ~/temp/tests/keyringer/config/recipients/default + - ./keyringer test recipients ls # Test the keyring in the develop branch # This will also test the expiration of the upstream signing key @@ -82,6 +87,3 @@ test: # Tear down the keyring in the develop branch - ./keyringer test teardown -y - - # Test in the main branch - # ... |