Skip to content

include required python and go dependencies for grpc-bridge example#6402

Merged
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
alaiacano:alaiacano/grpc-bridge-setup
Mar 28, 2019
Merged

include required python and go dependencies for grpc-bridge example#6402
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
alaiacano:alaiacano/grpc-bridge-setup

Conversation

@alaiacano
Copy link
Copy Markdown
Contributor

I followed the guide for the grpc-bridge example at https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/grpc_bridge and came into some problems with missing dependencies. The tweaks to the example are:

  • Add protobuf python package so that kv_pb2.py works
  • Add golang.org/x/sys/unix go package so that script/build works
  • Use /usr/bin/env python instead of system default (so that virtual environments work)

Risk Level: Low

Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Adam Laiacano <adam.laiacano@gmail.com>

Signed-off-by: Adam Laiacano <adam.laiacano@gmail.com>
mattklein123
mattklein123 previously approved these changes Mar 27, 2019
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! @moderation does this look OK to you?

@mattklein123 mattklein123 self-assigned this Mar 27, 2019
Signed-off-by: Adam Laiacano <adam.laiacano@gmail.com>
@alaiacano
Copy link
Copy Markdown
Contributor Author

I noticed the reason this probably worked within the docker container but not when I was fiddling around with the client code locally - it wasn't actually installing from client/requirements.txt, but had the required packages hard-coded in the dockerfile. Fixed it with the last commit.

@moderation
Copy link
Copy Markdown
Contributor

LGTM

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mattklein123 mattklein123 merged commit 7eee8b3 into envoyproxy:master Mar 28, 2019
spenceral added a commit to spenceral/envoy that referenced this pull request Mar 29, 2019
* master:
  router: support prefix wildcards in virtual hosts domains (envoyproxy#6303)
  security: update distributor application example to include e-mail. (envoyproxy#6425)
  Examples: Update gen script of grpc example service (envoyproxy#6372)
  config: de-templatize source/common/config (envoyproxy#6391)
  docs: adds information about the Envoy tracer from Instana envoyproxy#6371 (envoyproxy#6416)
  test: convert ratelimit test configs to v2 YAML (envoyproxy#6411)
  include required python and go dependencies for grpc-bridge example (envoyproxy#6402)
  docs: more snapping fixes (envoyproxy#6404)
  runtime: switching from unordered_map to absl::flat_hash_map (envoyproxy#6389)
@alaiacano alaiacano deleted the alaiacano/grpc-bridge-setup branch March 31, 2019 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants