Fix scripts for docker build on mac#958
Conversation
|
@lyft/network-team |
mattklein123
left a comment
There was a problem hiding this comment.
awesome, thanks. small comments.
ci/README.md
Outdated
|
|
||
| ```bash | ||
| ENVOY_DOCKER_BUILD_DIR=~/build ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.dev.server_only' | ||
| ENVOY_DOCKER_BUILD_DIR=~/build ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.debug.server_only' |
There was a problem hiding this comment.
This doesn't actually match the output directory above AFAIK. I would just switch back to dev and remove server_only
docs/install/sandboxes.rst
Outdated
| That command will take some time to run because it is compiling an envoy binary. | ||
|
|
||
| For more information on building, please refer to | ||
| `this documentation <https://github.com/lyft/envoy/tree/master/ci#building-and-running-tests-as-a-developer>`_. |
There was a problem hiding this comment.
nit: you can use :repo: here (search other docs)
htuch
left a comment
There was a problem hiding this comment.
LGTM modulo comments, thanks for fixing this.
ci/README.md
Outdated
|
|
||
| ```bash | ||
| ENVOY_DOCKER_BUILD_DIR=~/build ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.dev.server_only' | ||
| ENVOY_DOCKER_BUILD_DIR=~/build ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.debug.server_only' |
|
|
||
| ```bash | ||
| ENVOY_DOCKER_BUILD_DIR=~/build ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.dev.server_only' | ||
| ENVOY_DOCKER_BUILD_DIR=~/build ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.dev' |
There was a problem hiding this comment.
This runs all the tests as well, is this intentional?
There was a problem hiding this comment.
It is intentional as to match where the binary can be found.
| $ pwd | ||
| src/envoy | ||
| $ docker run -t -i -v <SOURCE_DIR>:/source lyft/envoy-build:latest /bin/bash -c "cd /source && ci/do_ci.sh normal" | ||
| $ ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.dev' |
There was a problem hiding this comment.
It is intentional here.
There was a problem hiding this comment.
I will update the comment below to mention that it runs tests as well. And make the link to the readme to find other do_ci targets.
Automatic merge from submit-queue. Refactory auth filter **What this PR does / why we need it**: To have per-thread public key cache. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note None ```
**Description** This refactors basic.yaml which has been exploding in its size. Since we can have multiple AIGatewayRoutes attached to a gateway, we can split them into each provider file, which aligns with the documentation pages (connect-provider/*) as well. **Related Issues/PRs (if applicable)** Closes #956 --------- Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Mac users require running the docker command with root permission.