- OpenFaas Function
- CI with Travis
- Docker Build
- Docker Compose
Get the openfaas-getsamples-all repository
go get github.com/goboilerplates/openfaas-getsamples-all
cd echo $GOPATH/src/github.com/goboilerplates/openfaas-getsamples-all
Run all tests
go test ./test/...
Or run all tests with coverage
bash script/coverage.sh
Deploy OpenFaas with Docker Swarm
docker swarm init
bash script/deploy_stack.sh
Build function docker image
bash script/Dockerbuild.sh
Deploy function to OpenFaas
bash script/deploy.sh
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details