Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| 2 | |
| 3 | go_library( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 4 | name = "prodaccess_lib", |
Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 5 | srcs = [ |
Serge Bazanski | f3312ef | 2020-08-01 17:15:52 +0200 | [diff] [blame] | 6 | "hspki.go", |
Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 7 | "kubernetes.go", |
| 8 | "prodaccess.go", |
| 9 | ], |
| 10 | importpath = "code.hackerspace.pl/hscloud/cluster/prodaccess", |
| 11 | visibility = ["//visibility:private"], |
| 12 | deps = [ |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 13 | "//cluster/certs", |
| 14 | "//cluster/prodvider/proto", |
| 15 | "//go/pki", |
| 16 | "//go/workspace", |
| 17 | "@com_github_golang_glog//:glog", |
Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 18 | "@org_golang_google_grpc//:go_default_library", |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 19 | "@org_golang_google_grpc//credentials", |
| 20 | "@org_golang_x_crypto//ssh/terminal", |
Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 21 | ], |
| 22 | ) |
| 23 | |
| 24 | go_binary( |
| 25 | name = "prodaccess", |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 26 | embed = [":prodaccess_lib"], |
Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 27 | visibility = ["//visibility:public"], |
| 28 | ) |