Metadata-Version: 2.0
Name: sloth-ci.validators.gitlab
Version: 1.0.2
Summary: GitLab validator for Sloth CI
Home-page: https://bitbucket.org/moigagoo/sloth-ci-validators
Author: Vladimir Akritskiy
Author-email: lenin.lin@gmail.com
License: MIT
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
Requires-Dist: sloth-ci (>=2.0.1)

Sloth CI validator for `GitLab <https://about.gitlab.com/>`_ push events.

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

.. code-block:: bash

    $ pip install sloth-ci.validators.gitlab


Usage
-----

.. code-block:: yaml

    provider:
        gitlab:
            # Whitelisted GitLab server IPs.
            # Mandatory parameter.
            trusted_ips:
                - 123.45.67.89
                - 111.22.33.44

            # Repository title as it appears in the URL, i.e. slug.
            # Mandatory parameter.
            repo: sloth-ci

            # Only pushes to these branches will initiate a build.
            # Skip this parameter to allow all branches to fire builds.
            branches:
                - master
                - staging


