Skip to content

Commit

Permalink
Add GRPC proto submodules (#105)
Browse files Browse the repository at this point in the history
* Add GRPC proto submodules

Also fetch them in CI
  • Loading branch information
iffyio authored Sep 17, 2020
1 parent c196f69 commit be64ddb
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
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

0 comments on commit be64ddb

Please sign in to comment.