https://github.com/allancalix/bazel-tools
Bazel rules for working with Nomad, Prometheus, and more
https://github.com/allancalix/bazel-tools
bazel bazel-rules ci levant nomad opa prometheus
Last synced: 9 months ago
JSON representation
Bazel rules for working with Nomad, Prometheus, and more
- Host: GitHub
- URL: https://github.com/allancalix/bazel-tools
- Owner: allancalix
- License: mit
- Created: 2021-11-12T07:53:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-16T09:24:04.000Z (about 4 years ago)
- Last Synced: 2025-09-24T01:51:53.380Z (10 months ago)
- Topics: bazel, bazel-rules, ci, levant, nomad, opa, prometheus
- Language: Starlark
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bazel Tools
A collection of rules and macros for working with a variety of popular open source
tools.
## Tools
* [Prometheus](https://github.com/prometheus/prometheus)
* Alerts and recorded expression unit tests
* [Opa](https://github.com/open-policy-agent/opa)
* Rule for testing Opa policies
* Rule for compiling data and policy files into bundles
* [Nomad](https://github.com/hashicorp/nomad)
* Rule for rendering a job definition using [Levant](https://github.com/hashicorp/levant)
* Rule for deploying to nomad `nomad run`
## Rules
* [Nomad Rules](./internal/nomad_rules.md)
* [Opa Rules](./internal/opa_rules.md)
* [Prometheus Rules](./internal/prometheus_rules.md)
## Caveats
These rules are meant to support my own day-to-day activities and are not meant
to be complete integrations. Additionally, toolchain support is currently set up
for x86_64 Linux and Darwin based systems.
These rules can work for other platforms, namely M1 Mac (ARM) and Windows, but
requires a custom toolchain setup. As of this writing, all the tools supported
by these rules do not publish prebuilt binaries for these platforms requiring
some additional work.