Releases: 5h4d0w4rt/rules_prometheus
Releases · 5h4d0w4rt/rules_prometheus
0.0.5-alpha.2
Not stable yet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_prometheus",
sha256 = "390c19a9f9371cf3e79c7e3d8108513958a0342bc2bc925189e86cd74beccb83",
strip_prefix = "rules_prometheus-0.0.5-alpha.2",
urls = ["https://github.com/5h4d0w4rt/rules_prometheus/archive/0.0.5-alpha.2.zip"],
)
load("@io_bazel_rules_prometheus//:deps.bzl", "rules_prometheus_repositories", "rules_prometheus_toolchains")
# this downloads dependencies required for prometheus to work
rules_prometheus_repositories()
# this downloads prometheus blobs and registers toolchain
rules_prometheus_toolchains()
0.0.5 Just A Stability Release
Not stable yet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_prometheus",
sha256 = "390c19a9f9371cf3e79c7e3d8108513958a0342bc2bc925189e86cd74beccb83",
strip_prefix = "rules_prometheus-0.0.5",
urls = ["https://github.com/5h4d0w4rt/rules_prometheus/archive/0.0.5.zip"],
)
load("@io_bazel_rules_prometheus//:deps.bzl", "rules_prometheus_repositories", "rules_prometheus_toolchains")
# this downloads dependencies required for prometheus to work
rules_prometheus_repositories()
# this downloads prometheus blobs and registers toolchain
rules_prometheus_toolchains()
0.0.4 Support for different architectures
Support for different architectures now added!
Bazel will automatically determine the required binary set for your host platform. Platform namespace (but not at all required to use) is available at
@io_bazel_rules_prometheus//prometheus/internal:prometheus_platform_{os}-{cpu_architecture}
example:
bazelisk build //... --platforms @io_bazel_rules_prometheus//prometheus/internal:prometheus_platform_linux-amd64
bazelisk build //... --platforms @io_bazel_rules_prometheus//prometheus/internal:prometheus_platform_darwin-amd64
release snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_prometheus",
sha256 = "c9980c638cba01015f31bc610788d5396b05b67c99c1f065fef17427cb8459fe",
strip_prefix = "rules_prometheus-0.0.4",
urls = ["https://github.com/5h4d0w4rt/rules_prometheus/archive/0.0.4.zip"],
)
load("@io_bazel_rules_prometheus//:deps.bzl", "prometheus_repositories")
prometheus_repositories()
0.0.3, darwin-only
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_prometheus",
sha256 = "e026853928dbf06f67430448d4242921b387b2e1c6b317f05b3db0c21c08f2aa",
strip_prefix = "rules_prometheus-0.0.3",
urls = ["https://github.com/5h4d0w4rt/rules_prometheus/archive/0.0.3.zip"],
)
load("@io_bazel_rules_prometheus//:deps.bzl", "prometheus_repositories")
prometheus_repositories()
Initial distributable release, darwin-only
shasum256
6e7817ed382373d1056ea9fe8a3e3c06bcffd11cee14c22a6930ca38b65aaf07
rules-prometheus-0.0.1
Initial release