Skip to main content

Status build shields for Sloth CI powered by http://shields.io

Project description

Status build shields for Sloth CI powered by http://shields.io.

Enable the extension in the server config and go to http://host:port/app?action=shield to get the shield for ``app``.

Use ``colors``, ``style``, and ``format`` params to customize the badge. You can set these params for all apps in the config and override them with query params when requesting a badge.


Installation
------------

.. code-block:: bash

$ pip install sloth-ci.ext.shields_io


Usage
-----

.. code-block:: yaml
:caption: sloth.yml

extensions:
shields:
# Use the module sloth_ci.ext.shields_io.
module: shields_io

# Default color map for build statuses
colors:
INFO: green
WARNING: yellowgreen
ERROR: orange

# See available styles on http://shields.io/
style: social

# See available formats on http://shields.io/
format: png
...

Project details


Download files

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

Source Distribution

sloth-ci.ext.shields_io-1.0.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

sloth_ci.ext.shields_io-1.0.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page