-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
50 lines (46 loc) · 1.2 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: core24
adopt-info: certbot-nginx-unit
license: MIT
website: https://github.com/kea/certbot-nginx-unit
issues: https://github.com/kea/certbot-nginx-unit/issues
platforms:
amd64:
armhf:
arm64:
parts:
certbot-nginx-unit:
plugin: python
source: .
override-build: |
craftctl default
craftctl set version=$(grep " version =" $CRAFT_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: |
craftctl default
mkdir -p $CRAFT_PART_SRC/certbot-shared
slots:
certbot:
interface: content
content: certbot-1
read:
- $SNAP/lib/python3.12/site-packages
plugs:
certbot-metadata:
interface: content
content: metadata-1
target: $SNAP/certbot-shared