Add script and generated snapcraft.yaml files (#8096)

This PR adds a proper snapcraft.yaml file for each DNS plugin, and provides a shell script to generate them.
This commit is contained in:
Adrien Ferrand
2020-06-22 17:07:08 -07:00
committed by GitHub
parent 46eb4ec7e3
commit 25d1977d4f
15 changed files with 379 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
name: certbot-dns-gehirn
summary: Gehirn Infrastructure Service DNS Authenticator plugin for Certbot
description: Gehirn Infrastructure Service DNS Authenticator plugin for Certbot
confinement: strict
grade: devel
base: core18
adopt-info: certbot-dns-gehirn
parts:
certbot-dns-gehirn:
plugin: python
source: .
constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt]
python-version: python3
override-pull: |
snapcraftctl pull
snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"`
build-environment:
- EXCLUDE_CERTBOT_DEPS: "True"
slots:
certbot:
interface: content
content: certbot-1
read:
- $SNAP/lib/python3.6/site-packages