Add support from streaming build logs from the Function Builder#34
Add support from streaming build logs from the Function Builder#34alexellis merged 4 commits intoopenfaas:masterfrom
Conversation
This change adds a new method `BuildWithStream` to the function builder\ client that returns a `BuildResultStream` which can be used to iterate over build results in real time as the build progresses. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Ensure dumpRequest prints out the headers in a consistent order. Fixes an issue where unit test failed intermittenly because of the inconsistent ordering. Having a consistent order also improves the user experience when debugging or exploring requests. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
|
Thank you for your contribution. unfortunately, one or more of your commits are missing the required "Signed-off-by:" statement. Signing off is part of the Developer Certificate of Origin (DCO) which is used by this project. Read the DCO and project contributing guide carefully, and amend your commits using the git CLI. Note that this does not require any cryptography, keys or special steps to be taken. 💡 Shall we fix this?This will only take a few moments. First, clone your fork and checkout this branch using the git CLI. Next, set up your real name and email address:
Finally, run one of these commands to add the "Signed-off-by" line to your commits. If you only have one commit so far then run: Check that the message has been added properly by running "git log". |
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Description
This change adds a new method
BuildWithStreamto the function builderclient that returns a
BuildResultStreamwhich can be used to iterateover build results in real time as the build progresses.
How has this been tested:
Unit test were added.
Verified E2E using the example described in the docs: