2021-05-01 12:45:37 +02:00
|
|
|
project_name: wiretrustee
|
|
|
|
builds:
|
2021-07-25 18:06:18 +02:00
|
|
|
- id: wiretrustee
|
2021-08-15 16:56:26 +02:00
|
|
|
dir: client
|
|
|
|
binary: wiretrustee
|
2021-07-25 18:06:18 +02:00
|
|
|
env: [CGO_ENABLED=0]
|
2021-06-06 23:57:16 +02:00
|
|
|
|
2021-05-01 12:45:37 +02:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- darwin
|
2021-06-06 23:57:16 +02:00
|
|
|
- windows
|
2021-05-01 12:45:37 +02:00
|
|
|
goarch:
|
|
|
|
- arm
|
|
|
|
- amd64
|
|
|
|
- arm64
|
2021-10-12 12:15:45 +02:00
|
|
|
- mips
|
|
|
|
gomips:
|
|
|
|
- hardfloat
|
|
|
|
- softfloat
|
2021-05-01 12:45:37 +02:00
|
|
|
ignore:
|
2021-06-06 23:57:16 +02:00
|
|
|
- goos: windows
|
|
|
|
goarch: arm64
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm
|
2021-10-12 12:15:45 +02:00
|
|
|
ldflags:
|
|
|
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser
|
|
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
2021-06-06 23:57:16 +02:00
|
|
|
tags:
|
|
|
|
- load_wintun_from_rsrc
|
2021-07-31 10:29:49 +02:00
|
|
|
|
2021-07-25 18:06:18 +02:00
|
|
|
- id: wiretrustee-mgmt
|
|
|
|
dir: management
|
|
|
|
env: [CGO_ENABLED=0]
|
2021-07-31 12:33:04 +02:00
|
|
|
binary: wiretrustee-mgmt
|
2021-07-25 18:06:18 +02:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
2021-10-12 12:15:45 +02:00
|
|
|
ldflags:
|
|
|
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser
|
|
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
2021-08-13 08:46:30 +02:00
|
|
|
|
|
|
|
- id: wiretrustee-signal
|
|
|
|
dir: signal
|
|
|
|
env: [CGO_ENABLED=0]
|
|
|
|
binary: wiretrustee-signal
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
2021-10-12 12:15:45 +02:00
|
|
|
ldflags:
|
|
|
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser
|
|
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
2021-07-25 18:06:18 +02:00
|
|
|
archives:
|
|
|
|
- builds:
|
|
|
|
- wiretrustee
|
2021-05-01 12:45:37 +02:00
|
|
|
nfpms:
|
2021-10-12 12:15:45 +02:00
|
|
|
- maintainer: Wiretrustee <dev@wiretrustee.com>
|
|
|
|
description: Wiretrustee client.
|
2021-05-01 12:45:37 +02:00
|
|
|
homepage: https://wiretrustee.com/
|
2021-10-12 12:15:45 +02:00
|
|
|
id: deb
|
2021-07-25 18:06:18 +02:00
|
|
|
builds:
|
|
|
|
- wiretrustee
|
2021-05-01 12:45:37 +02:00
|
|
|
formats:
|
|
|
|
- deb
|
2021-10-12 12:15:45 +02:00
|
|
|
|
|
|
|
scripts:
|
|
|
|
postinstall: "release_files/post_install.sh"
|
2021-10-17 21:34:07 +02:00
|
|
|
preremove: "release_files/pre_remove.sh"
|
2021-10-12 12:15:45 +02:00
|
|
|
replacements:
|
|
|
|
arm6: armf
|
2021-10-17 21:34:07 +02:00
|
|
|
|
2021-10-12 12:15:45 +02:00
|
|
|
- maintainer: Wiretrustee <dev@wiretrustee.com>
|
|
|
|
description: Wiretrustee client.
|
|
|
|
homepage: https://wiretrustee.com/
|
|
|
|
id: rpm
|
|
|
|
builds:
|
|
|
|
- wiretrustee
|
|
|
|
formats:
|
2021-05-01 12:45:37 +02:00
|
|
|
- rpm
|
|
|
|
|
|
|
|
scripts:
|
|
|
|
postinstall: "release_files/post_install.sh"
|
2021-10-17 21:34:07 +02:00
|
|
|
preremove: "release_files/pre_remove.sh"
|
2021-05-11 09:38:41 +02:00
|
|
|
dockers:
|
|
|
|
- image_templates:
|
2021-08-13 08:46:30 +02:00
|
|
|
- wiretrustee/signal:{{ .Version }}-amd64
|
2021-07-25 18:06:18 +02:00
|
|
|
ids:
|
2021-08-13 08:46:30 +02:00
|
|
|
- wiretrustee-signal
|
2021-05-11 09:38:41 +02:00
|
|
|
goarch: amd64
|
2021-07-17 14:38:59 +02:00
|
|
|
use: buildx
|
2021-07-21 20:23:11 +02:00
|
|
|
dockerfile: signal/Dockerfile
|
2021-05-11 09:38:41 +02:00
|
|
|
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:
|
2021-08-13 08:46:30 +02:00
|
|
|
- wiretrustee/signal:{{ .Version }}-arm64v8
|
2021-07-25 18:06:18 +02:00
|
|
|
ids:
|
2021-08-13 08:46:30 +02:00
|
|
|
- wiretrustee-signal
|
2021-05-11 09:38:41 +02:00
|
|
|
goarch: arm64
|
2021-07-17 14:38:59 +02:00
|
|
|
use: buildx
|
2021-07-21 20:23:11 +02:00
|
|
|
dockerfile: signal/Dockerfile
|
2021-05-11 09:38:41 +02:00
|
|
|
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"
|
2021-07-17 14:38:59 +02:00
|
|
|
- image_templates:
|
2021-07-31 10:29:49 +02:00
|
|
|
- wiretrustee/management:{{ .Version }}-amd64
|
2021-07-25 18:06:18 +02:00
|
|
|
ids:
|
|
|
|
- wiretrustee-mgmt
|
2021-07-17 14:38:59 +02:00
|
|
|
goarch: amd64
|
|
|
|
use: buildx
|
|
|
|
dockerfile: management/Dockerfile
|
|
|
|
build_flag_templates:
|
2021-08-29 17:43:21 +02:00
|
|
|
- "--platform=linux/amd64"
|
2021-07-17 14:38:59 +02:00
|
|
|
- "--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:
|
2021-07-31 10:29:49 +02:00
|
|
|
- wiretrustee/management:{{ .Version }}-arm64v8
|
2021-07-25 18:06:18 +02:00
|
|
|
ids:
|
|
|
|
- wiretrustee-mgmt
|
2021-07-17 14:38:59 +02:00
|
|
|
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"
|
2021-07-31 10:29:49 +02:00
|
|
|
- image_templates:
|
|
|
|
- wiretrustee/management:{{ .Version }}-debug-amd64
|
|
|
|
ids:
|
|
|
|
- wiretrustee-mgmt
|
|
|
|
goarch: amd64
|
|
|
|
use: buildx
|
|
|
|
dockerfile: management/Dockerfile.debug
|
|
|
|
build_flag_templates:
|
2021-08-29 17:43:21 +02:00
|
|
|
- "--platform=linux/amd64"
|
2021-07-31 10:29:49 +02:00
|
|
|
- "--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"
|
2021-05-11 09:38:41 +02:00
|
|
|
|
|
|
|
docker_manifests:
|
2021-08-13 08:46:30 +02:00
|
|
|
- name_template: wiretrustee/signal:{{ .Version }}
|
2021-05-11 09:38:41 +02:00
|
|
|
image_templates:
|
2021-08-13 08:46:30 +02:00
|
|
|
- wiretrustee/signal:{{ .Version }}-arm64v8
|
|
|
|
- wiretrustee/signal:{{ .Version }}-amd64
|
2021-05-11 09:38:41 +02:00
|
|
|
|
2021-08-13 08:46:30 +02:00
|
|
|
- name_template: wiretrustee/signal:latest
|
2021-05-11 09:38:41 +02:00
|
|
|
image_templates:
|
2021-08-13 08:46:30 +02:00
|
|
|
- wiretrustee/signal:{{ .Version }}-arm64v8
|
|
|
|
- wiretrustee/signal:{{ .Version }}-amd64
|
2021-07-17 14:38:59 +02:00
|
|
|
|
2021-07-31 10:29:49 +02:00
|
|
|
- name_template: wiretrustee/management:{{ .Version }}
|
|
|
|
image_templates:
|
|
|
|
- wiretrustee/management:{{ .Version }}-arm64v8
|
|
|
|
- wiretrustee/management:{{ .Version }}-amd64
|
|
|
|
|
|
|
|
- name_template: wiretrustee/management:latest
|
2021-07-17 14:38:59 +02:00
|
|
|
image_templates:
|
2021-07-31 10:29:49 +02:00
|
|
|
- wiretrustee/management:{{ .Version }}-arm64v8
|
|
|
|
- wiretrustee/management:{{ .Version }}-amd64
|
2021-07-17 14:38:59 +02:00
|
|
|
|
2021-07-31 10:29:49 +02:00
|
|
|
- name_template: wiretrustee/management:debug-latest
|
2021-07-17 14:38:59 +02:00
|
|
|
image_templates:
|
2021-07-31 10:29:49 +02:00
|
|
|
- wiretrustee/management:{{ .Version }}-debug-arm64v8
|
2021-09-06 14:15:08 +02:00
|
|
|
- wiretrustee/management:{{ .Version }}-debug-amd64
|
|
|
|
|
|
|
|
brews:
|
|
|
|
-
|
|
|
|
tap:
|
|
|
|
owner: wiretrustee
|
|
|
|
name: homebrew-client
|
|
|
|
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
|
|
|
|
commit_author:
|
|
|
|
name: Wiretrustee
|
|
|
|
email: wiretrustee@wiretrustee.com
|
|
|
|
description: Wiretrustee project.
|
|
|
|
download_strategy: CurlDownloadStrategy
|
|
|
|
homepage: https://wiretrustee.com/
|
|
|
|
license: "BSD3"
|
|
|
|
test: |
|
2021-10-12 12:15:45 +02:00
|
|
|
system "#{bin}/{{ .ProjectName }} -h"
|
|
|
|
|
|
|
|
uploads:
|
|
|
|
- name: debian
|
|
|
|
ids:
|
|
|
|
- deb
|
|
|
|
mode: archive
|
|
|
|
target: https://pkgs.wiretrustee.com/debian/pool/{{ .ArtifactName }};deb.distribution=stable;deb.component=main;deb.architecture={{ .Arch }}{{ if .Arm }}{{ .Arm }}{{ end }}
|
|
|
|
username: dev@wiretrustee.com
|
|
|
|
method: PUT
|
|
|
|
- name: yum
|
|
|
|
ids:
|
|
|
|
- rpm
|
|
|
|
mode: archive
|
|
|
|
target: https://pkgs.wiretrustee.com/yum/{{ .Arch }}{{ if .Arm }}{{ .Arm }}{{ end }}
|
|
|
|
username: dev@wiretrustee.com
|
|
|
|
method: PUT
|