diff --git a/BUILD b/BUILD index a88be60..985d011 100644 --- a/BUILD +++ b/BUILD @@ -3,6 +3,27 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") load("@aspect_bazel_lib//lib:jq.bzl", "jq") load("@aspect_bazel_lib//lib:yq.bzl", "yq") load("@rules_pkg//pkg:pkg.bzl", "pkg_tar") +load("@envoy_toolshed//:macros.bzl", "json_data") +load("//:versions.bzl", "VERSIONS") + +exports_files([ + "versions.bzl", +]) + +json_data( + name = "deps", + data = VERSIONS, +) + +jq( + name = "dependency_versions", + srcs = [":deps"], + out = "dependency_shas.json", + filter = """ + with_entries(select(.value | objects and .type == "github_archive") | .value |= {repo, sha256, urls, version}) + """, + visibility = ["//visibility:public"], +) exports_files([ "envoy-maintainers-public.key", diff --git a/versions.bzl b/versions.bzl index ea8ac8d..9ec45e8 100644 --- a/versions.bzl +++ b/versions.bzl @@ -49,8 +49,8 @@ VERSIONS = { "envoy": { "type": "github_archive", "repo": "envoyproxy/envoy", - "version": "7882314390c62829a3ebf9c6891d396a61bc51c8", - "sha256": "50d2c2d9588b92d16091c6efbe808f1b21f19d377c5be218f3182b5a9788957a", + "version": "b10deb602383972cd71ab0a836c846f7eb91b790", + "sha256": "a288ace133fbd8e356d3576fea21935efa5c0da6d3e9d201a5245b3db88503fe", "urls": ["https://github.com/{repo}/archive/{version}.tar.gz"], "strip_prefix": "envoy-{version}", },