Feature: "watch" mode -> automatic build/push/deploy on save
@johnmccabe is already working on this.
Since Aug 16, 2018.
- Dominant language
- Go
- Stars
- 816
- Forks
- 230
- Avg merge
- 6h 4m
- Merged PRs (30d)
- 1
Description
Expected Behaviour
New feature: file-system watch mode will detect a change in a function handler folder and then automatically build/push/deploy the affected function.
This would be done via the existing OpenFaaS API meaning all backends are supported - faas-fargate, faas-swarm, faas-netes and openfaas-operator.
Similar things are done in entire projects such as skaffold from Google. I know Stefan @stefanprodan is a fan of this project. I believe Skaffold needs a Dockerfile in a set place, we can workaround this by using "faas-cli build --shrinkwrap" or maybe a combination of all of the above.
The basic idea is to allow a "watch" / auto-reloader experience for function development.
Thoughts?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.