sloth-ci 1.2.7

Simple app for automatization of everything
<object data="https://pypip.in/version/sloth-ci/badge.svg" type="image/svg+xml">Latest Version</object> <object data="https://pypip.in/download/sloth-ci/badge.svg" type="image/svg+xml">Downloads</object> <object data="https://pypip.in/py_versions/sloth-ci/badge.svg" type="image/svg+xml">Supported Python Versions</object> <object data="https://pypip.in/wheel/sloth-ci/badge.svg" type="image/svg+xml">Wheel Status</object> <object data="https://pypip.in/status/sloth-ci/badge.svg" type="image/svg+xml">Development Status</object>

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/ (yes, they are built with Sloth CI).

Requirements

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

Install

Install Sloth 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.2.7

Classifiers

  • Programming Language :: Python :: 3 :: Only
  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3
  • Programming Language :: Python
  • Operating System :: Unix
  • Operating System :: Microsoft :: Windows
  • Natural Language :: English
  • Intended Audience :: Developers
  • Framework :: CherryPy
  • Development Status :: 5 - Production/Stable
File Type Python Version Uploaded On Downloads
sloth_ci-1.2.7-py3-none-any.whl Wheel 3.4 May 8, 2015 264
sloth-ci-1.2.7.zip Source May 8, 2015 304
sloth-ci-1.2.7.win-amd64.exe Windows Installer Binary Distribution any May 8, 2015 261
Version Release Date
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
June 17, 2015, 6:24 p.m. sloth-ci 1.2.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.2.0 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.2.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.2.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.2.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.2.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.2.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.2.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.9.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.9.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.9.0 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.5.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.5.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.5.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.5.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.5.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.5.9 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.7.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.7.0 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.7.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.7.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.9 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.0 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.2.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.8 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.9 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.0 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.1.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.9 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.8 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.8 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.8.9 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.4.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.4.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.4.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.0 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.8 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.6.9 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.1.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 0.3.8 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.9 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.8 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.3 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.2 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.1 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.0 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.7 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.6 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.5 Release Created
June 17, 2015, 6:24 p.m. sloth-ci 1.0.4 Release Created
June 17, 2015, 6:24 p.m. sloth-ci Package Created