Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 388 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 388 Bytes

openfaas-python-executor

A function to fetch and execute python script from git url

Build and Deploy

faas template pull && faas build && faas deploy

Request

curl http://localhost:8080/function/openfaas-python-executor \
 -d "{ \"git-url\": \"https://github.com/s8sg/openfaas-python-executor.git\", \
 \"script\": \"sample.py\", \"job-id\": \"006\" }"