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
...
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
File details
Details for the file sloth-ci.ext.shields_io-1.0.1.tar.gz
.
File metadata
- Download URL: sloth-ci.ext.shields_io-1.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 279ddb4e0dd34bb8a9509ec9ddc3ef5587e184a59ebc62bfb61bbc58e92bd33c |
|
MD5 | 7d4f0f775d1b285ae4891aeab6234137 |
|
BLAKE2b-256 | 5ef5915acf350d4742015c96c1784f145060095f784ce4dbc45e631aa72b2770 |