mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 16:37:24 +02:00
envoy: upgrade to 1.21.1 (#3186)
* envoy: upgrade to 1.21.1 * envoy: upgrade to 1.21.1
This commit is contained in:
parent
75a037b901
commit
d6bd2d06ef
7 changed files with 88 additions and 56 deletions
|
@ -5,18 +5,10 @@ PATH="$PATH:$(go env GOPATH)/bin"
|
|||
export PATH
|
||||
|
||||
_project_root="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)/.."
|
||||
_envoy_version=1.20.2
|
||||
_envoy_version=1.21.1
|
||||
_dir="$_project_root/internal/envoy/files"
|
||||
_target="${TARGET:-"$(go env GOOS)-$(go env GOARCH)"}"
|
||||
|
||||
if [ "$_target" == "darwin-arm64" ]; then
|
||||
echo "Using local envoy distribution for Apple M1"
|
||||
cp -f "$(which envoy)" "$_dir/envoy-$_target"
|
||||
(cd internal/envoy/files && sha256sum "$_dir/envoy-$_target" >"$_dir/envoy-$_target.sha256")
|
||||
echo "1.21.0-dev" >"$_dir/envoy-$_target.version"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
_url="https://github.com/pomerium/envoy-binaries/releases/download/v${_envoy_version}/envoy-${_target}"
|
||||
|
||||
curl \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue