-
-
Couldn't load subscription status.
- Fork 857
Add streaming command support. #251
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
base: master
Are you sure you want to change the base?
Conversation
807e96a to
1991a12
Compare
|
Nice, I'll have to take some time to review the refactor changes you made to the |
|
We have approval, so can we have it merged, @adnanh @wrouesnel ? |
1991a12 to
12b93fd
Compare
Add options - `stream-stdout-in-response` - `stream-stdout-in-response-on-error` - `stream-command-kill-grace-period-seconds` to allow defining webhooks which dynamically stream large content back to the requestor. This allows the creation of download endpoints from scripts, i.e. running a `git archive` command or a database dump from a docker container, without needing to buffer up the original.
12b93fd to
08fc28b
Compare
|
A long overdue rebase and merge! |
|
I would really appreciate this feature in CI/CD. Is it possible to review and merge this, since it seems to be implemented already 🙏 Thanks a lot for your work 👍 |
|
I don't know if Adnan will be looking at this any time soon but just as an FYI for the PR author, this is now conflicting again. |
Implements #250.
Add options
stream-stdout-in-responsestream-stdout-in-response-on-errorstream-command-kill-grace-period-secondsto allow defining webhooks which dynamically stream large content back to the
requestor. This allows the creation of download endpoints from scripts, i.e.
running a
git archivecommand or a database dump from a docker container,without needing to buffer up the original.
Notes
This includes a refactor and clean up
hookHandlerto be somewhat more linear then the original was due to the added complexity of handling the deferred behavior of command streaming.