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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sloth-ci.ext.shields_io-1.0.0.tar.gz.

File metadata

File hashes

Hashes for sloth-ci.ext.shields_io-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f19b24a2b11d48ffe2ebaad1340bd0204fe61ca1343e885df53b2231e210987b
MD5 a6cc5e2734b72a318d8c6923413ab66c
BLAKE2b-256 4afa4044d8d872d8bd74537ba37984b48dd10840eefaaa2dd9ce8fb0d1908fd6

See more details on using hashes here.

File details

Details for the file sloth_ci.ext.shields_io-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sloth_ci.ext.shields_io-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d200f592187f1faef57f4cfdf26eeecd63e20480e97b6355e3bce498d485718c
MD5 9e4a9bfa0268292ea1fede9d6c31ae84
BLAKE2b-256 33101a083b59fcce462fea440287e7614bc4ee96a2137a781d4ecdd133ade813

See more details on using hashes here.

Supported by

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