Skip to content

Commit 475b6bc

Browse files
committed
prometheus-client: Run gazelle update-repos on prometheus-client.
Use gazelle to automatically generate new macros which follow the go module system.
1 parent 54382e8 commit 475b6bc

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

platform/WORKSPACE

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ prometheus_node_exporter_dependencies()
7878

7979
load("//prometheus-client:deps.bzl", "prometheus_client_dependencies")
8080

81+
# gazelle:repository_macro prometheus-client/deps.bzl%prometheus_client_dependencies
8182
prometheus_client_dependencies()
8283

8384
load("//pull-monitor/pull-monitor:deps.bzl", "pull_monitor_dependencies")

platform/prometheus-client/deps.bzl

+14-9
Original file line numberDiff line numberDiff line change
@@ -5,44 +5,49 @@ def prometheus_client_dependencies():
55

66
go_repository(
77
name = "com_github_prometheus_client_golang",
8-
commit = "aa9238db679fc02bf22cf4f2c27a980edcb5ada0", # v1.5.1
98
importpath = "github.com/prometheus/client_golang",
9+
sum = "h1:bdHYieyGlH+6OLEk2YQha8THib30KP0/yD0YH9m6xcA=",
10+
version = "v1.5.1",
1011
)
1112

1213
go_repository(
1314
name = "com_github_prometheus_common",
14-
commit = "d978bcb1309602d68bb4ba69cf3f8ed900e07308", # v0.9.1
1515
importpath = "github.com/prometheus/common",
16+
sum = "h1:KOMtN28tlbam3/7ZKEYKHhKoJZYYj3gMH4uc62x7X7U=",
17+
version = "v0.9.1",
1618
)
1719

1820
go_repository(
1921
name = "com_github_prometheus_procfs",
20-
commit = "46159f73e74d1cb8dc223deef9b2d049286f46b1", # v0.0.11
2122
importpath = "github.com/prometheus/procfs",
23+
sum = "h1:DhHlBtkHWPYi8O2y31JkK0TF+DGM+51OopZjH/Ia5qI=",
24+
version = "v0.0.11",
2225
)
2326

2427
go_repository(
2528
name = "com_github_prometheus_client_model",
26-
commit = "7bc5445566f0fe75b15de23e6b93886e982d7bf9", # v0.2.0
2729
importpath = "github.com/prometheus/client_model",
30+
sum = "h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=",
31+
version = "v0.2.0",
2832
)
2933

3034
go_repository(
3135
name = "com_github_cespare_xxhash_v2",
32-
commit = "d7df74196a9e781ede915320c11c378c1b2f3a1f", # v2.1.1
3336
importpath = "github.com/cespare/xxhash/v2",
34-
remote = "https://github.com/cespare/xxhash.git",
35-
vcs = "git",
37+
sum = "h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=",
38+
version = "v2.1.1",
3639
)
3740

3841
go_repository(
3942
name = "com_github_matttproud_golang_protobuf_extensions",
40-
commit = "c12348ce28de40eed0136aa2b644d0ee0650e56c", # v1.0.1
4143
importpath = "github.com/matttproud/golang_protobuf_extensions",
44+
sum = "h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=",
45+
version = "v1.0.1",
4246
)
4347

4448
go_repository(
4549
name = "com_github_beorn7_perks",
46-
commit = "37c8de3658fcb183f997c4e13e8337516ab753e6", # v1.0.1
4750
importpath = "github.com/beorn7/perks",
51+
sum = "h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=",
52+
version = "v1.0.1",
4853
)

0 commit comments

Comments
 (0)