Skip to content

tooling: Use upstream distro packages#17843

Merged
htuch merged 1 commit intoenvoyproxy:mainfrom
phlax:tooling-upstream-gpg
Sep 3, 2021
Merged

tooling: Use upstream distro packages#17843
htuch merged 1 commit intoenvoyproxy:mainfrom
phlax:tooling-upstream-gpg

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Aug 25, 2021

Signed-off-by: Ryan Northey ryan@synca.io

Commit Message: tooling: Use upstream distrotest
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 repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Aug 25, 2021
@repokitteh-read-only
Copy link
Copy Markdown

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: #17843 was opened by phlax.

see: more, trace.

@phlax phlax force-pushed the tooling-upstream-gpg branch 7 times, most recently from 3164901 to 45b1b34 Compare August 25, 2021 17:44
@phlax phlax changed the title tooling: Use upstream distrotest tooling: Use upstream distro verification packages Aug 26, 2021
@phlax phlax changed the title tooling: Use upstream distro verification packages tooling: Use upstream distro verification/signing packages Aug 26, 2021
@phlax phlax changed the title tooling: Use upstream distro verification/signing packages tooling: Use upstream distro packages Aug 26, 2021
@phlax phlax force-pushed the tooling-upstream-gpg branch from 0f1f3ed to 8ec2120 Compare August 26, 2021 09:44
@phlax phlax changed the title tooling: Use upstream distro packages [WIP] tooling: Use upstream distro packages Aug 26, 2021
@phlax phlax marked this pull request as draft August 26, 2021 09:53
@phlax phlax force-pushed the tooling-upstream-gpg branch from 8ec2120 to 88d1198 Compare August 26, 2021 14:22
@phlax phlax force-pushed the tooling-upstream-gpg branch from 88d1198 to 6c9ae8e Compare August 26, 2021 14:29
@phlax phlax force-pushed the tooling-upstream-gpg branch 6 times, most recently from 5801528 to 58845b8 Compare August 30, 2021 17:57
@phlax phlax changed the title [WIP] tooling: Use upstream distro packages tooling: Use upstream distro packages Aug 30, 2021
@phlax phlax requested a review from htuch August 30, 2021 17:58
@phlax phlax marked this pull request as ready for review August 30, 2021 17:58
@phlax phlax force-pushed the tooling-upstream-gpg branch from 58845b8 to 846068e Compare August 30, 2021 20:27
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@htuch im kinda surprised there isnt anything in rules_ptyhon like this to automatically make a command from a python entrypoint/function etc

either way, i think this is pretty useful and removes a load of boilerplate

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.

Sorry, what is a command vs. a binary? Are you saying you just want to have a binary with arbitrary entry point?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

im wondering if entry_point is a better name for this, i didnt call it that mostly because entry_points arent just for console_scripts - maybe we should call it that

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.

Yes, please call it entry_point. And also rename to envoy_py_binary with this new support.

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, I'd recommend maybe doing a PR to rules_python to make this a generic supported thing as well? We can land this in Envoy for now with a TODO to cleanup.

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.

Sorry, what is a command vs. a binary? Are you saying you just want to have a binary with arbitrary entry point?

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.

Yes, please call it entry_point. And also rename to envoy_py_binary with this new support.

@phlax phlax force-pushed the tooling-upstream-gpg branch 3 times, most recently from 6052635 to 583e4fa Compare September 1, 2021 19:38
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 once we merge the script PR (just had a documentation nit there and ready to rubber stamp).

@phlax phlax force-pushed the tooling-upstream-gpg branch from 583e4fa to ac44836 Compare September 2, 2021 18:08
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the tooling-upstream-gpg branch from ac44836 to 9bdbfc1 Compare September 2, 2021 18:11
@phlax phlax requested a review from htuch September 2, 2021 18:13
@htuch
Copy link
Copy Markdown
Member

htuch commented Sep 3, 2021

/lgtm deps

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Sep 3, 2021
@htuch htuch merged commit f3b923b into envoyproxy:main Sep 3, 2021
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