Live data from Hacker News

Poll: What do you use for deploying code?

news.ycombinator.com

51–60 of 65 posts

Re: Poll: What do you use for deploying code?

#53
Infrastructure changes:

1. Stash pushes git change notification to bamboo 2. Bamboo checkout git and run cucumber tests on ec2 3. Green tests means puppet changes are pushed to puppet master under staging env 4. Manual build step to push to prod env 5. All affected infra will pickup puppet changes on next run

Re: Poll: What do you use for deploying code?

#54

Currently Chef. It's great for getting a machine in order, but it's proven to be a real bear for actually managing deployment of server processes. We're working on a deployment manager based on Substack's fleet. https://github.com/substack/fleet https://github.com/PinionTech/rear-admiral

Fleet looks very interesting! Thank you.

Re: Poll: What do you use for deploying code?

#55

I have been using http://beanstalkapp.com/ to do automated deployments. Basically it is Github + some nicer deployment features and a corporate repo focus. (Private by default, easy to add / remove / manage account access when adding or removing employees.) I have experimented with EC2 Beanstalk and AWS OpsWorks. Both are horrible, and I do not recommend them. The documentation is incredibly obscure, with gaping hole…

I don't agree that git is best for deployment and that beanstalk is focused on beginners - git deployment actually for beginners and beanstalk becomes much more handy when you have more than 1 server and 1 developer. Also, not in all languages "git pull" is enough, sometimes you need to run custom commands after that to run external (to git) tools.

Re: Poll: What do you use for deploying code?

#57
post #45

Has anybody looked into using torrents with git? I've heard a few larger companies use it for fast code deployments across 100's/1000's of servers. I'd be interested in more information on how they do this.

I don't think it's based on git, but twitter has their own bittorrent-based solution called Murder. https://github.com/lg/murder

wow, that sounds murder awesome. here's a video: http://vimeo.com/11280885

Re: Poll: What do you use for deploying code?

#58
post #43

I know it's 2013 and the state of the art has changed (as have trends) but I'm kinda weirded out to not see CVS or SVN on here.

That's a version control system. OP is talking about a deployment system. Difference is that the deployment system does something with your final code (from your your git/svn/hg/cvs/mnt etc.).

Please read http://en.wikipedia.org/wiki/Software_deployment

Re: Poll: What do you use for deploying code?

#59

1. Atlassian Bamboo for polling my git repository for changes 2. Apache ANT for the build script 3. Then back out to a production/tarball git repo 4. Every load balanced server image has a cron job to poll the production git for changes This way all I( or my team members) have to do is push to git. Everything else is automated. All servers load balancing will keep themselves up to date.

That's quite nice, but your weakness is that a single-point of failure can delay your deployment, without you noticing it early enough. Or do you have solution for that?

Re: Poll: What do you use for deploying code?

#60
post #52

1. Build the debian package 2. Add to private repository 3. Trigger apt-get upgrade on all the servers via any tool or method of choice.

That's what a deployment system is for. It should do 1, 2 and optionally even 3 for you. You should probably look into "landscape" a canonical project.
Post reply on HN