diff options
author | Adrien Ferrand <adferrand@users.noreply.github.com> | 2020-06-23 03:07:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 03:07:08 +0300 |
commit | 25d1977d4f4ab430480576bca547db4cf802cfbf (patch) | |
tree | 226a10313387763b5bf16fd5a464b8055857faaf /certbot-dns-ovh | |
parent | 46eb4ec7e323451070778e25d2d87b521dc4f8e5 (diff) |
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.
Diffstat (limited to 'certbot-dns-ovh')
-rw-r--r-- | certbot-dns-ovh/snap/snapcraft.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/certbot-dns-ovh/snap/snapcraft.yaml b/certbot-dns-ovh/snap/snapcraft.yaml new file mode 100644 index 000000000..8e51e44a5 --- /dev/null +++ b/certbot-dns-ovh/snap/snapcraft.yaml @@ -0,0 +1,26 @@ +name: certbot-dns-ovh +summary: OVH DNS Authenticator plugin for Certbot +description: OVH DNS Authenticator plugin for Certbot +confinement: strict +grade: devel +base: core18 +adopt-info: certbot-dns-ovh + +parts: + certbot-dns-ovh: + 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 |