Skip to main content

Getting Started

The easiest way to get started with Selflow is to use the Selflow CLI and run the Selflow Daemon. You can follow this documentation.

Then, you can start creating your first workflow ! Open a yaml file and write this :

workflow:
timeout: 5m
steps:
my-step:
kind: docker
with:
image: alpine:3.10.0
commands: |
echo "Hello World !"

You can then run this with

selflow-cli run ./path/to/your/file.yaml

A run will now start, triggering a step in a docker container using the "alpine:3.10.0" image. This step will log "Hello World !".

For more information, go to the Workflow Syntax documentation, the Docker step specifications or the Selflow CLI documentation.