Skip to content

Commit

Permalink
Add release target to copy binary after build server_only (envoyproxy…
Browse files Browse the repository at this point in the history
…#30204)

Signed-off-by: Keith Mattix II <[email protected]>
  • Loading branch information
keithmattix authored Oct 18, 2023
1 parent b2769eb commit 0371a28
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ For a release version of the Envoy binary you can run:
The build artifact can be found in `/tmp/envoy-docker-build/envoy/source/exe/envoy` (or wherever
`$ENVOY_DOCKER_BUILD_DIR` points).

To enable the previous behavior of the `release.server_only` target where the final binary was copied to a tar.gz file
(e.g. envoy-binary.tar.gz), you can run:

```bash
./ci/run_envoy_docker.sh './ci/do_ci.sh release.server_only.binary
```
For a debug version of the Envoy binary you can run:
```bash
Expand Down
6 changes: 6 additions & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,12 @@ case $CI_TARGET in
echo "Release files created in ${ENVOY_BINARY_DIR}"
;;

release.server_only.binary)
setup_clang_toolchain
echo "bazel release build..."
bazel_envoy_binary_build release
;;

release.signed)
echo "Signing binary packages..."
setup_clang_toolchain
Expand Down

0 comments on commit 0371a28

Please sign in to comment.