blob: 91890108344928654cd7a0a94c006a95294d6eeb [file] [log] [blame]
Sergiusz Bazanskib13b7ff2019-08-29 20:12:24 +02001load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2
3go_library(
Serge Bazanski97b5cd72023-07-28 17:14:50 +00004 name = "prodaccess_lib",
Sergiusz Bazanskib13b7ff2019-08-29 20:12:24 +02005 srcs = [
Serge Bazanskif3312ef2020-08-01 17:15:52 +02006 "hspki.go",
Sergiusz Bazanskib13b7ff2019-08-29 20:12:24 +02007 "kubernetes.go",
8 "prodaccess.go",
9 ],
10 importpath = "code.hackerspace.pl/hscloud/cluster/prodaccess",
11 visibility = ["//visibility:private"],
12 deps = [
Serge Bazanski97b5cd72023-07-28 17:14:50 +000013 "//cluster/certs",
14 "//cluster/prodvider/proto",
15 "//go/pki",
16 "//go/workspace",
17 "@com_github_golang_glog//:glog",
Sergiusz Bazanskib13b7ff2019-08-29 20:12:24 +020018 "@org_golang_google_grpc//:go_default_library",
Serge Bazanski97b5cd72023-07-28 17:14:50 +000019 "@org_golang_google_grpc//credentials",
20 "@org_golang_x_crypto//ssh/terminal",
Sergiusz Bazanskib13b7ff2019-08-29 20:12:24 +020021 ],
22)
23
24go_binary(
25 name = "prodaccess",
Serge Bazanski97b5cd72023-07-28 17:14:50 +000026 embed = [":prodaccess_lib"],
Sergiusz Bazanskib13b7ff2019-08-29 20:12:24 +020027 visibility = ["//visibility:public"],
28)