Skip to content

switch-container/faasd-testdriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

faasd Test Driver

Test driver for faasd based on FunctionBench and SeBS

Benchmark Version

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

Preparation

  1. Install docker (if you need to build function images)
  2. Deploy faasd
  3. Install faas-cli
  4. Edit config.ymlfunctions/functions.yml

Usage

python3 main.py [-h] [-c CONFIG] [-p PARALLEL] [ACTION]

Supported Arguments:

  • -h: help
  • -c--config: config file, default to config.yml
  • -p--parallel: Parallelism for build and push operation, default to CPU core count
  • action: actions to perform, default to all, available actions:
    • login: Login faas-cli
    • logout: Logout faas-cli
    • build: Build function image for faasd
    • push: Push image
    • deploy: Deploy function
    • test: Run test
    • all: All above actions

About

Test driver for faasd based on FunctionBench and SeBS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published