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 cody

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.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: codycd-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 d2dd9223ce98ff235eb19deac79e82cbf8fa3e82f5822e006de82b7effd4bd03
MD5 ef49c552a7cf96a27b8394c0d059056b
BLAKE2b-256 56a2589d587a73412db7e5ceaf9f492549332187943662192731fceb6d57cd11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codycd-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1aa90b2da8fdf249572d15031f3a55e29a79b0ca149fd9e4d13a5324d59c4f30
MD5 a5a388396b27b28b0bf2338db3f55cda
BLAKE2b-256 b89a63398f7940c40414036fc97edfe024c78b48010b2304d08930aae3305a6f

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