-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial dir structure for starship cli * Update go work sync, add some more code for installing charts; WIP * Add bazel commands for building client * try to get kubecontext to read. Stoping development for now on this branch * Add config and const file, remove hard coding * Add root command for start and stop, fix GetChart, change helm driver to configmap
- Loading branch information
Showing
27 changed files
with
3,185 additions
and
260 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
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,44 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_cross_binary", "go_library") | ||
|
||
go_library( | ||
name = "starship_lib", | ||
srcs = [ | ||
"charts.go", | ||
"config.go", | ||
"const.go", | ||
"main.go", | ||
"root.go", | ||
], | ||
data = [ | ||
"//tests:configfiles", | ||
], | ||
importpath = "github.com/cosmology-tech/starship/cmd/starship", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"@com_github_gofrs_flock//:flock", | ||
"@com_github_urfave_cli_v2//:cli", | ||
"@io_k8s_sigs_yaml//:yaml", | ||
"@org_uber_go_zap//:zap", | ||
"@org_uber_go_zap//zapcore", | ||
"@sh_helm_helm_v3//pkg/action", | ||
"@sh_helm_helm_v3//pkg/chart/loader", | ||
"@sh_helm_helm_v3//pkg/cli", | ||
"@sh_helm_helm_v3//pkg/cli/values", | ||
"@sh_helm_helm_v3//pkg/getter", | ||
"@sh_helm_helm_v3//pkg/release", | ||
"@sh_helm_helm_v3//pkg/repo", | ||
], | ||
) | ||
|
||
go_binary( | ||
name = "starship", | ||
embed = [":starship_lib"], | ||
static = "on", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
go_cross_binary( | ||
name = "starship_arm64", | ||
platform = "@io_bazel_rules_go//go/toolchain:linux_arm64", | ||
target = ":starship", | ||
) |
Oops, something went wrong.