sloth-ci 1.1.8

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.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 and the Bitbucket validator 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 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.

MIT

Author

Konstantin Molchanov

Pip

sloth-ci==1.1.8

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.1.8-py3-none-any.whl Wheel 3.4 Jan. 22, 2015 182
sloth-ci-1.1.8.zip Source Jan. 22, 2015 214
sloth-ci-1.1.8.win-amd64.exe Windows Installer Binary Distribution any Jan. 22, 2015 186
Version Release Date
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
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.0 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.8 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.4.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.4.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.8 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.9 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.9 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.8 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.8.9 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.9.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.9.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.9.0 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.5.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.5.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.5.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.5.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.5.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.4.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.5.9 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.7.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.7.0 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.7.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.7.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.8 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.9 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.0 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.1.0 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.6.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.2.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 0.3.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.9 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.0.8 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.8 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.6 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.7 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.4 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.5 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.2 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.3 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.0 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci 1.1.1 Release Created
Feb. 2, 2015, 2:41 a.m. sloth-ci Package Created