Metadata-Version: 1.1
Name: sloth-ci.ext.webhooks
Version: 1.0.2
Summary: Webhooks for Sloth CI
Home-page: https://bitbucket.org/moigagoo/sloth-ci-extensions
Author: Konstantin Molchanov
Author-email: moigagoo@live.com
License: MIT
Description: Send POST requests on build events in Sloth CI apps.
        
        Executing actions of an app is called *build*. A build is considered *completed* if all its actions were completed. If some actions were completed and some failed, it's a *partially completed*; if all actions fail, the build *failed*.
        
        This extension sends POST requests when your builds complete (fully or partially) or fail; just pick the desired notification level and the target URL.
        
        
        Installation
        ------------
        
        .. code-block:: bash
        
            $ pip install sloth-ci.ext.webhooks
        
        
        Usage
        -----
        
        .. code-block:: yaml
            :caption: webhooks.yml
        
            extensions:
                webhooks:
                    # Use the module sloth_ci.ext.webhooks.
                    module: webhooks
        
                    # Log level (number or valid Python logging level name).
                    # ERROR includes only build fails, WARNING adds partial completions,
                    # INFO adds completion, and DEBUG adds trigger notifications.
                    # Default is WARNING.
                    level: INFO
        
                    # URL to send the requests to.
                    url: http://example.com
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
