sloth-ci 1.3.0

Simple app for automatization of everything

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.com/ (btw, Sloth CI builds them).

Requirements

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

Install

Install Sloth from PyPI with pip:

$ pip install sloth-ci

It's also a good idea to install a validator for Bitbucket or GitHub right away:

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

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: localhost
port: 8080

daemon: true

api_auth:
    login: admin
    password: supersecret

Start

Start the Sloth CI server with:

$ sloth-ci start

Create App

Create a file called myapp.yml:

listen_point: docs

work_dir: ~/projects

provider:
    bitbucket:
        owner: username
        repo: repository
        branches:
            - master
            - staging

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.

MIT

Author

Konstantin Molchanov

Pip

sloth-ci==1.3.0

Classifiers

  • Development Status :: 5 - Production/Stable
  • Intended Audience :: Developers
  • Programming Language :: Python
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • Natural Language :: English
  • Operating System :: Microsoft :: Windows
  • Programming Language :: Python :: 3 :: Only
  • Operating System :: Unix
  • Framework :: CherryPy
File Type Python Version Uploaded On Downloads
sloth_ci-1.3.0-py3-none-any.whl Wheel 3.5 July 19, 2015 258
sloth-ci-1.3.0.zip Source July 19, 2015 276
sloth-ci-1.3.0.win-amd64.exe Windows Installer Binary Distribution any July 19, 2015 1,632
Version Release Date
1.3.0 July 19, 2015
1.2.9 July 19, 2015
1.2.8 July 19, 2015
1.2.7 May 8, 2015
1.2.6 May 8, 2015
1.2.5 April 24, 2015
1.2.4 April 18, 2015
1.2.3 Feb. 10, 2015
1.2.2 Feb. 9, 2015
1.2.1 Feb. 9, 2015
1.2.0 Feb. 8, 2015
1.1.9 Feb. 8, 2015
1.1.8 Jan. 22, 2015
1.1.7 Dec. 19, 2014
1.1.6 Dec. 15, 2014
1.1.5 Dec. 13, 2014
1.1.4 Dec. 8, 2014
1.1.3 Dec. 7, 2014
1.1.2 Dec. 7, 2014
1.1.1 Dec. 7, 2014
1.1.0 Dec. 7, 2014
1.0.9 Dec. 6, 2014
1.0.8 Dec. 5, 2014
1.0.7 Nov. 27, 2014
1.0.6 Nov. 26, 2014
1.0.5 Nov. 22, 2014
1.0.4 Nov. 20, 2014
1.0.3 Nov. 18, 2014
1.0.2 Nov. 18, 2014
1.0.1 Nov. 18, 2014
1.0.0 Nov. 17, 2014
0.9.2 Oct. 29, 2014
0.9.1 Oct. 29, 2014
0.9.0 Oct. 29, 2014
0.8.9 Oct. 19, 2014
0.8.8 Oct. 19, 2014
0.8.7 Oct. 18, 2014
0.8.6 Oct. 17, 2014
0.8.5 Oct. 11, 2014
0.8.4 Oct. 10, 2014
0.8.3 Oct. 9, 2014
0.8.2 Oct. 9, 2014
0.7.4 June 25, 2014
0.7.2 June 24, 2014
0.7.1 June 22, 2014
0.7.0 June 22, 2014
0.6.9 June 22, 2014
0.6.8 June 22, 2014
0.6.7 June 21, 2014
0.6.6 June 21, 2014
0.6.5 June 11, 2014
0.6.4 June 11, 2014
0.6.3 June 5, 2014
0.6.2 June 4, 2014
0.6.1 May 24, 2014
0.6.0 May 24, 2014
0.5.9 May 24, 2014
0.5.7 May 24, 2014
0.5.6 May 23, 2014
0.5.5 May 23, 2014
0.5.3 March 9, 2014
0.5.1 March 6, 2014
0.4.3 March 2, 2014
0.4.2 March 1, 2014
0.4.1 March 1, 2014
0.3.8 Feb. 28, 2014
0.3.7 Feb. 28, 2014
0.3.6 Dec. 16, 2013
0.3.5 Dec. 10, 2013
0.3.4 Nov. 15, 2013
0.3.3 Nov. 15, 2013
0.3.2 Nov. 15, 2013
0.3.1 Nov. 5, 2013
0.2.9 Nov. 5, 2013
0.2.7 Nov. 3, 2013
0.2.6 Nov. 1, 2013
0.2.5 Nov. 1, 2013
0.2.4 Oct. 30, 2013
0.2.3 Oct. 30, 2013
0.2.2 Oct. 29, 2013
0.2.1 Oct. 29, 2013
0.1.9 Oct. 28, 2013
0.1.8 July 14, 2013
0.1.7 July 13, 2013
0.1.6 July 12, 2013
0.1.5 June 30, 2013
0.1.4 June 30, 2013
0.1.3 June 30, 2013
0.1.2 June 30, 2013
0.1.1 June 30, 2013
0.1.0 June 30, 2013
Date Package Version Action
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.8 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.2.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.9.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.9.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.9.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.5.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.5.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.5.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.5.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.5.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.5.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.7.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.7.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.7.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.7.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.2.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.8 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.1.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.8 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.3.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.8 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.8.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.4.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.4.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.4.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.8 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.6.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.1.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 0.3.8 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.9 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.8 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.3 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.2 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.1 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.0 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.7 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.6 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.5 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci 1.0.4 Release Created
Aug. 25, 2015, 12:39 a.m. sloth-ci Package Created