Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GRPC proto submodules #105

Merged
merged 3 commits into from
Sep 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "proto/data-plane-api"]
path = proto/data-plane-api
url = https://github.com/envoyproxy/data-plane-api.git
[submodule "proto/udpa"]
path = proto/udpa
url = https://github.com/cncf/udpa.git
[submodule "proto/protoc-gen-validate"]
path = proto/protoc-gen-validate
url = https://github.com/envoyproxy/protoc-gen-validate.git
[submodule "proto/googleapis"]
path = proto/googleapis
url = https://github.com/googleapis/googleapis.git
14 changes: 14 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@
# limitations under the License.

steps:
- name: gcr.io/cloud-builders/git
entrypoint: '/bin/sh'
args:
- '-c'
- |
git clone --depth 100 https://github.com/envoyproxy/data-plane-api.git proto/data-plane-api
git -C proto/data-plane-api checkout b84d3bea45b59abc3fd21fba26140a379461fc67
git clone --depth 100 https://github.com/cncf/udpa.git proto/udpa
git -C proto/udpa checkout efcf912fb35470672231c7b7bef620f3d17f655a
git clone --depth 100 https://github.com/envoyproxy/protoc-gen-validate.git proto/protoc-gen-validate
git -C proto/protoc-gen-validate checkout e84d38a1a4c27d4662779c31a06528cdbc6b4b4f
git clone --depth 100 https://github.com/googleapis/googleapis.git proto/googleapis
git -C proto/googleapis checkout 2db5725bf898b544a0cf951e1694d3b0fce5eda3
id: fetch-git-submodules
# clippy tends to rely on cached results from other cargo sub-commands so
# that it skips checking some files that were built previously. As a result
# we run it before other cargo sub-commands to ensure that it checks all files.
Expand Down
1 change: 1 addition & 0 deletions proto/data-plane-api
Submodule data-plane-api added at b84d3b
1 change: 1 addition & 0 deletions proto/googleapis
Submodule googleapis added at 2db572
1 change: 1 addition & 0 deletions proto/protoc-gen-validate
Submodule protoc-gen-validate added at e84d38
1 change: 1 addition & 0 deletions proto/udpa
Submodule udpa added at efcf91