Skip to content

Commit d7e3091

Browse files
committed
remove deprecated doc on in DEVELOPER
Signed-off-by: mathetake <[email protected]>
1 parent 6791785 commit d7e3091

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

DEVELOPER.md

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -42,62 +42,9 @@ getenvoy extension init my-extension
4242
```
4343
and follow the wizard.
4444

45-
> NOTE: At the moment, `Rust` extensions have a dependency on a private `GitHub` repository [tetratelabs/envoy-wasm-rust-sdk](https://github.com/tetratelabs/envoy-wasm-rust-sdk).
46-
>
47-
> In practice, it means that `Rust` toolchain (`cargo`) will have to pass through [GitHub authenticatation]() to be able to fetch the source code of [tetratelabs/envoy-wasm-rust-sdk](https://github.com/tetratelabs/envoy-wasm-rust-sdk).
48-
>
49-
> For more details see a section on [SSH authentication](https://doc.rust-lang.org/cargo/appendix/git-authentication.html#ssh-authentication) in the [Cargo Book](https://doc.rust-lang.org/cargo/).
50-
51-
To build a Wasm extension on `Mac OS`, do the following:
52-
1. [Configure SSH agent](https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent)
53-
2. Run:
54-
```shell
55-
cd my-new-extension
56-
57-
getenvoy extension build --toolchain-container-options \
58-
'--mount type=bind,src=/run/host-services/ssh-auth.sock,target=/run/host-services/ssh-auth.sock -e SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock'
59-
```
60-
6145
### How to run e2e Tests
6246

6347
Run:
6448
```shell
6549
make e2e
6650
```
67-
68-
> NOTE: At the moment, `Rust` extensions have a dependency on a private `GitHub` repository [tetratelabs/envoy-wasm-rust-sdk](https://github.com/tetratelabs/envoy-wasm-rust-sdk).
69-
>
70-
> In practice, it means that `Rust` toolchain (`cargo`) will have to pass through [GitHub authenticatation]() to be able to fetch the source code of [tetratelabs/envoy-wasm-rust-sdk](https://github.com/tetratelabs/envoy-wasm-rust-sdk).
71-
>
72-
> For more details see a section on [SSH authentication](https://doc.rust-lang.org/cargo/appendix/git-authentication.html#ssh-authentication) in the [Cargo Book](https://doc.rust-lang.org/cargo/).
73-
74-
To run e2e tests on `Mac OS`, do the following:
75-
1. [Configure SSH agent](https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent)
76-
2. Run:
77-
```shell
78-
bash -c '
79-
set -e
80-
81-
#
82-
# restore original ownership over the SSH agent socket (mounted inside container)
83-
#
84-
trap "docker run --rm -t --mount type=bind,src=/run/host-services/ssh-auth.sock,target=/run/host-services/ssh-auth.sock busybox chown 0 /run/host-services/ssh-auth.sock" EXIT
85-
86-
#
87-
# pass ownership over the SSH agent socket (mounted inside container) to the current user
88-
#
89-
docker run --rm -t --mount type=bind,src=/run/host-services/ssh-auth.sock,target=/run/host-services/ssh-auth.sock busybox chown $(id -u) /run/host-services/ssh-auth.sock
90-
91-
#
92-
# Run e2e tests in the following context:
93-
# 1. Pass SSH agent socket (so that build containers could download private dependencies)
94-
# 2. Override location of Cargo cache (so that all extensions and their build containers could share the same cache)
95-
#
96-
E2E_BUILTIN_TOOLCHAIN_CONTAINER_OPTIONS=" \
97-
--mount type=bind,src=/run/host-services/ssh-auth.sock,target=/run/host-services/ssh-auth.sock \
98-
-e SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock \
99-
-v /tmp/cache/getenvoy:/tmp/cache/getenvoy \
100-
-e CARGO_HOME=/tmp/cache/getenvoy/extension/rust-builder/cargo" \
101-
make e2e
102-
'
103-
```

0 commit comments

Comments
 (0)