A lightweight python script scheduler
Project description
gluetube
A python script scheduler with a shared local database. Meant to enable easy automation and integration of infrastructure and systems. Like cron, but with more bells and whistles.
installation
There are two ways to deploy gluetube.
- docker
- virtual machine / bare metal
docker
-
docker volume create gluetube-cfg
-
docker volume create gluetube-db
-
docker run -d --init -v gluetube-cfg:/home/gluetube/.gluetube/etc -v gluetube-db:/home/gluetube/.gluetube/db ctomkow/gluetube
VM
-
adduser gluetube
-
pip install --user gluetube
-
gt --configure
-
gt --initdb
-
gt daemon --background
example usage
gt --help
gt summary
gt schedule 1 --now
pipeline development
You are meant to develop your own pipelines in python for gluetube. The following is a brief description of how to get your development environment setup.
-
docker pull ctomkow/gluetube
-
docker volume create gluetube-db
-
docker volume create gluetube-cfg
-
docker run -itd --name gluetube --net=host -v gluetube-db:/home/gluetube/.gluetube/db -v gluetube-cfg:/home/gluetube/.gluetube/etc ctomkow/gluetube:latest
-
Use VS code. Attach VS code to running container. Clone your pipeline repository inside your VS code instance attached to the container. Update ~/.gluetube/etc/gluetube.cfg and point config to your pipeline directory
roadmap
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gluetube-0.1.0.dev7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c69258e4298eefc9794fce21f376c2bc59b7e42bd24932ce6a62a794abee6d4 |
|
MD5 | 7849e8b818014d03518b72b56f4e604b |
|
BLAKE2b-256 | c1b7ac4118666d6eda1c1a1f503fbbf8e05b0a99a5eb4a1340b8524e2f0ad721 |