-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec77831
commit 3dbbbf4
Showing
1 changed file
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,38 @@ | |
|
||
For some platforms, envoy is only distributed via docker images. | ||
|
||
This repo contains: | ||
- a utility to extract envoy binaries from upstream container images | ||
- releases to house the envoy binary assets in an easily accessible place | ||
This repo contains: | ||
|
||
- a utility to extract envoy binaries from upstream container images | ||
- releases to house the envoy binary assets in an easily accessible place | ||
|
||
# Releasing | ||
|
||
When a release tag is created, the envoy binaries will be automatically extracted from the matching `envoyproxy/envoy` image tag and uploaded to the release. | ||
|
||
# Building Envoy for darwin/arm64 | ||
|
||
Currently there's no way to run a github action on darwin/arm64, so the build must be done manually: | ||
|
||
1. Clone envoyproxy/envoy | ||
```bash | ||
git clone [email protected]:envoyproxy/envoy | ||
``` | ||
1. Checkout the release tag | ||
```bash | ||
git checkout v1.23.0 | ||
``` | ||
1. Build | ||
```bash | ||
bazelisk build -c "opt" //source/exe:envoy-static --config=sizeopt | ||
``` | ||
1. Wait a **very** long time. | ||
1. Copy binary | ||
```bash | ||
cp -f bazel-bin/source/exe/envoy-static ~/Downloads/envoy-darwin-arm64 | ||
``` | ||
1. Produce shasum | ||
```bash | ||
shasum -a 256 ~/Downloads/envoy-darwin-arm64 > ~/Downloads/envoy-darwin-arm64.sha256 | ||
``` | ||
1. Drag & Drop the files to the release |