Skip to content

Fix scripts for docker build on mac#958

Merged
mattklein123 merged 4 commits intomasterfrom
fix_docker_script
May 15, 2017
Merged

Fix scripts for docker build on mac#958
mattklein123 merged 4 commits intomasterfrom
fix_docker_script

Conversation

@ccaraman
Copy link
Copy Markdown
Contributor

Mac users require running the docker command with root permission.

@ccaraman
Copy link
Copy Markdown
Contributor Author

@lyft/network-team

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't actually match the output directory above AFAIK. I would just switch back to dev and remove server_only

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks!

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>`_.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you can use :repo: here (search other docs)

Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks!


```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'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This runs all the tests as well, is this intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is intentional here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ccaraman

@mattklein123 mattklein123 merged commit d0e851c into master May 15, 2017
@mattklein123 mattklein123 deleted the fix_docker_script branch May 15, 2017 22:05
rshriram pushed a commit to rshriram/envoy that referenced this pull request Oct 30, 2018
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
```
jpsim pushed a commit that referenced this pull request Nov 28, 2022
- Update bazel to 3.4.1 (depends on #12123)
- Update envoy upstream to include ^
- Update rules apple and rules swift
- Update our header map iteration to fix breaking changes upstream from #12103

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
- Update bazel to 3.4.1 (depends on #12123)
- Update envoy upstream to include ^
- Update rules apple and rules swift
- Update our header map iteration to fix breaking changes upstream from #12103

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: JP Simard <jp@jpsim.com>
mathetake added a commit that referenced this pull request Mar 3, 2026
**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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants