From 099192cacf895797a69882a8e30a8651cc67aef6 Mon Sep 17 00:00:00 2001 From: "app-token-plugins[bot]" <116026991+app-token-plugins[bot]@users.noreply.github.com> Date: Thu, 9 Mar 2023 21:03:32 -0500 Subject: [PATCH] Update chrusty-jsonschema v1.4.0 (#412) New plugin versions found. Please review. --------- Co-authored-by: pkwarren Co-authored-by: Mike Fridman --- .../community/chrusty-jsonschema/v1.4.0/.dockerignore | 2 ++ .../community/chrusty-jsonschema/v1.4.0/Dockerfile | 11 +++++++++++ .../chrusty-jsonschema/v1.4.0/buf.plugin.yaml | 7 +++++++ .../chrusty-jsonschema/v1.4.0/eliza/plugin.sum | 1 + .../chrusty-jsonschema/v1.4.0/petapis/plugin.sum | 1 + 5 files changed, 22 insertions(+) create mode 100644 plugins/community/chrusty-jsonschema/v1.4.0/.dockerignore create mode 100644 plugins/community/chrusty-jsonschema/v1.4.0/Dockerfile create mode 100644 plugins/community/chrusty-jsonschema/v1.4.0/buf.plugin.yaml create mode 100644 tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/petapis/plugin.sum diff --git a/plugins/community/chrusty-jsonschema/v1.4.0/.dockerignore b/plugins/community/chrusty-jsonschema/v1.4.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/community/chrusty-jsonschema/v1.4.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/community/chrusty-jsonschema/v1.4.0/Dockerfile b/plugins/community/chrusty-jsonschema/v1.4.0/Dockerfile new file mode 100644 index 000000000..df9856fce --- /dev/null +++ b/plugins/community/chrusty-jsonschema/v1.4.0/Dockerfile @@ -0,0 +1,11 @@ +# syntax=docker/dockerfile:1.4 +FROM golang:1.20.2-bullseye AS build +RUN --mount=type=cache,target=/go/pkg/mod \ + CGO_ENABLED=0 \ + go install -ldflags "-s -w" -trimpath github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema@1.4.0 + +FROM scratch +COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd +COPY --from=build --link --chown=root:root /go/bin/protoc-gen-jsonschema / +USER nobody +ENTRYPOINT [ "/protoc-gen-jsonschema" ] diff --git a/plugins/community/chrusty-jsonschema/v1.4.0/buf.plugin.yaml b/plugins/community/chrusty-jsonschema/v1.4.0/buf.plugin.yaml new file mode 100644 index 000000000..995d908bf --- /dev/null +++ b/plugins/community/chrusty-jsonschema/v1.4.0/buf.plugin.yaml @@ -0,0 +1,7 @@ +version: v1 +name: buf.build/community/chrusty-jsonschema +plugin_version: v1.4.0 +source_url: https://github.com/chrusty/protoc-gen-jsonschema +description: Converts protobuf definitions into JSON Schemas, which can be used to dynamically validate JSON messages. +spdx_license_id: Apache-2.0 +license_url: https://github.com/chrusty/protoc-gen-jsonschema/blob/1.4.0/LICENSE diff --git a/tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/eliza/plugin.sum b/tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/eliza/plugin.sum new file mode 100644 index 000000000..02f4ecec8 --- /dev/null +++ b/tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:tnQpL/PE7EvJkOcy0A4F8G40ki/+3hnDERt6SbNahdQ= diff --git a/tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/petapis/plugin.sum b/tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/petapis/plugin.sum new file mode 100644 index 000000000..23cf9eaca --- /dev/null +++ b/tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:13tUpzHkyYT4W4QCW4Nkudd1KofGEtZ5HU8zDUECCXM=