-
-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split goreleaser for UI and parallelized workflow (#405)
decouple goreleaser ui might help us parallelize workflow and run local tests dividing the release workflow for each goreleaser and making trigger sign a different job them when small issues with sign happen
- Loading branch information
Showing
3 changed files
with
180 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
project_name: netbird-ui | ||
builds: | ||
- id: netbird-ui | ||
dir: client/ui | ||
binary: netbird-ui | ||
env: | ||
- CGO_ENABLED=1 | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
ldflags: | ||
- -s -w -X github.com/netbirdio/netbird/client/system.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser | ||
mod_timestamp: '{{ .CommitTimestamp }}' | ||
|
||
- id: netbird-ui-windows | ||
dir: client/ui | ||
binary: netbird-ui | ||
env: | ||
- CGO_ENABLED=1 | ||
- CC=x86_64-w64-mingw32-gcc | ||
goos: | ||
- windows | ||
goarch: | ||
- amd64 | ||
ldflags: | ||
- -s -w -X github.com/netbirdio/netbird/client/system.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser | ||
- -H windowsgui | ||
mod_timestamp: '{{ .CommitTimestamp }}' | ||
|
||
archives: | ||
- id: linux-arch | ||
name_template: "{{ .ProjectName }}-linux_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
builds: | ||
- netbird-ui | ||
- id: windows-arch | ||
name_template: "{{ .ProjectName }}-windows_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
builds: | ||
- netbird-ui-windows | ||
|
||
nfpms: | ||
|
||
- maintainer: Netbird <dev@netbird.io> | ||
description: Netbird client UI. | ||
homepage: https://netbird.io/ | ||
id: netbird-ui-deb | ||
package_name: netbird-ui | ||
builds: | ||
- netbird-ui | ||
formats: | ||
- deb | ||
contents: | ||
- src: client/ui/netbird.desktop | ||
dst: /usr/share/applications/netbird.desktop | ||
- src: client/ui/disconnected.png | ||
dst: /usr/share/pixmaps/netbird.png | ||
dependencies: | ||
- libayatana-appindicator3-1 | ||
- libgtk-3-dev | ||
- libappindicator3-dev | ||
- netbird | ||
|
||
- maintainer: Netbird <dev@netbird.io> | ||
description: Netbird client UI. | ||
homepage: https://netbird.io/ | ||
id: netbird-ui-rpm | ||
package_name: netbird-ui | ||
builds: | ||
- netbird-ui | ||
formats: | ||
- rpm | ||
contents: | ||
- src: client/ui/netbird.desktop | ||
dst: /usr/share/applications/netbird.desktop | ||
- src: client/ui/disconnected.png | ||
dst: /usr/share/pixmaps/netbird.png | ||
dependencies: | ||
- libayatana-appindicator3-1 | ||
- libgtk-3-dev | ||
- libappindicator3-dev | ||
- netbird | ||
|
||
uploads: | ||
- name: debian | ||
ids: | ||
- netbird-ui-deb | ||
mode: archive | ||
target: https://pkgs.wiretrustee.com/debian/pool/{{ .ArtifactName }};deb.distribution=stable;deb.component=main;deb.architecture={{ if .Arm }}armhf{{ else }}{{ .Arch }}{{ end }};deb.package= | ||
username: dev@wiretrustee.com | ||
method: PUT | ||
|
||
- name: yum | ||
ids: | ||
- netbird-ui-rpm | ||
mode: archive | ||
target: https://pkgs.wiretrustee.com/yum/{{ .Arch }}{{ if .Arm }}{{ .Arm }}{{ end }} | ||
username: dev@wiretrustee.com | ||
method: PUT |