-
Notifications
You must be signed in to change notification settings - Fork 89
/
snapcraft.yaml
37 lines (34 loc) · 1.5 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: dnsrobocert
summary: Deploy and orchestrate DNS-challenged Let's Encrypt TLS certificates
description: |
DNSroboCert is designed to manage Let's Encrypt SSL certificates based on DNS challenges.
- Let's Encrypt wildcard and regular certificates generation by Certbot using DNS challenges,
- Integrated automated renewal of almost expired certificates,
- Standardized API through Lexicon library to insert the DNS challenge with various DNS providers,
- Centralized YAML configuration file to maintain several certificates and several DNS providers with configuration validity control,
- Modification of container configuration without restart,
- Flexible hooks upon certificate creation/renewal including containers restart, commands in containers or custom hooks,
- Linux, Mac OS X and Windows support, with a particular care for Docker services,
- Delivered as a standalone application and a Docker image.
confinement: strict
base: core20
grade: devel
adopt-info: dnsrobocert
apps:
dnsrobocert:
command: bin/python3 -s $SNAP/bin/dnsrobocert
environment:
PATH: "$SNAP/bin:$SNAP/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
plugs:
- home
parts:
dnsrobocert:
plugin: python
source: .
python-packages:
- .
build-packages: [python3-wheel]
override-pull: |
set -e
snapcraftctl pull
snapcraftctl set-version $(cat pyproject.toml | grep '^version = .*' | sed -E 's/version = "(.*)"/\1/g')