You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A summary of the discussion on Slack with yourself and several others.
There is a WIP but abandoned PR (no changes in 1 year) in the faas-cli for this, to rebuild upon save. Some users also use tilt for the same purpose. openfaas/faas-cli#763
A live-reload feature is beyond the scope of the current roadmap so I'll close this issue out and point you at something like Okteto - they have a few guides for "hot reload" where they do relatively insecure tricks that you won't want in production, but can make development faster. They also have a good debug story.
My actions before raising this issue
Expected Behaviour
What about supporting hot-reload functionality for local test purposes? So this allows faster execution cycle for test purposes.
I would like to test my function without rebuilding&pushing an image on every change something like below:
I am imagining a behavior like skaffold does.
Current Behaviour
Currently we need to run faas-cli up and it builds & pushes docker image to registry.
Possible Solution
When we run
faas-cli up-test -f function.yml
it can do the following steps:I am not aware of internals of openfaas so the solution I describe above may sound meaningless. But I believe that functionality can supported.
Context
Testing etc.
The text was updated successfully, but these errors were encountered: