Skip to content

Commit 3db0673

Browse files
authored
Adds ENVOY_VERSION (#5)
1 parent 32187eb commit 3db0673

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

ENVOY_VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
80c1ac2143a7a73932c9dff814d38fd6867fe691

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ curl localhost:1062/uuid
5656

5757
to make sure the (passthrough) filter is working.
5858

59-
[78efd97]: https://github.com/envoyproxy/envoy/tree/80c1ac2143a7a73932c9dff814d38fd6867fe691
59+
60+
## Update Envoy Version
61+
62+
To update the Envoy version used in this repository, execute the following command:
63+
64+
```
65+
CURRENT_VERSION="$(cat ENVOY_VERSION)"
66+
NEW_VERSION=80c1ac2143a7a73932c9dff814d38fd6867fe691 # Whatever the head commit in envoyproxy/envoy repo.
67+
grep -rlF "${CURRENT_VERSION}" . | xargs sed -i "s/${CURRENT_VERSION}/${NEW_VERSION}/g"
68+
```
69+
70+
[80c1ac2143a7a73932c9dff814d38fd6867fe691]: https://github.com/envoyproxy/envoy/tree/80c1ac2143a7a73932c9dff814d38fd6867fe691
6071
[Envoy]: https://github.com/envoyproxy/envoy
6172
[High Level Doc]: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/dynamic_modules

rust/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = "https://github.com/envoyproxy/dynamic-modules-example"
88

99
[dependencies]
1010
# The SDK version must match the Envoy version due to the strict compatibility requirements.
11-
envoy-proxy-dynamic-modules-rust-sdk = { git = "https://github.com/envoyproxy/envoy", rev = "78efd97" }
11+
envoy-proxy-dynamic-modules-rust-sdk = { git = "https://github.com/envoyproxy/envoy", rev = "80c1ac2143a7a73932c9dff814d38fd6867fe691" }
1212

1313
[lib]
1414
name = "rust_module"

0 commit comments

Comments
 (0)