Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crcastle/propagit
cascading multi-server git deployment
https://github.com/crcastle/propagit
Last synced: about 2 months ago
JSON representation
cascading multi-server git deployment
- Host: GitHub
- URL: https://github.com/crcastle/propagit
- Owner: crcastle
- Created: 2012-01-25T16:21:03.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-25T14:21:05.000Z (almost 13 years ago)
- Last Synced: 2024-10-14T04:44:32.193Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 77.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
propagit
========Cascading multi-server git deployment.
example
=======First start up a hub server to listen for git deploys:
$ propagit hub --port=6000 --secret=beepboop --repodir=./repos
control service listening on :6000
git service listening on :6001then spin up as many drones as necessary on other machines:
$ propagit drone --hub=hubhost:6000 --secret=beepboop --repodir=./repos
Now you can `git push` to the hub and the drones will `git fetch` from the hub.
Just do:$ cd ~/projects/somerepo
$ git push http://hubhost:6001/somerepo masterTo deploy the code, use the git commit hash that you want to deploy and specify
the commands you want to run after the `--`:$ propagit deploy --hub=hubhost:6000 --secret=beepboop \
somerepo ed56c6e85731d412fe22cf437cb63130afc34b07 -- \
node server.js 8085
Listening on :8085
^Ctodo
====* propagit repl
* propagit log* propagit list
* port mapping?
* process management
install
=======With [npm](http://npmjs.org) do:
npm install -g propagit