This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple app for automatization of everything

Project Description

CI can be a bitch.

Jenkins is nice, but it’s Java, thus the memory consumption.

Buildbot is really hairy and weird.

Sloth CI is simple. Try it!

Installation

Sloth CI can be installed with pip:

pip install sloth-ci

Note

Sloth CI will work only in Python 3. It could have been ported to Python 2 with minimal effort, but the priorities are on the functionality now. Python 3 is better anyway.

This will install the Python package and add the sloth-ci shell command.

The repo is at bitbucket.org/moigagoo/sloth-ci.

Read the full documentation at sloth-ci.rtfd.org

Install provider(s)

Sloth CI listens to payload from providers to trigger your actions.

Invcoming payload form a particular provider is valiadated by the respective validator.

Validators can be installed with pip:

pip install sloth-ci.validators.bitbucket

…or:

pip install sloth-ci.validators.github

…or roll-your-own with:

pip install sloth-ci.validators.dummy

Validators are maintained in a separate repo at https://bitbucket.org/moigagoo/sloth-ci-validators.

Install app extensions

Additional functions like logging to a file and non-default executors are available via extensions.

Extensions are installed via pip:

pip install sloth-ci.ext.logs

Dummy extension (just like the Dummy validator) can be referred to while developing your own extensions:

pip install sloth-ci.ext.dummy

Extensions are maintained in a separate repo at https://bitbucket.org/moigagoo/sloth-ci-extensions.

Usage

Use the sloth-ci command to launch Sloth CI:

sloth-ci [-h] [--sconfig SCONFIG] [--host HOST] [--port PORT] [--log_dir LOG_DIR] config [config ...]

positional arguments:
    config             Sloth app config(s); config per app.

optional arguments:
    -h, --help         show help message and exit
    --sconfig SCONFIG  Server config
    --host HOST        Host for the Sloth server (overrides value in sconfig)
    --port PORT        Port for the Sloth server (overrides value in sconfig)
    --log_dir LOG_DIR  Where the log files should be stored (overrides value in sconfig)

Server Config Example

host = 0.0.0.0
port = 8080
log_dir = /var/log/sloth/

Sloth App Config Example

listen_to = /sloth-listener

work_dir = /home/sloth/my_project

provider = bitbucket

[provider_data]
repo = moigagoo/sloth-ci

[params]
foo = bar

[actions]
echo Got a commit to {branch}
echo {foo}
Release History

Release History

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

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

This version
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 Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sloth_ci-0.7.1-py3-none-any.whl (8.4 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jun 22, 2014
sloth-ci-0.7.1.win-amd64.exe (272.1 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jun 22, 2014
sloth-ci-0.7.1.zip (10.1 kB) Copy SHA256 Checksum SHA256 Source Jun 22, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting