Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Ferrand <adferrand@users.noreply.github.com>2020-06-23 03:07:08 +0300
committerGitHub <noreply@github.com>2020-06-23 03:07:08 +0300
commit25d1977d4f4ab430480576bca547db4cf802cfbf (patch)
tree226a10313387763b5bf16fd5a464b8055857faaf /certbot-dns-cloudxns
parent46eb4ec7e323451070778e25d2d87b521dc4f8e5 (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-cloudxns')
-rw-r--r--certbot-dns-cloudxns/snap/snapcraft.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/certbot-dns-cloudxns/snap/snapcraft.yaml b/certbot-dns-cloudxns/snap/snapcraft.yaml
new file mode 100644
index 000000000..2deb1b001
--- /dev/null
+++ b/certbot-dns-cloudxns/snap/snapcraft.yaml
@@ -0,0 +1,26 @@
+name: certbot-dns-cloudxns
+summary: CloudXNS DNS Authenticator plugin for Certbot
+description: CloudXNS DNS Authenticator plugin for Certbot
+confinement: strict
+grade: devel
+base: core18
+adopt-info: certbot-dns-cloudxns
+
+parts:
+ certbot-dns-cloudxns:
+ 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