mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-26 01:53:42 +01:00
877ad97a96
* feature: replace RegisterPeer with Login method that does both - registration and login * test: add management login test * feature: add WiretrusteeConfig to the Login response to configure peer global config * feature: add client peer login support * fix: missing parts * chore: update go deps * feature: support Management Service gRPC endpoints [CLIENT] * feature: finalize client sync with management * fix: management store peer key lower case restore * fix: management returns peer ip without a mask * refactor: remove cmd pkg * fix: invalid tun interface name on mac * fix: timeout when calling management client * fix: tests and lint errors * fix: golang-test workflow * fix: client service tests * fix: iface build * feature: detect management scheme on startup * chore: better logs for management * fix: goreleaser * fix: lint errors * fix: signal TLS * fix: direct Wireguard connection * chore: verbose logging on direct connection
183 lines
5.8 KiB
YAML
183 lines
5.8 KiB
YAML
project_name: wiretrustee
|
|
builds:
|
|
- id: wiretrustee
|
|
dir: client
|
|
binary: wiretrustee
|
|
env: [CGO_ENABLED=0]
|
|
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- arm
|
|
- amd64
|
|
- arm64
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: arm64
|
|
- goos: windows
|
|
goarch: arm64
|
|
- goos: windows
|
|
goarch: arm
|
|
tags:
|
|
- load_wintun_from_rsrc
|
|
|
|
- id: wiretrustee-mgmt
|
|
dir: management
|
|
env: [CGO_ENABLED=0]
|
|
binary: wiretrustee-mgmt
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
- id: wiretrustee-signal
|
|
dir: signal
|
|
env: [CGO_ENABLED=0]
|
|
binary: wiretrustee-signal
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
archives:
|
|
- builds:
|
|
- wiretrustee
|
|
nfpms:
|
|
- maintainer: Wiretrustee <wiretrustee@wiretrustee.com>
|
|
description: Wiretrustee project.
|
|
homepage: https://wiretrustee.com/
|
|
builds:
|
|
- wiretrustee
|
|
formats:
|
|
- deb
|
|
- rpm
|
|
contents:
|
|
- src: release_files/wiretrustee.service
|
|
dst: /lib/systemd/system/wiretrustee.service
|
|
|
|
- src: release_files/wiretrustee.json
|
|
dst: /etc/wiretrustee/wiretrustee.json
|
|
type: "config|noreplace"
|
|
|
|
scripts:
|
|
postinstall: "release_files/post_install.sh"
|
|
dockers:
|
|
- image_templates:
|
|
- wiretrustee/signal:{{ .Version }}-amd64
|
|
ids:
|
|
- wiretrustee-signal
|
|
goarch: amd64
|
|
use: buildx
|
|
dockerfile: signal/Dockerfile
|
|
build_flag_templates:
|
|
- "--platform=linux/amd64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
- image_templates:
|
|
- wiretrustee/signal:{{ .Version }}-arm64v8
|
|
ids:
|
|
- wiretrustee-signal
|
|
goarch: arm64
|
|
use: buildx
|
|
dockerfile: signal/Dockerfile
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
- image_templates:
|
|
- wiretrustee/management:{{ .Version }}-amd64
|
|
ids:
|
|
- wiretrustee-mgmt
|
|
goarch: amd64
|
|
use: buildx
|
|
dockerfile: management/Dockerfile
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
- image_templates:
|
|
- wiretrustee/management:{{ .Version }}-arm64v8
|
|
ids:
|
|
- wiretrustee-mgmt
|
|
goarch: arm64
|
|
use: buildx
|
|
dockerfile: management/Dockerfile
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
- image_templates:
|
|
- wiretrustee/management:{{ .Version }}-debug-amd64
|
|
ids:
|
|
- wiretrustee-mgmt
|
|
goarch: amd64
|
|
use: buildx
|
|
dockerfile: management/Dockerfile.debug
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
- image_templates:
|
|
- wiretrustee/management:{{ .Version }}-debug-arm64v8
|
|
ids:
|
|
- wiretrustee-mgmt
|
|
goarch: arm64
|
|
use: buildx
|
|
dockerfile: management/Dockerfile.debug
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=maintainer=wiretrustee@wiretrustee.com"
|
|
|
|
docker_manifests:
|
|
- name_template: wiretrustee/signal:{{ .Version }}
|
|
image_templates:
|
|
- wiretrustee/signal:{{ .Version }}-arm64v8
|
|
- wiretrustee/signal:{{ .Version }}-amd64
|
|
|
|
- name_template: wiretrustee/signal:latest
|
|
image_templates:
|
|
- wiretrustee/signal:{{ .Version }}-arm64v8
|
|
- wiretrustee/signal:{{ .Version }}-amd64
|
|
|
|
- name_template: wiretrustee/management:{{ .Version }}
|
|
image_templates:
|
|
- wiretrustee/management:{{ .Version }}-arm64v8
|
|
- wiretrustee/management:{{ .Version }}-amd64
|
|
|
|
- name_template: wiretrustee/management:latest
|
|
image_templates:
|
|
- wiretrustee/management:{{ .Version }}-arm64v8
|
|
- wiretrustee/management:{{ .Version }}-amd64
|
|
|
|
- name_template: wiretrustee/management:debug-latest
|
|
image_templates:
|
|
- wiretrustee/management:{{ .Version }}-debug-arm64v8
|
|
- wiretrustee/management:{{ .Version }}-debug-amd64 |