buildbot-gitlab-0.1.2
توضیحات
Enhances a BuildBot installation to nicely integrate with GitLab
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | buildbot-gitlab-0.1.2 |
| نام | buildbot-gitlab |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Matt Clarkson |
| ایمیل نویسنده | matt.clarkson@vcatechnology.com |
| آدرس صفحه اصلی | https://dev.vcatechnology.com/gitlab/tool-chain/buildbot-gitlab |
| آدرس اینترنتی | https://pypi.org/project/buildbot-gitlab/ |
| مجوز | UNKNOWN |
===============
Buildbot GitLab
===============
The Buildbot GitLab plugin provides an easy to install and configure enhancement for Buildbot.
Installation
============
You can download and install the latest version of this software from the Python package index (PyPI) as follows:
::
pip install --upgrade buildbot-gitlab
Usage
=====
Buildbot Gitlab uses a RESTful API to manage multiple projects. The project name and containing folder used in Gitlab
is stored within a .json file, which is then parsed during the BuildMaster startup in order to generate builders for
each project.
TO DO: More info to follow...
Tests
=====
Included with the API are unit tests which can be run as part of the Buildbot test procedure.
The tests can be run via the following command:
::
PYTHONPATH=. trial buildbot.test
Which should be executed from within the buildbot directory.
Additionally rather than running the entire Buildbot test suite, the tests specific to Buildbot Gitlab can be run with
the following commands
::
PYTHONPATH=. trial buildbot.test.unit.test_gitlab_api
PYTHONPATH=. trial buildbot.test.unit.test_gitlab_resources
The tests can also be run using Pythons Unit testing framework (PyUnit) instead of twisted trial with the following command:
::
PYTHONPATH=. python -m unittest -v buildbot.test.unit.test_gitlab_api
PYTHONPATH=. python -m unittest -v buildbot.test.unit.test_gitlab_resources
Note that the gitlab_resources tests requires buildbot & twisted packages to be present, as these provide the functionality
for fake web requests used by the resource tests. The API tests function independently of other packages.
نحوه نصب
نصب پکیج whl buildbot-gitlab-0.1.2:
pip install buildbot-gitlab-0.1.2.whl
نصب پکیج tar.gz buildbot-gitlab-0.1.2:
pip install buildbot-gitlab-0.1.2.tar.gz