Skip to content

Releases: 5h4d0w4rt/rules_prometheus

0.0.5-alpha.2

03 Nov 05:05
69553b8
Compare
Choose a tag to compare
0.0.5-alpha.2 Pre-release
Pre-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-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

31 Oct 13:34
85883cd
Compare
Choose a tag to compare
Pre-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

30 Oct 14:35
e032cbb
Compare
Choose a tag to compare

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

04 Jan 10:07
4495b67
Compare
Choose a tag to compare
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

19 Dec 13:21
Compare
Choose a tag to compare

shasum256
6e7817ed382373d1056ea9fe8a3e3c06bcffd11cee14c22a6930ca38b65aaf07

rules-prometheus-0.0.1

18 Dec 21:14
Compare
Choose a tag to compare
Pre-release

Initial release