mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2025-01-15 20:03:54 +00:00
Piotr Dobrowolski
1254c9905b
Change-Id: Ib66d48dd4b5eab23c31bb4931855b2f9c7a6d57c Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/2093 Reviewed-by: q3k <q3k@hackerspace.pl> Reviewed-by: radex <radex@hackerspace.pl>
18 lines
414 B
Python
18 lines
414 B
Python
load("@rules_go//go:def.bzl", "go_library")
|
|
load("@rules_go//extras:embed_data.bzl", "go_embed_data")
|
|
|
|
go_embed_data(
|
|
name = "certs_data",
|
|
srcs = glob(["*.crt"]),
|
|
flatten = True,
|
|
package = "certs",
|
|
)
|
|
|
|
go_library(
|
|
name = "certs",
|
|
srcs = [
|
|
":certs_data", # keep
|
|
],
|
|
importpath = "code.hackerspace.pl/hscloud/cluster/certs", # keep
|
|
visibility = ["//visibility:public"],
|
|
)
|