-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
50 lines (46 loc) · 1.24 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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: certbot-nginx-unit
summary: Certbot plugin for Nginx Unit
description: |
Certbot plugin provides HTTP challenge and installation of certificates.
Support multi-domain and renew.
See https://github.com/kea/certbot-nginx-unit for installation and usage instructions.
confinement: strict
grade: stable
base: core20
adopt-info: certbot-nginx-unit
license: MIT
website: https://github.com/kea/certbot-nginx-unit
issues: https://github.com/kea/certbot-nginx-unit/issues
architectures:
- build-on: amd64
- build-on: armhf
- build-on: arm64
parts:
certbot-nginx-unit:
plugin: python
source: .
override-build: |
snapcraftctl build
snapcraftctl set-version `grep " version =" $SNAPCRAFT_PART_BUILD/version.py | cut -f3 -d= | tr -d "'[:space:]"`
build-packages:
- git
build-environment:
- SNAP_BUILD: "True"
certbot-metadata:
plugin: dump
source: .
stage: [ setup.py, certbot-shared ]
override-pull: |
snapcraftctl pull
mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared
slots:
certbot:
interface: content
content: certbot-1
read:
- $SNAP/lib/python3.8/site-packages
plugs:
certbot-metadata:
interface: content
content: metadata-1
target: $SNAP/certbot-shared