Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

GoogleCloudPlatform/cloud-testenv-broker

Repository files navigation

Cloud Testing Environment Broker

This is a discovery and lifecycle tool to create a local testing environment of gRPC-based emulators.

Prerequisite:

Installation

# Install all dependencies:
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/runtime
go get -u github.com/golang/glog
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u github.com/golang/protobuf/ptypes
go get -u golang.org/x/net/http2
go get -u golang.org/x/net/http2/hpack
go get -u google.golang.org/grpc

mkdir -p $GOPATH/src/github.com/GoogleCloudPlatform
cd $GOPATH/src/github.com/GoogleCloudPlatform

# Clone the main project
git clone https://github.com/GoogleCloudPlatform/cloud-testenv-broker.git
cd cloud-testenv-broker

# Generate the source code from the proto files
# (you can find the generated files in $GOPATH/src/google)
./gen-proto.sh

# Run all tests
go test -v ./...

# Run the broker in standalone mode
./run-broker.sh

# Build a binary distribution for Linux, Mac, and Windows
./build-zip.sh

About

Local development tooling for API emulators.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published