Skip to main content

Cody is a lightweight microservice that you can install on your machines to automate deploy requests with a simple POST request using Gitlab!

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codycd-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

codycd-0.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file codycd-0.2.0.tar.gz.

File metadata

  • Download URL: codycd-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for codycd-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cd1ad4f61bd5a362ab0ba82a9d87bfa9798bdecca619715fb6f2d559d6f3fcfd
MD5 806b47e9c6f81c92414e488a97ab883f
BLAKE2b-256 54377147447d21778dd712b5dcff0a54389f3957d76fc5ddccac900ab4d1b600

See more details on using hashes here.

File details

Details for the file codycd-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: codycd-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for codycd-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56529ee6a4b9bf5291232f55e7cc5145e9c2b31494309ae76797b32ad7cda487
MD5 c7d7cd23a451f5f6dd407977bb31ad3c
BLAKE2b-256 f7860767cd863d176358bfaccface78a883c5472cb39808a6764f91aa93c1835

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page