Working with PiperCI Functions¶
PiperCI utilizes OpenFaaS as it’s primary worker backend
Developing Your Own PiperCI Function¶
The most basic PiperCI function example is the noop-faas. Like it’s name implies it does nothing but register itself to GMan and record a simple log. However it gives a good basic example on how to interact with the PiperCI python library.
A more complete working example would be the Echo function. This function runs a specified command on behalf of the user and gives a more complete example on how a PiperCI function might be implemented.
Also provided are the base FaaS function templates. These templates are basically Docker images that have been prepared to work with PiperCI’s API’s. These should be used as the basis for PiperCI functions.
Deploying Your PiperCI Function¶