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
Metadata
Release files for codycd 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codycd-0.2.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codycd-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / codycd-0.2.0.tar.gz
| Download URL | codycd-0.2.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd1ad4f61bd5a362ab0ba82a9d87bfa9798bdecca619715fb6f2d559d6f3fcfd
|
|
BLAKE2b-256 checksum How to use checksums |
54377147447d21778dd712b5dcff0a54389f3957d76fc5ddccac900ab4d1b600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.0
|
Release files / codycd-0.2.0-py3-none-any.whl
| Download URL | codycd-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56529ee6a4b9bf5291232f55e7cc5145e9c2b31494309ae76797b32ad7cda487
|
|
BLAKE2b-256 checksum How to use checksums |
f7860767cd863d176358bfaccface78a883c5472cb39808a6764f91aa93c1835
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.0
|