concourse-ci's dput-ppa-resource
It only supports the put step.
resource_types:
- name: resource-dput-ppa
type: registry-image
source:
repository: fourdollars/dput-ppa-resource
tag: latest
or
resource_types:
- name: resource-dput-ppa
type: registry-image
source:
repository: ghcr.io/fourdollars/dput-ppa-resource
tag: latest
resources:
- name: dput
icon: package-up
type: resource-dput-ppa
source:
ppa: ppa:username/ppa-name
fingerprint: FingerprintOfGPGKey
passphrase: PassphraseOfGPGPrivateKey
private_key: |
-----BEGIN PGP PRIVATE KEY BLOCK-----
...
...
...
-----END PGP PRIVATE KEY BLOCK-----
- put: dput
params:
ppa: ppa:username/ppa-name
path: SomeFolderInTask
# It acts like the following commands.
$ echo "$private_key" > private.key
$ echo "$passphrase" | gpg --passphrase-fd 0 --pinentry-mode loopback --import private.key
$ rm private.key
$ find "$path" -name '*_source.changes' | while read -r package; do
> echo "$passphrase" | debsign -p'gpg --passphrase-fd 0 --pinentry-mode loopback' -S -k"$fingerprint" "$package"
> dput "$ppa" "$package"
> done
Content type
Image
Digest
sha256:d2bb92fcf…
Size
236.4 MB
Last updated
6 months ago
docker pull fourdollars/dput-ppa-resource