Skip to content

Commit

Permalink
prometheus-client: Run gazelle update-repos on prometheus-client.
Browse files Browse the repository at this point in the history
Use gazelle to automatically generate new macros which follow the
go module system.
  • Loading branch information
cryslith committed Apr 17, 2020
1 parent 54382e8 commit 475b6bc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions platform/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ prometheus_node_exporter_dependencies()

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

# gazelle:repository_macro prometheus-client/deps.bzl%prometheus_client_dependencies
prometheus_client_dependencies()

load("//pull-monitor/pull-monitor:deps.bzl", "pull_monitor_dependencies")
Expand Down
23 changes: 14 additions & 9 deletions platform/prometheus-client/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,49 @@ def prometheus_client_dependencies():

go_repository(
name = "com_github_prometheus_client_golang",
commit = "aa9238db679fc02bf22cf4f2c27a980edcb5ada0", # v1.5.1
importpath = "github.com/prometheus/client_golang",
sum = "h1:bdHYieyGlH+6OLEk2YQha8THib30KP0/yD0YH9m6xcA=",
version = "v1.5.1",
)

go_repository(
name = "com_github_prometheus_common",
commit = "d978bcb1309602d68bb4ba69cf3f8ed900e07308", # v0.9.1
importpath = "github.com/prometheus/common",
sum = "h1:KOMtN28tlbam3/7ZKEYKHhKoJZYYj3gMH4uc62x7X7U=",
version = "v0.9.1",
)

go_repository(
name = "com_github_prometheus_procfs",
commit = "46159f73e74d1cb8dc223deef9b2d049286f46b1", # v0.0.11
importpath = "github.com/prometheus/procfs",
sum = "h1:DhHlBtkHWPYi8O2y31JkK0TF+DGM+51OopZjH/Ia5qI=",
version = "v0.0.11",
)

go_repository(
name = "com_github_prometheus_client_model",
commit = "7bc5445566f0fe75b15de23e6b93886e982d7bf9", # v0.2.0
importpath = "github.com/prometheus/client_model",
sum = "h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=",
version = "v0.2.0",
)

go_repository(
name = "com_github_cespare_xxhash_v2",
commit = "d7df74196a9e781ede915320c11c378c1b2f3a1f", # v2.1.1
importpath = "github.com/cespare/xxhash/v2",
remote = "https://github.com/cespare/xxhash.git",
vcs = "git",
sum = "h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=",
version = "v2.1.1",
)

go_repository(
name = "com_github_matttproud_golang_protobuf_extensions",
commit = "c12348ce28de40eed0136aa2b644d0ee0650e56c", # v1.0.1
importpath = "github.com/matttproud/golang_protobuf_extensions",
sum = "h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=",
version = "v1.0.1",
)

go_repository(
name = "com_github_beorn7_perks",
commit = "37c8de3658fcb183f997c4e13e8337516ab753e6", # v1.0.1
importpath = "github.com/beorn7/perks",
sum = "h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=",
version = "v1.0.1",
)

0 comments on commit 475b6bc

Please sign in to comment.