| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "k8s-deployer_lib", |
| srcs = ["main.go"], |
| importpath = "go.skia.org/infra/k8s-deployer/go/k8s-deployer", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//go/auth", |
| "//go/common", |
| "//go/exec", |
| "//go/gitiles", |
| "//go/httputils", |
| "//go/k8s", |
| "//go/metrics2", |
| "//go/skerr", |
| "//go/sklog", |
| "//go/util", |
| "@io_k8s_apimachinery//pkg/apis/meta/v1:meta", |
| "@org_golang_x_oauth2//google", |
| ], |
| ) |
| |
| go_binary( |
| name = "k8s-deployer", |
| embed = [":k8s-deployer_lib"], |
| visibility = ["//visibility:public"], |
| ) |