Coder Social home page Coder Social logo

depd's Introduction

depd: a deployment daemon

depd is a deployment daemon written in Go that listens for github and bitbucket HTTP POST requests, triggers a deployment recipe according to a .depd.json file present in the root directory of the repository and notifies the owners once the deployment is completed.

adaptors

adaptors are used to translate an incoming json payload to a common internal structure used by depd to reason about a push. adaptors for github and bitbucket are included. others can easily be added.

deployers

after pulling the changes from the remote repository a specific deployer can be run if a .depd.json file is present in the root directory. a wordpress deployer is included, as an example, capable of bringing wordpress to a target version and invalidating the apc opcode cache.

notifiers

after deployment is complete a log of the various actions executed can be sent as a notification. a mail notifier is included but it is easy to write other notifiers for hipchat, irc, etc.

live configuration

connect to unix socket on /tmp/depd.sock to change the configuration without having to restart the daemon. it is possible to list, add and remove repositories. e.g. nc -U /tmp/depd.sock and type <username owner> add -help or <username owner> list.

batteries included

also included are an example systemd unit file, a upstart script, a nginx vhost reverse proxy config file for using depd behind nginx (recommended) and an example configuration file config.json

depd's People

Contributors

vieira avatar

Stargazers

Fábio Silva avatar

Watchers

 avatar James Cloos avatar

depd's Issues

Reset the index and working tree before pulling

Before pulling changes from upstream discard any local changes that have not been commited. This is needed because some files might be removed after deployment and the following pulls might not put the files back, i.e., the local change (where the file is removed) may remain after the pull.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.