blob: 9becefc1d857318a7ed53ee22f383ec65ef033a4 [file] [log] [blame]
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02001load("@io_bazel_rules_go//go:def.bzl", "go_library")
2
3go_library(
Serge Bazanski97b5cd72023-07-28 17:14:50 +00004 name = "statusz",
Sergiusz Bazanski1affad42019-04-06 01:21:04 +02005 srcs = [
6 "load.go",
7 "statusz.go",
8 ],
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02009 importpath = "code.hackerspace.pl/hscloud/go/statusz",
10 visibility = ["//visibility:public"],
Sergiusz Bazanski8fe651b2019-07-21 23:50:05 +020011 x_defs = {
12 "code.hackerspace.pl/hscloud/go/statusz.GitCommit": "{STABLE_GIT_COMMIT}",
13 "code.hackerspace.pl/hscloud/go/statusz.GitVersion": "{STABLE_GIT_VERSION}",
14 "code.hackerspace.pl/hscloud/go/statusz.Builder": "{STABLE_BUILDER}",
15 "code.hackerspace.pl/hscloud/go/statusz.BuildTimestamp": "{BUILD_TIMESTAMP}",
16 },
Serge Bazanski97b5cd72023-07-28 17:14:50 +000017 deps = [
18 "@com_github_golang_glog//:glog",
19 "@com_github_shirou_gopsutil//load",
20 ],
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020021)