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.

Files for codycd, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size codycd-0.2.0-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size codycd-0.2.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page