-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
snapcraft.yaml
61 lines (56 loc) · 1.11 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
51
52
53
54
55
56
57
58
59
60
61
name: hockeypuck
version: git
summary: OpenPGP Public Keyserver
description: |
Hockeypuck is an OpenPGP Key Server that implements the HTTP
Keyserver Protocol and the SKS database reconciliation protocol.
architectures:
- build-on: amd64
run-on: amd64
base: core18
confinement: strict
grade: stable
apps:
hockeypuck:
command: bin/hockeypuck-wrapper
daemon: simple
plugs:
- network
- network-bind
config:
command: hockeypuck-config-wrapper
dump:
command: bin/hockeypuck-dump-wrapper
plugs:
- home
- network
load:
command: bin/hockeypuck-load-wrapper
plugs:
- home
- network
pbuild:
command: bin/hockeypuck-pbuild-wrapper
plugs:
- network
parts:
hockeypuck:
build-environment:
# https://github.com/golang/go/issues/33840
- CGO_ENABLED: "0"
build-snaps:
- go/1.15/stable
plugin: make
make-parameters:
- prefix=
- statedir=
source: .
wrappers:
plugin: dump
source: src/hockeypuck/server/snap
organize:
"*-wrapper": bin/
stage:
- bin/*
prime:
- bin/*