Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 2 | |
| 3 | go_library( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 4 | name = "statusz", |
Sergiusz Bazanski | 1affad4 | 2019-04-06 01:21:04 +0200 | [diff] [blame] | 5 | srcs = [ |
| 6 | "load.go", |
| 7 | "statusz.go", |
| 8 | ], |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 9 | importpath = "code.hackerspace.pl/hscloud/go/statusz", |
| 10 | visibility = ["//visibility:public"], |
Sergiusz Bazanski | 8fe651b | 2019-07-21 23:50:05 +0200 | [diff] [blame] | 11 | 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 Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 17 | deps = [ |
| 18 | "@com_github_golang_glog//:glog", |
| 19 | "@com_github_shirou_gopsutil//load", |
| 20 | ], |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 21 | ) |