tooling: include protoc-gen-jsonschema repository (#27661)

Signed-off-by: norbjd <norbjd@users.noreply.github.com>

Mirrored from https://github.com/envoyproxy/envoy @ 86537d1640e47b386e2f466e58931ccfa8aca770
pull/629/head
data-plane-api(Azure Pipelines) 2 years ago
parent 3bbc62e37a
commit 9ffe79bc2a
  1. 4
      bazel/repositories.bzl
  2. 11
      bazel/repository_locations.bzl

@ -49,6 +49,10 @@ def api_dependencies():
build_file_content = BUF_BUILD_CONTENT,
)
external_http_archive(
name = "com_github_chrusty_protoc_gen_jsonschema",
)
PROMETHEUSMETRICS_BUILD_CONTENT = """
load("@envoy_api//bazel:api_build_system.bzl", "api_cc_py_proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")

@ -140,4 +140,15 @@ REPOSITORY_LOCATIONS_SPEC = dict(
license = "Apache-2.0",
license_url = "https://github.com/bufbuild/buf/blob/v{version}/LICENSE",
),
com_github_chrusty_protoc_gen_jsonschema = dict(
project_name = "protoc-gen-jsonschema",
project_desc = "Protobuf to JSON-Schema compiler",
project_url = "https://github.com/norbjd/protoc-gen-jsonschema",
strip_prefix = "protoc-gen-jsonschema-{version}",
sha256 = "ba3e313b10a1b50a6c1232d994c13f6e23d3669be4ae7fea13762f42bb3b2abc",
version = "7680e4998426e62b6896995ff73d4d91cc5fb13c",
urls = ["https://github.com/norbjd/protoc-gen-jsonschema/archive/{version}.zip"],
use_category = ["build"],
release_date = "2023-05-30",
),
)

Loading…
Cancel
Save