Skip to content

[backport/1.24] ci: use host docker gid for envoybuild (#23803)#23819

Closed
phlax wants to merge 1 commit intoenvoyproxy:release/v1.24from
phlax:release-1.24-docker
Closed

[backport/1.24] ci: use host docker gid for envoybuild (#23803)#23819
phlax wants to merge 1 commit intoenvoyproxy:release/v1.24from
phlax:release-1.24-docker

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Nov 3, 2022

Previously /var/run/docker.sock is readable/writable inside docker run because group ID of envoygroup coincidentally matches host docker group, while it is no longer true during rolling out new image. Fixing that by forcing envoygroup has host docker group ID.

Risk Level: Low
Testing: CI
Docs Changes:
Release Notes:
Platform Specific Features:

Signed-off-by: Lizan Zhou lizan@tetrate.io
Signed-off-by: Ryan Northey ryan@synca.io

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Previously `/var/run/docker.sock` is readable/writable inside docker run because group ID of `envoygroup` coincidentally matches host docker group, while it is no longer true during rolling out new image. Fixing that by forcing `envoygroup` has host docker group ID.

Risk Level: Low
Testing: CI
Docs Changes:
Release Notes:
Platform Specific Features:

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Nov 3, 2022

cc @lizan

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Nov 3, 2022

unblock #23817

@phlax phlax added this to the 1.24.1 milestone Nov 3, 2022
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Nov 3, 2022

arggh - it needs both fixes to pass CI - ill merge the PRs

@phlax phlax closed this Nov 3, 2022
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.

2 participants