codycd-0.2.0
توضیحات
Cody is a lightweight microservice that you can install on your machines to automate deploy requests with a simple POST request using Gitlab!
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | codycd-0.2.0 |
| نام | codycd |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lotrèk |
| ایمیل نویسنده | dimmitutto@lotrek.it |
| آدرس صفحه اصلی | https://github.com/lotrekagency/cody |
| آدرس اینترنتی | https://pypi.org/project/codycd/ |
| مجوز | MIT |
Cody
====
Cody is our lightweight microservice that you can install on your
machines to automate deploy with a simple POST request using Gitlab 🦊!
You'll receive the results on Slack
Installation
------------
::
pip install codycd
Before starting
---------------
Ensure you have port ``11001`` open
::
ufw allow 11001
Ensure you have ``cody.sh`` script file inside your project where you
define your CD instructions! Then run ``Cody`` using
Start Cody
----------
::
cody start
After configuration, try to execute a deploy
::
curl -H "X-Gitlab-Token: MY_PROJECT_TOKEN" -X POST http://localhost:11001/api/deploy
Stop Cody
---------
::
cody stop
Show configuration
------------------
::
cody showconfig
It returns the current configuration
::
Project name: Projectname
Project path: /var/www/lotrek/myproject
Token: f4k3t0k3n3v3rywH3r3
Slack hook: https://hooks.slack.com/F4k3/W3BH00k
نیازمندی
| مقدار | نام |
|---|---|
| ==0.12.17 | bottle |
| ==19.9.0 | gunicorn |
| - | python-daemon |
| - | lockfile |
| ==2.1.2 | huey |
| ==2.22.0 | requests |
نحوه نصب
نصب پکیج whl codycd-0.2.0:
pip install codycd-0.2.0.whl
نصب پکیج tar.gz codycd-0.2.0:
pip install codycd-0.2.0.tar.gz