Skip to content

Adds api.EnvoyPath to run a custom Envoy binary - #506

Merged
codefromthecrypt merged 3 commits into
masterfrom
envoy-path
May 8, 2026
Merged

Adds api.EnvoyPath to run a custom Envoy binary#506
codefromthecrypt merged 3 commits into
masterfrom
envoy-path

Conversation

@codefromthecrypt

@codefromthecrypt codefromthecrypt commented May 8, 2026

Copy link
Copy Markdown
Contributor

api.EnvoyPath and ENVOY_PATH allow running a custom Envoy binary, skipping version resolution and download entirely. This is useful for validating pre-release or feature branch builds not in the envoy-versions registry.

$ (cd ~/oss/envoy; nohup bazel build envoy 2>&1 | tee build.log &)
# wait a long time...
$ ENVOY_PATH=~/oss/envoy/bazel-bin/source/exe/envoy-static func-e run -- --version
starting: /Users/codefromthecrypt/oss/envoy/bazel-bin/source/exe/envoy-static ...

/Users/codefromthecrypt/oss/envoy/bazel-bin/source/exe/envoy-static  version: b03da5f87bd4117eecab5c51d4e6d6be9cccc794/1.39.0-dev/Modified/DEBUG/BoringSSL

Relates to tetratelabs/built-on-envoy#406

`api.EnvoyPath` and `ENVOY_PATH` allow running a custom Envoy binary,
skipping version resolution and download entirely. This is useful for
validating pre-release or feature branch builds before they are
published to the versions registry.

For example, to validate a locally built Envoy:
  ENVOY_PATH=/path/to/envoy func-e run -c envoy.yaml

Or via the Go API:
  func_e.Run(ctx, args, api.EnvoyPath("/path/to/envoy"))

```bash
$ ENVOY_PATH=~/oss/envoy/bazel-bin/source/exe/envoy-static func-e run -- --version
starting: /Users/codefromthecrypt/oss/envoy/bazel-bin/source/exe/envoy-static ...

/Users/codefromthecrypt/oss/envoy/bazel-bin/source/exe/envoy-static  version: b03da5f87bd4117eecab5c51d4e6d6be9cccc794/1.39.0-dev/Modified/DEBUG/BoringSSL
```

Relates to tetratelabs/built-on-envoy#406

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Signed-off-by: Adrian Cole <adrian@tetrate.io>
@codefromthecrypt
codefromthecrypt marked this pull request as ready for review May 8, 2026 04:29
@codefromthecrypt
codefromthecrypt requested a review from a team as a code owner May 8, 2026 04:29
@codefromthecrypt

Copy link
Copy Markdown
Contributor Author

polish here was to weave in the excellent feedback in #505 (review) without a new PR

Comment thread internal/admin/admin.go Outdated
Co-authored-by: Anuraag (Rag) Agrawal <anuraaga@gmail.com>
@codefromthecrypt
codefromthecrypt enabled auto-merge (squash) May 8, 2026 05:01
@codefromthecrypt
codefromthecrypt merged commit cf9478b into master May 8, 2026
9 checks passed
@codefromthecrypt
codefromthecrypt deleted the envoy-path branch May 8, 2026 05:02
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.

2 participants