Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tooling: Add docker build util #17384

Merged
merged 1 commit into from
Jul 20, 2021
Merged

Conversation

phlax
Copy link
Member

@phlax phlax commented Jul 16, 2021

Signed-off-by: Ryan Northey [email protected]

Commit Message:

adds a util to build docker images using aiodocker with a full build context

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

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #17384 was opened by phlax.

see: more, trace.

@repokitteh-read-only
Copy link

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).

🐱

Caused by: #17384 was opened by phlax.

see: more, trace.

@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Jul 16, 2021
@phlax
Copy link
Member Author

phlax commented Jul 16, 2021

@phlax phlax force-pushed the dist-add-docker-utils branch 2 times, most recently from 1110d80 to b66ecbe Compare July 16, 2021 21:59
@phlax phlax changed the title [WIP] tooling: Add docker build util tooling: Add docker build util Jul 16, 2021
@phlax phlax marked this pull request as ready for review July 16, 2021 22:22
tools/docker/utils.py Outdated Show resolved Hide resolved
@phlax
Copy link
Member Author

phlax commented Jul 17, 2021

related - i have opened a ticket upstream aio-libs/aiodocker#602 with an offer to add a util which could simplify this code a bit

@phlax phlax force-pushed the dist-add-docker-utils branch 6 times, most recently from 4eb6542 to c4009d5 Compare July 19, 2021 05:36
tools/docker/utils.py Outdated Show resolved Hide resolved
@phlax phlax changed the title tooling: Add docker build util [WIP] tooling: Add docker build util Jul 19, 2021
@phlax phlax marked this pull request as draft July 19, 2021 15:06
@phlax phlax changed the title [WIP] tooling: Add docker build util tooling: Add docker build util Jul 19, 2021
@phlax phlax marked this pull request as ready for review July 19, 2021 16:28
@phlax phlax force-pushed the dist-add-docker-utils branch 2 times, most recently from dbd0127 to 7f53ea9 Compare July 20, 2021 11:31
Signed-off-by: Ryan Northey <[email protected]>
@phlax
Copy link
Member Author

phlax commented Jul 20, 2021

WIPping this as im thinking about an implementation where its not currently required.

@phlax phlax marked this pull request as draft July 20, 2021 12:30
@phlax phlax changed the title tooling: Add docker build util [WIP] tooling: Add docker build util Jul 20, 2021
@phlax phlax changed the title [WIP] tooling: Add docker build util tooling: Add docker build util Jul 20, 2021
@phlax
Copy link
Member Author

phlax commented Jul 20, 2021

after a bit of further testing i realised this would increase the complexity as it would require build a volume for the artefacts

@phlax phlax marked this pull request as ready for review July 20, 2021 12:46
@phlax phlax merged commit b651e3f into envoyproxy:main Jul 20, 2021
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Approval required for changes to Envoy's external dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants