Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Sep 16, 2024
1 parent efcad52 commit af60b9c
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions .github/workflows/debug-gpg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Debug GPG
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
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: Setup dummy GPG signing key
run: |
cat >private-key.asc <<EOF
-----BEGIN PGP PRIVATE KEY BLOCK-----
lQcYBGbojbgBEADBHySFz93VlYSiJ2Rzb8VybTPdicNr/3U1Gejh7VhNTsp9r/bw
lsnw0Zkz03YQHOlsRVlr5Vp19ushY46Fd0NTr5zkvtLJ51WhYQbZk0PJOXF+1xEW
I7uevX6BM+VcaFqowgjmdS9pR7xt9LtiWTa84P/FpRAWk8+uKNESZSLMleLI5yJ3
fPjN1KsVz3cCyN0T/Hxa+5zXU/BbctJNz1wCGuxZD+kwLXWVNqEUfj67cZ4ugztd
oybHcO7hBz3GsFi3py270FhYzw6A4DNDIcTFf7kDD2geae1EV4OGukN35XVOPSqp
6VpILq5L1REXdIdG0H1RydcLweTebCrS/J9U/0iGrnxuZHmcxG7Dx7xcbk3m/ASQ
euNODsvW/jV/2HfPHYFmbeqCK9s4iHbPaKcJq8QngVcAB3VowB5AzjhxxWB6AZ3i
l8JgeiapQGXaigLTVZqHZsAm0eJhAsvTrYmZR22alrCRUMNDZVOapgFVTiKtk+T8
/QsAMTYx8P+F9nj1luezHy3AMf2kqcs5ozoLHTccoqSA0MqSw1VxHA0MMq//7p+R
tTax9nG0WTGFrmG8CzTYLG6uEZaS9HrBDnCOxNIP2xP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JMiivnhuDXI7uciTug82pAcO2Oyd3
8BsOHlVCioOZVh/HeMuvEzZgyAh/PIw3spqwGGU43/5HlDmquY10YJFlTA3gcn5b
DxOqYld7EGGmBABCjMDwCjlmGlwDCwdKC+sJk1bSpA+Phs3JSArcb2UaaRmTp1UM
KFk91nT5yDqbKEn4D+V+yW5XEVLBu+cC6vk2gEsWIqluhoZuW4NpjPlCNPUNdd1t
CkJgUE4J8sGA7Mp/c2jKw/0KQYte5/00rPXXK08C6hEJYnWycJjBIP5i+EYSLJJD
PSUWgSjjjWxKkfhw6knLTS/OW28wbO7298MWV+IuSOjxGdLCji0m0cMy1JORm/fq
myGU8HHc2lCydiFrQO/RvFdTqyw4A1vOJJjCCSfEuLkfibI0xoVOEyPiW+mfs+E4
xy+J+mkAikjgdCH84kGDEz8a7YzXiocadTCuqBY1tLBfCYfZAlW1JAjBnXGplntU
RbmBigy4VbMTO1wxzcE2VgbHxjt6+xI/88uIFnpWyx6yj0atK2Wwe5eHOmm28Swz
h6g=
=syHf
-----END PGP PRIVATE KEY BLOCK-----
EOF
gpg --import --batch private-key.asc
- name: Delete GPG signing key file
if: always()
run: |
rm -f private-key.asc
- name: Build source package
env:
DEBFULLNAME: "nobody"
DEBEMAIL: "[email protected]"
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 -S -sa -d -kA7FA0B8D3B28DEBE09ABC32B86BFF352B9ECA3B6

0 comments on commit af60b9c

Please sign in to comment.