feat(pkg): adding archlinux package to gorelease
Cadoles/bouncer/pipeline/pr-develop This commit looks good
Details
Cadoles/bouncer/pipeline/pr-develop This commit looks good
Details
This commit is contained in:
parent
f2755023bd
commit
2b37735818
|
@ -4,7 +4,7 @@ before:
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- go generate ./...
|
- go generate ./...
|
||||||
builds:
|
builds:
|
||||||
- id: bouncer
|
- id: bouncer
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
ldflags:
|
ldflags:
|
||||||
|
@ -26,7 +26,7 @@ builds:
|
||||||
- "386"
|
- "386"
|
||||||
main: ./cmd/bouncer
|
main: ./cmd/bouncer
|
||||||
archives:
|
archives:
|
||||||
- id: bouncer
|
- id: bouncer
|
||||||
builds: ["bouncer"]
|
builds: ["bouncer"]
|
||||||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
||||||
files:
|
files:
|
||||||
|
@ -43,7 +43,7 @@ changelog:
|
||||||
- '^docs:'
|
- '^docs:'
|
||||||
- '^test:'
|
- '^test:'
|
||||||
nfpms:
|
nfpms:
|
||||||
- id: bouncer-bin
|
- id: bouncer-bin
|
||||||
builds:
|
builds:
|
||||||
- "bouncer"
|
- "bouncer"
|
||||||
package_name: bouncer-bin
|
package_name: bouncer-bin
|
||||||
|
@ -56,6 +56,7 @@ nfpms:
|
||||||
- apk
|
- apk
|
||||||
- deb
|
- deb
|
||||||
- rpm
|
- rpm
|
||||||
|
- archlinux
|
||||||
contents:
|
contents:
|
||||||
- src: misc/packaging/common/config.yml
|
- src: misc/packaging/common/config.yml
|
||||||
dst: /etc/bouncer/config.yml
|
dst: /etc/bouncer/config.yml
|
||||||
|
@ -63,7 +64,7 @@ nfpms:
|
||||||
- src: layers
|
- src: layers
|
||||||
dst: /etc/bouncer/layers
|
dst: /etc/bouncer/layers
|
||||||
type: config
|
type: config
|
||||||
- id: bouncer-admin
|
- id: bouncer-admin
|
||||||
meta: true
|
meta: true
|
||||||
package_name: bouncer-admin
|
package_name: bouncer-admin
|
||||||
homepage: https://forge.cadoles.com/Cadoles/bouncer
|
homepage: https://forge.cadoles.com/Cadoles/bouncer
|
||||||
|
@ -77,6 +78,7 @@ nfpms:
|
||||||
- apk
|
- apk
|
||||||
- deb
|
- deb
|
||||||
- rpm
|
- rpm
|
||||||
|
- archlinux
|
||||||
contents:
|
contents:
|
||||||
- src: misc/packaging/systemd/bouncer-admin.systemd.service
|
- src: misc/packaging/systemd/bouncer-admin.systemd.service
|
||||||
dst: /usr/lib/systemd/system/bouncer-admin.service
|
dst: /usr/lib/systemd/system/bouncer-admin.service
|
||||||
|
@ -84,6 +86,9 @@ nfpms:
|
||||||
- src: misc/packaging/systemd/bouncer-admin.systemd.service
|
- src: misc/packaging/systemd/bouncer-admin.systemd.service
|
||||||
dst: /usr/lib/systemd/system/bouncer-admin.service
|
dst: /usr/lib/systemd/system/bouncer-admin.service
|
||||||
packager: rpm
|
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
|
- src: misc/packaging/openrc/bouncer-admin.openrc.sh
|
||||||
dst: /etc/init.d/bouncer-admin
|
dst: /etc/init.d/bouncer-admin
|
||||||
file_info:
|
file_info:
|
||||||
|
@ -100,7 +105,7 @@ nfpms:
|
||||||
packager: apk
|
packager: apk
|
||||||
scripts:
|
scripts:
|
||||||
postinstall: "misc/packaging/common/postinstall-bouncer-admin.sh"
|
postinstall: "misc/packaging/common/postinstall-bouncer-admin.sh"
|
||||||
- id: bouncer-proxy
|
- id: bouncer-proxy
|
||||||
meta: true
|
meta: true
|
||||||
dependencies:
|
dependencies:
|
||||||
- bouncer-bin
|
- bouncer-bin
|
||||||
|
@ -114,6 +119,7 @@ nfpms:
|
||||||
- apk
|
- apk
|
||||||
- deb
|
- deb
|
||||||
- rpm
|
- rpm
|
||||||
|
- archlinux
|
||||||
contents:
|
contents:
|
||||||
- src: misc/packaging/systemd/bouncer-proxy.systemd.service
|
- src: misc/packaging/systemd/bouncer-proxy.systemd.service
|
||||||
dst: /usr/lib/systemd/system/bouncer-proxy.service
|
dst: /usr/lib/systemd/system/bouncer-proxy.service
|
||||||
|
@ -121,6 +127,9 @@ nfpms:
|
||||||
- src: misc/packaging/systemd/bouncer-proxy.systemd.service
|
- src: misc/packaging/systemd/bouncer-proxy.systemd.service
|
||||||
dst: /usr/lib/systemd/system/bouncer-proxy.service
|
dst: /usr/lib/systemd/system/bouncer-proxy.service
|
||||||
packager: rpm
|
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
|
- src: misc/packaging/openrc/bouncer-proxy.openrc.sh
|
||||||
dst: /etc/init.d/bouncer-proxy
|
dst: /etc/init.d/bouncer-proxy
|
||||||
file_info:
|
file_info:
|
||||||
|
|
Loading…
Reference in New Issue