Test driver for faasd based on FunctionBench and SeBS
The functions
folder in this repo includes the following functions ported from FunctionBench and SeBS:
- FunctionBench: #cf3e1e9
- chameleon
- pyaes
- image-processing
- video-processing
- SeBS: v1.1
- dynamic-html
- image-recognition
- Install docker (if you need to build function images)
- Deploy faasd
- Install faas-cli
- Edit
config.yml
、functions/functions.yml
python3 main.py [-h] [-c CONFIG] [-p PARALLEL] [ACTION]
Supported Arguments:
-h
: help-c
、--config
: config file, default toconfig.yml
-p
、--parallel
: Parallelism for build and push operation, default to CPU core countaction
: actions to perform, default toall
, available actions:login
: Login faas-clilogout
: Logout faas-clibuild
: Build function image for faasdpush
: Push imagedeploy
: Deploy functiontest
: Run testall
: All above actions