Skip to main content

The Laboro workflow framework

Project description


gitea: none include_toc: true

Build Status License Language

Laboro

What is Laboro ?

Laboro is a NO-Code / Low-Code workflow automation tool that helps you to build and run automated tasks with the least amount of effort and technical knowledge:

  • You don't need to know how to install a specific development environment to use Laboro.
  • You don't need to have advanced system administration knowledge to run your Laboro automated tasks.

How can Laboro help me ?

Busy developers and system administrators have many task automation needs, but often don't have enough time to write and maintain their scripts and, even worse, when there are scripts, they rarely are consistent with each other, which makes their maintenance tedious.

Laboro provides a unique way to quickly write and execute standardized, easy to maintain automated workflows without any need to install a specific environment or dependencies of any kind.

It also:

Advanced users shall find Laboro as a mix between:

  • A CI/CD tool such as Gitlab CI
  • A configuration provisioning tool such as Ansible
  • An Extract Transform Load tool such as Talend.

Anyway, the main purpose of Laboro is to provide a tool to quickly write highly standardized and easy to maintain automation tasks with the least amount of effort and technical knowledge.

What does Laboro mean

Laboro is the latin expression for "I am working".

Your time is valuable and tedious tasks are for robots. Laboro is always pleased to perform all your repetitive tasks for you while allowing you to stay focused on the part of your job where you bring real added value.

Development status

Laboro is currently well tested and "without known bug" but is still in beta stage and will not be considered suitable for production until Laboro-1.0.0 release.

Status of this documentation

This documentation is a work in progress and changes may occur until the release of the Laboro-1.0.0 version.

Install Laboro

Laboro leverages modern container environments such as Podman or Docker.

Follow the quick installation guide for all needed details.

Configuration

Since Laboro is run as a container, it does not require any configuration tweaks.

However, advanced users may have a look on how to configure Laboro to suit specific needs.

Concepts

Laboro lays on the following fundamental concepts:

Modules

Laboro capabilities are extended through modules delivered as Python packages.

All information about available modules and how to write you own module are available here.

Configure your first workflow

Configuring a Laboro workflow is basically writing a YAML file.

You may want to first have a look at the underlying concepts or if you feel brave enough go straight to step by step guide and configure you first workflow

Running your workflows

Once all your workflows are configured and saved in the /path/to/local/workflowdir, you can run them by issuing the following command:

Example:

podman run --name laboro \
           -e TZ=Pacific/Noumea \
           -v /path/to/local/workflowdir:/opt/laboro/workflows:Z \
           -v /path/to/local/workspacesdir:/opt/laboro/workspaces:Z \
           -v /path/to/local/logs:/opt/laboro/log:Z \
           mcosystem/laboro:latest \
           -w workflow_demo_1.yml workflow_demo_2.yml workflow_demo_3.yml

In this example the 3 workflows workflow_demo_1.yml, workflow_demo_2.yml, workflow_demo_3.yml will be run sequentially in the specified order within a container which time zone will be set to Pacific/Noumea.

The container also has three host directories mounted:

  • /path/to/local/workflowdir mounted on /opt/laboro/workflows
  • /path/to/local/workspacesdir mounted on /opt/laboro/workspaces
  • /path/to/local/logs mounted on /opt/laboro/log

You may find more specific examples of how to run you workflow

Show me more !

This repository host all the necessary bits to install, configure and run Laboro for demonstration and testing purpose: https://codeberg.org/laboro/laboro_poc

You will find all needed instructions to install a simulated basic infrastructure based on 5 containers running the following services:

  • A basic http ReST API server
  • A FTP server with TLS support)
  • A mailer host with full support of SMTP/IMAP/POP with TLS support
  • A Postgresql relational database server
  • An openSSH server with full SFTP support

The instructions will guide you through all steps to run a workflow using mostly all Laboro features such as loops, variables and iterables, conditional execution, split workflows and encrypted data, data files etc.

A lot of fun to be discovered for whom would like to understand Laboro and wants its daily cumbersome tasks automated once for all 🙂

Example of a Laboro container running a real life workflow named workflow_demo.yml: Laboro demonstration

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

laboro-0.2.9.tar.gz (29.7 kB view hashes)

Uploaded Source

Built Distribution

laboro-0.2.9-py3-none-any.whl (37.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page