Skip to content

Commit

Permalink
ci: Validate that all distros have Release files
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
apyrgio committed Feb 22, 2024
1 parent dedc536 commit b2d70d1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
version: 2.1
common-steps:
- &installdeps
run:
name: Install Debian packaging dependencies
command: |
apt-get update && apt-get install -y gpg
jobs:
check-sigs:
docker:
- image: debian:bullseye
steps:
- checkout
- *installdeps
- run:
name: Verify that all distros have Release files
command: for i in $(ls dangerzone); do ls -l ./repo/public/dists/${i}/Release{,.gpg}; done
- run:
name: Verify signatures on all Release files
command: |
gpg --import repo/public/fpf-apt-tools-archive-keyring.gpg
for i in repo/public/dists/*/Release; do gpg --verify "${i}.gpg" "$i"; done
workflows:
check-packages:
jobs:
- check-sigs
2 changes: 2 additions & 0 deletions .github/workflows/check-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install Debian packaging dependencies
run: apt-get update && apt-get install -y gpg
- name: Verify that all distros have Release files
run: for i in $(ls dangerzone); do ls -l ./repo/public/dists/${i}/Release{,.gpg}; done
- name: Verify signatures on all Release files
run: |
gpg --import repo/public/fpf-apt-tools-archive-keyring.gpg
Expand Down

0 comments on commit b2d70d1

Please sign in to comment.