|
|
|
@ -4,7 +4,7 @@ before:
|
|
|
|
|
- go mod tidy
|
|
|
|
|
- go generate ./...
|
|
|
|
|
builds:
|
|
|
|
|
- id: bouncer
|
|
|
|
|
- id: bouncer
|
|
|
|
|
env:
|
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
|
ldflags:
|
|
|
|
@ -26,7 +26,7 @@ builds:
|
|
|
|
|
- "386"
|
|
|
|
|
main: ./cmd/bouncer
|
|
|
|
|
archives:
|
|
|
|
|
- id: bouncer
|
|
|
|
|
- id: bouncer
|
|
|
|
|
builds: ["bouncer"]
|
|
|
|
|
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
|
|
|
|
files:
|
|
|
|
@ -43,7 +43,7 @@ changelog:
|
|
|
|
|
- '^docs:'
|
|
|
|
|
- '^test:'
|
|
|
|
|
nfpms:
|
|
|
|
|
- id: bouncer-bin
|
|
|
|
|
- id: bouncer-bin
|
|
|
|
|
builds:
|
|
|
|
|
- "bouncer"
|
|
|
|
|
package_name: bouncer-bin
|
|
|
|
@ -56,6 +56,7 @@ nfpms:
|
|
|
|
|
- apk
|
|
|
|
|
- deb
|
|
|
|
|
- rpm
|
|
|
|
|
- archlinux
|
|
|
|
|
contents:
|
|
|
|
|
- src: misc/packaging/common/config.yml
|
|
|
|
|
dst: /etc/bouncer/config.yml
|
|
|
|
@ -63,7 +64,7 @@ nfpms:
|
|
|
|
|
- src: layers
|
|
|
|
|
dst: /etc/bouncer/layers
|
|
|
|
|
type: config
|
|
|
|
|
- id: bouncer-admin
|
|
|
|
|
- id: bouncer-admin
|
|
|
|
|
meta: true
|
|
|
|
|
package_name: bouncer-admin
|
|
|
|
|
homepage: https://forge.cadoles.com/Cadoles/bouncer
|
|
|
|
@ -77,6 +78,7 @@ nfpms:
|
|
|
|
|
- apk
|
|
|
|
|
- deb
|
|
|
|
|
- rpm
|
|
|
|
|
- archlinux
|
|
|
|
|
contents:
|
|
|
|
|
- src: misc/packaging/systemd/bouncer-admin.systemd.service
|
|
|
|
|
dst: /usr/lib/systemd/system/bouncer-admin.service
|
|
|
|
@ -84,6 +86,9 @@ nfpms:
|
|
|
|
|
- src: misc/packaging/systemd/bouncer-admin.systemd.service
|
|
|
|
|
dst: /usr/lib/systemd/system/bouncer-admin.service
|
|
|
|
|
packager: rpm
|
|
|
|
|
- src: misc/packaging/systemd/bouncer-admin.systemd.service
|
|
|
|
|
dst: /usr/lib/systemd/system/bouncer-admin.service
|
|
|
|
|
packager: archlinux
|
|
|
|
|
- src: misc/packaging/openrc/bouncer-admin.openrc.sh
|
|
|
|
|
dst: /etc/init.d/bouncer-admin
|
|
|
|
|
file_info:
|
|
|
|
@ -100,7 +105,7 @@ nfpms:
|
|
|
|
|
packager: apk
|
|
|
|
|
scripts:
|
|
|
|
|
postinstall: "misc/packaging/common/postinstall-bouncer-admin.sh"
|
|
|
|
|
- id: bouncer-proxy
|
|
|
|
|
- id: bouncer-proxy
|
|
|
|
|
meta: true
|
|
|
|
|
dependencies:
|
|
|
|
|
- bouncer-bin
|
|
|
|
@ -114,6 +119,7 @@ nfpms:
|
|
|
|
|
- apk
|
|
|
|
|
- deb
|
|
|
|
|
- rpm
|
|
|
|
|
- archlinux
|
|
|
|
|
contents:
|
|
|
|
|
- src: misc/packaging/systemd/bouncer-proxy.systemd.service
|
|
|
|
|
dst: /usr/lib/systemd/system/bouncer-proxy.service
|
|
|
|
@ -121,6 +127,9 @@ nfpms:
|
|
|
|
|
- src: misc/packaging/systemd/bouncer-proxy.systemd.service
|
|
|
|
|
dst: /usr/lib/systemd/system/bouncer-proxy.service
|
|
|
|
|
packager: rpm
|
|
|
|
|
- src: misc/packaging/systemd/bouncer-proxy.systemd.service
|
|
|
|
|
dst: /usr/lib/systemd/system/bouncer-proxy.service
|
|
|
|
|
packager: archlinux
|
|
|
|
|
- src: misc/packaging/openrc/bouncer-proxy.openrc.sh
|
|
|
|
|
dst: /etc/init.d/bouncer-proxy
|
|
|
|
|
file_info:
|
|
|
|
|