aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-01-04 17:28:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-01-04 17:28:30 -0300
commit0ef95ec0e234d2064f33c5e9fd57bfc20baaa4b2 (patch)
tree0e0bfabad969b72c3be0d134d68ce26972e295cf
parentf86a76e2cf2b84c63adb258b1aecad10bb11bb49 (diff)
downloadkeyringer-0ef95ec0e234d2064f33c5e9fd57bfc20baaa4b2.tar.gz
keyringer-0ef95ec0e234d2064f33c5e9fd57bfc20baaa4b2.tar.bz2
Fix: CI: test: explanatory comments (#10)
-rw-r--r--.gitlab-ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2881afb..f6df338 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,7 +67,7 @@ test:
- git checkout debian
- gpg --import < debian/upstream/signing-key.asc
- # Test in the develop branch
+ # Create a test keyring in the develop branch
- git branch develop --track origin/develop || true
- git checkout develop
- mkdir -p ~/temp/tests
@@ -75,7 +75,12 @@ 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
+
+ # Test the keyring in the develop branch
+ # This will also test the expiration of the upstream signing key
- ./keyringer test check
+
+ # Tear down the keyring in the develop branch
- ./keyringer test teardown -y
# Test in the main branch