Compare commits

...

2 Commits

Author SHA1 Message Date
Philippe Caseiro 2b37735818 feat(pkg): adding archlinux package to gorelease
Cadoles/bouncer/pipeline/pr-develop This commit looks good Details
2024-02-05 14:34:59 +01:00
Philippe Caseiro f2755023bd fix(doc): test command was incorrect 2024-02-05 14:34:30 +01:00
2 changed files with 136 additions and 127 deletions

View File

@ -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:

View File

@ -41,7 +41,7 @@
5. Tester que le CLI est en capacité d'interroger l'API d'administration
```bash
bouncer admin query proxy
bouncer admin proxy query
```
Un message équivalent à celui ci devrait s'afficher: