Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Simple app for automatization of everything

Project description

Latest Version Downloads Supported Python Versions Wheel Status Development Status

Sloth CI is an easy-to-use, lightweight, extendable tool that executes actions you need when certain events happen.

Sloth CI was created because Jenkins is too heavy and Buildbot was too hard to learn.

Read the docs at http://sloth-ci.cloudapp.net/ (yes, they are built with Sloth CI).

Requirements

Sloth CI runs with Python 3 on Windows, Linux, and Mac.

Install

Install Sloth CI, the Bitbucket validator, and the logs extension with pip:

$ pip install sloth-ci sloth-ci.validators.bitbucket

Configure

Create a file named sloth.yml in any directory and cd to that directory.

Here’s how your sloth.yml can look like:

host: 0.0.0.0
port: 8080

daemon: true

paths:
    access_log: /var/log/sloth-ci/_access.log
    error_log: /var/log/sloth-ci/_error.log
    db: /etc/sloth-ci/sloth.db

api_auth:
    login: admin
    password: supersecret

Start

Start the Sloth CI server with:

$ sloth-ci start

Create App

Create a file called like myapp.yml:

listen_point: docs

work_dir: ~/projects

provider:
    bitbucket:
        repo: username/repository

actions:
    - rm -rf repository
    - hg clone https://bitbucket.org/username/repository
    - hg up {branch} --cwd repository
    - pip3 install -U sphinx
    - pip3 install -r repository/docs/requirements.txt
    - sphinx-build -aE repository/docs/ {output}/{branch}

params:
    output: /var/www/html

Create the app from the config:

$ sloth-ci create /path/to/myapp.yml
App created, listening on docs

Note

Run sloth-ci create from the directory with the sloth.yml file.

That’s it! Your app now listens for payload from Bitbucket at http://yourdomain:8080/docs.

Create a hook on Bitbucket, and you docs will be automatically built on every push to the repo.

Project details


Release history Release notifications

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.0.9

History Node

2.0.7

History Node

2.0.6

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

1.3.0

History Node

1.2.9

History Node

1.2.8

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.9

History Node

1.1.8

History Node

1.1.7

History Node

1.1.6

History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

This version
History Node

1.1.1

History Node

1.1.0

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.9.2

History Node

0.9.1

History Node

0.9.0

History Node

0.8.9

History Node

0.8.8

History Node

0.8.7

History Node

0.8.6

History Node

0.8.5

History Node

0.8.4

History Node

0.8.3

History Node

0.8.2

History Node

0.7.4

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.9

History Node

0.6.8

History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.9

History Node

0.5.7

History Node

0.5.6

History Node

0.5.5

History Node

0.5.3

History Node

0.5.1

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.3.8

History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.2.9

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sloth_ci-1.1.1-py3-none-any.whl (17.3 kB) Copy SHA256 hash SHA256 Wheel 3.4 Dec 7, 2014
sloth-ci-1.1.1.win-amd64.exe (280.4 kB) Copy SHA256 hash SHA256 Windows Installer any Dec 7, 2014
sloth-ci-1.1.1.zip (18.8 kB) Copy SHA256 hash SHA256 Source None Dec 7, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page