forked from fluxninja/aperture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nfpm.yaml
35 lines (35 loc) · 1.11 KB
/
nfpm.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
# check https://nfpm.goreleaser.com/configuration for detailed usage
name: "aperture-agent"
arch: "${GOARCH}"
version: "${VERSION}"
section: "default"
priority: "extra"
provides: [aperture-agent]
maintainer: "FluxNinja <[email protected]>"
description: |
Flow control and reliability management for modern web applications
vendor: "FluxNinja"
homepage: "https://www.fluxninja.com"
license: "GPL-3.0"
scripts:
postinstall: ./packaging/post-install.sh
contents:
- src: ./dist/aperture-agent
dst: /opt/aperture/bin/aperture-agent
- &conf_dir
dst: /etc/aperture/aperture-agent/flowcontrol
type: dir
file_info:
mode: 0700
- <<: *conf_dir
dst: /etc/aperture/aperture-agent/classifiers
- <<: *conf_dir
dst: /opt/aperture/aperture-agent/plugins
- src: ./dist/plugins/*.so
dst: /opt/aperture/aperture-agent/plugins
- <<: *conf_dir
dst: /etc/aperture/aperture-agent/config
- src: ./packaging/aperture-agent.yaml
dst: /etc/aperture/aperture-agent/config/aperture-agent.yaml.example
- src: ./packaging/aperture-agent.service
dst: /usr/lib/systemd/system/aperture-agent.service