diff --git a/mk/dependencies/deps.lock b/mk/dependencies/deps.lock index 284978c4a0fc..ccecd67f8ac4 100644 --- a/mk/dependencies/deps.lock +++ b/mk/dependencies/deps.lock @@ -1 +1 @@ -0df6ececa47529d52f614fb447d03b9ac4587408 +8833e8be9eeeee4903952db5e738daf19645c938 diff --git a/mk/dependencies/go-deps.sh b/mk/dependencies/go-deps.sh index a4f398a02b17..162b0332b1f2 100755 --- a/mk/dependencies/go-deps.sh +++ b/mk/dependencies/go-deps.sh @@ -9,6 +9,8 @@ OUTPUT_PROTO_DIR=$1/protos PGV=github.com/envoyproxy/protoc-gen-validate@$(go list -f '{{.Version}}' -m github.com/envoyproxy/protoc-gen-validate) PGKUMADOC=github.com/kumahq/protoc-gen-kumadoc@$(go list -f '{{.Version}}' -m github.com/kumahq/protoc-gen-kumadoc) + +PIDS=() for i in \ google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1 \ google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0 \ @@ -24,8 +26,12 @@ for i in \ ; do echo "install go dep: ${i}" GOBIN=${OUTPUT_BIN_DIR} go install "${i}" & + PIDS+=($!) +done + +for PID in "${PIDS[@]}"; do + wait "${PID}" done -wait set +x # Get the protos from some go dependencies