feature(ci): run keyring integrity check if keyring or code changes

This commit is contained in:
Levente Polyak
2021-11-07 23:31:19 +01:00
parent 0456e9a5f8
commit 5f36beff90
4 changed files with 39 additions and 0 deletions

View File

@ -53,3 +53,21 @@ build_install:
- pacman-key --populate archlinux
- pacman-key --updatedb
- pacman -Syu
keyring_check:
stage: test
needs: []
before_script:
- pacman -Syu --needed --noconfirm make python sequoia-sq
script:
- ./keyringctl import --main master master-revoked
- ./keyringctl import packager packager-revoked
- ./keyringctl check
only:
changes:
- keyring
- keyringctl
- libkeyringctl/*
- tests/*
- .gitlab-ci.yml
- Makefile