Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <cole.miller@canonical.com>
  • Loading branch information
cole-miller committed Sep 3, 2024
1 parent efcad52 commit 3cdb25c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/debug-gpg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: debug gpg
on: [push, pull_request]
jobs:
do-it:
runs-on: ubuntu-latest
steps:
- name: Clone the repositories
run: |
git clone https://github.com/canonical/dqlite
git clone https://github.com/canonical/dqlite-ppa -b dqlite --depth 1
- name: Setup dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -qq debhelper devscripts gnupg
- name: Generate dummy key
run: |
echo $(tty)
gpg --batch --pinentry-mode loopback --passphrase '' --quick-generate-key 'nobody <nobody@example.org>'
- name: Build source package
env:
DEBFULLNAME: "nobody"
DEBEMAIL: "nobody@example.org"
TARGET: noble
run: |
cp -R dqlite-ppa/debian dqlite/
cd dqlite/
VERSION="$(git describe --tags | sed -e "s/^v//" -e "s/-/+git/")"
dch --create \
--distribution ${TARGET} \
--package dqlite \
--newversion ${VERSION}~${TARGET}1 \
"Automatic build from Github"
debuild --no-lintian -S -sa -d -us -uc
debsign -m nobody ../*.changes

0 comments on commit 3cdb25c

Please sign in to comment.