Skip to content

tooling: Add misc contextmanagers/decorators#17360

Merged
phlax merged 3 commits intoenvoyproxy:mainfrom
phlax:tooling-misc
Jul 16, 2021
Merged

tooling: Add misc contextmanagers/decorators#17360
phlax merged 3 commits intoenvoyproxy:mainfrom
phlax:tooling-misc

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Jul 15, 2021

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

Commit Message: tooling: Add misc contextmanagers/decorators

Additional Description:

A breakout PR from #17336 and #17289 , with utils to:

  • extract tarball to a tempdir
  • extract a git repo to a tempdir
  • method decorator for runner.Runner that catches errors, logs and returns 1 for sys.exit

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

@phlax phlax force-pushed the tooling-misc branch 3 times, most recently from e7e6831 to 20fc22d Compare July 15, 2021 14:11
@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Jul 15, 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: #17360 was synchronize by phlax.

see: more, trace.

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Jul 15, 2021

@phlax phlax changed the title [WIP] tooling: Add misc contextmanager/decorator [WIP] tooling: Add misc contextmanagers/decorators Jul 15, 2021
@phlax phlax force-pushed the tooling-misc branch 2 times, most recently from f94ce13 to 772f27f Compare July 15, 2021 15:34
@phlax phlax changed the title [WIP] tooling: Add misc contextmanagers/decorators tooling: Add misc contextmanagers/decorators Jul 15, 2021
@phlax phlax marked this pull request as ready for review July 15, 2021 17:36
Signed-off-by: Ryan Northey <ryan@synca.io>
@mattklein123 mattklein123 self-assigned this Jul 15, 2021
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax merged commit 24707f5 into envoyproxy:main Jul 16, 2021
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
Signed-off-by: Ryan Northey <ryan@synca.io>
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