Skip to content

Commit

Permalink
minor release refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
5h4d0w4rt committed Jan 4, 2021
1 parent 376a3ea commit 4495b67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>Prometheus bazel rules
<h1>Prometheus bazel rules</h1>

Prometheus/Alertmanager rules for Bazel

Expand All @@ -9,9 +9,9 @@ Prometheus/Alertmanager rules for Bazel
- [promtool_unit_test](#promtool_unit_test)
- [prometheus](#prometheus)
- [promtool](#promtool)
- [Examples](#examples)

TODO
- improve rules documentation
- better examples or point to examples directory
- integrate alertmanager and amtool into rules and workspace binaries
- start prometheus server/alertmanager with input configs
Expand Down Expand Up @@ -231,3 +231,5 @@ promtool(
| :-------------: | :-------------: | :-------------: |
| name | A unique name for this target. | none |
| kwargs | Attributes to be passed along | none |

# Examples
15 changes: 5 additions & 10 deletions prometheus/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ package(
exports_files(
[
"repositories.bzl",
],
] + glob([
"*.bat",
"*.sh",
"*.sh.tpl",
]),
visibility = ["//visibility:public"],
)

Expand All @@ -21,15 +25,6 @@ exports_files([
"toolchain.bzl",
])

exports_files(
glob([
"*.bat",
"*.sh",
"*.sh.tpl",
]),
visibility = ["//visibility:public"],
)

bzl_library(
name = "promtool",
srcs = ["promtool.bzl"],
Expand Down

0 comments on commit 4495b67

Please # to comment.