-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This issue will setup goreleaser and cross compile kubectl-trace for multiple platforms. This would be a starting point for issue #9
- Loading branch information
AJ Bond
committed
Jan 16, 2019
1 parent
9e635f2
commit c6e5395
Showing
5 changed files
with
54 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
_output/ | ||
dist/ |
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,46 @@ | ||
project_name: kubectl-trace | ||
builds: | ||
- goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- amd64 | ||
- 386 | ||
main: ./cmd/kubectl-trace | ||
env: | ||
- GO111MODULE=on | ||
- CGO_ENABLED=0 | ||
ldflags: | | ||
-X github.com/iovisor/kubectl-trace/pkg/version.buildTime={{ .Timestamp }} | ||
-X github.com/iovisor/kubectl-trace/pkg/version.gitCommit={{ .Commit }} | ||
-X github.com/iovisor/kubectl-trace/pkg/version.imageName={{ .Env.IMAGE_NAME }} | ||
binary: kubectl-trace | ||
- goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- amd64 | ||
- 386 | ||
main: ./cmd/trace-runner | ||
env: | ||
- GO111MODULE=on | ||
- CGO_ENABLED=0 | ||
ldflags: | | ||
-X github.com/iovisor/kubectl-trace/pkg/version.buildTime={{ .Timestamp }} | ||
-X github.com/iovisor/kubectl-trace/pkg/version.gitCommit={{ .Commit }} | ||
-X github.com/iovisor/kubectl-trace/pkg/version.imageName={{ .Env.IMAGE_NAME }} | ||
binary: trace-runner | ||
|
||
archive: | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
|
||
snapshot: | ||
name_template: 'master' | ||
|
||
release: | ||
disable: true | ||
|
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