TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Poll: What do you use for deploying code?

29 点作者 gosuri将近 12 年前
I'm researching for a blog post on various deployment tools and would love your input

35 条评论

rdtsc将近 12 年前
Two projects I have been following that I like are Salt and Ansible.<p><a href="http:&#x2F;&#x2F;saltstack.com&#x2F;community.html" rel="nofollow">http:&#x2F;&#x2F;saltstack.com&#x2F;community.html</a><p><a href="http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;</a>
评论 #5866270 未加载
jgautsch将近 12 年前
I&#x27;ve actually spent the last 14 hours learning to deploy to ec2 using rubber. It&#x27;s definitely powerful, and the railscast helps, but I haven&#x27;t found much in the way of help for doing anything beyond deploying basic apps (for example, working on setting up resque workers right now...)<p>Before 2 days ago I used Heroku for everything.<p>PS. Rails.
zbruhnke将近 12 年前
I use capistrano for deployment, I mainly like it because I can set up a VPS on any service and have it clone the repo from git, config is almost identical between applications depending on the complexities of each and it can be heavily modified for the clients needs as well.<p>Definitely worth a look
jvoorhis将近 12 年前
I&#x27;ll nominate fabric.<p><a href="http:&#x2F;&#x2F;fabfile.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;fabfile.org&#x2F;</a>
NathanKP将近 12 年前
I have been using <a href="http:&#x2F;&#x2F;beanstalkapp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;beanstalkapp.com&#x2F;</a> to do automated deployments. Basically it is Github + some nicer deployment features and a corporate repo focus. (Private by default, easy to add &#x2F; remove &#x2F; manage account access when adding or removing employees.)<p>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 holes for even basic use cases and I found the deployments themselves to be slow to complete, and unreliable, frequently having issues that were extremely hard to diagnose because of hard to access logs and cryptic error messages.<p>Git is by far the best deployment system in my opinion, especially if you can automate the code to get each server instance to automatically pull when needed.<p>But for beginners Beanstalk (<a href="http:&#x2F;&#x2F;beanstalkapp.com" rel="nofollow">http:&#x2F;&#x2F;beanstalkapp.com</a>) is the absolute best. It is dead simple to set up a Git repo on the service, and then Beanstalk&#x27;s servers will automatically deploy via SFTP to servers (or even directly to Amazon S3 for static content, even invalidating CloudFront caches), and you instantly have a secure deployment mechanism out of the box with no fiddling required.<p>With Node.js code if you are running your server through Forever you can easily configure it to watch the code directory for changes and restart the server when needed. End to end setup is extremely quick, and it is incredibly reliable.
评论 #5867113 未加载
bennyg将近 12 年前
Github is pretty key for getting my code in front of the largest amount of users - and their private repo&#x27;s keep the code that makes it to the app store versioned and accessed between all of my different workstations. Not coming from a CS background, I love their product - so naturally I&#x27;ve moved my own coding habits to using git for personal projects.<p>Unfortunately at work we&#x27;re still on svn...
评论 #5866295 未加载
digisth将近 12 年前
Mostly Cap and Git, but Ansible (<a href="http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;</a>) caught my eye recently for experimentation. Looks very promising.
davidbanham将近 12 年前
Currently Chef. It&#x27;s great for getting a machine in order, but it&#x27;s proven to be a real bear for actually managing deployment of server processes.<p>We&#x27;re working on a deployment manager based on Substack&#x27;s fleet.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;substack&#x2F;fleet" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;substack&#x2F;fleet</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;PinionTech&#x2F;rear-admiral" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;PinionTech&#x2F;rear-admiral</a>
评论 #5866948 未加载
rajivtiru将近 12 年前
1. Atlassian Bamboo for polling my git repository for changes<p>2. Apache ANT for the build script<p>3. Then back out to a production&#x2F;tarball git repo<p>4. Every load balanced server image has a cron job to poll the production git for changes<p>This way all I( or my team members) have to do is push to git.<p>Everything else is automated. All servers load balancing will keep themselves up to date.
评论 #5867917 未加载
sekm将近 12 年前
Infrastructure changes:<p>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
imjared将近 12 年前
If I&#x27;m just showing off work to clients and pushing things to a staging&#x2F;dev server, a lot of the time I&#x27;ll use grunt-rsync or grunt-sftp to push everything up at the end of my `$ grunt produce` task. For site deployments, I prefer Capistrano since it&#x27;s dead simple.
CJPoll将近 12 年前
Chef + Caterer (<a href="https:&#x2F;&#x2F;github.com&#x2F;tylerflint&#x2F;caterer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tylerflint&#x2F;caterer</a>)<p>Chef - because it&#x27;s so easy to write cookbooks<p>Caterer - because the push model is clean, and it has a similar workflow to Vagrant.
saosebastiao将近 12 年前
Has anybody looked into using torrents with git? I&#x27;ve heard a few larger companies use it for fast code deployments across 100&#x27;s&#x2F;1000&#x27;s of servers. I&#x27;d be interested in more information on how they do this.
评论 #5866340 未加载
felipesabino将近 12 年前
Just came across dokku this week <a href="https:&#x2F;&#x2F;github.com&#x2F;progrium&#x2F;dokku" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;progrium&#x2F;dokku</a><p>Couldn&#x27;t give it a try yet, but seems rather interesting
danso将近 12 年前
I just started using EC2 BeanStalk. It&#x27;s been surprisingly painful...the system makes sense, but some of the config details are obscure...(using Rails 3.2 and mysql)<p>Shouldn&#x27;t Heroku be on this?
评论 #5865989 未加载
评论 #5866232 未加载
abrudtkuhl将近 12 年前
Is anyone using Octopus for .NET stack deployment? <a href="http:&#x2F;&#x2F;octopusdeploy.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;octopusdeploy.com&#x2F;</a>
typicalbender将近 12 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;wr0ngway&#x2F;rubber" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wr0ngway&#x2F;rubber</a>
pflats将近 12 年前
I know it&#x27;s 2013 and the state of the art has changed (as have trends) but I&#x27;m kinda weirded out to not see CVS or SVN on here.
评论 #5867910 未加载
mkhpalm将近 12 年前
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.
评论 #5867931 未加载
misiti3780将近 12 年前
Fabric is pretty great - but every time I read about chef I wish I had the time and energy to sit down and learn ruby so I could use it.
评论 #5866239 未加载
callmeed将近 12 年前
Can someone explain how Chef works for Rails deployment? Does it replace Capistrano entirely? Suggested tutorials for getting started?
bproctor将近 12 年前
Fabric FTW
gijoeyguerra将近 12 年前
Jenkins + Powershell in our Microsoft stack.
评论 #5868970 未加载
评论 #5866226 未加载
grandalf将近 12 年前
My preferred approach is to bundle the code into an apt package (or packages) and then use fabric.
评论 #5866241 未加载
gavinh将近 12 年前
i use a git post-receive hook that calls a bash script and supervisor for small projects
Pewpewarrows将近 12 年前
Fabric to bootstrap new Salt minions, and Salt for the actual deployment.
snambi将近 12 年前
what is the best tool for java web applications that are built as a war file deployed on tomcat?
jdboyd将近 12 年前
Call this a vote for Ansible.
itsuart将近 12 年前
SVN Commit &#x2F; SVN Update
crdoconnor将近 12 年前
Salt
dnm将近 12 年前
rsync
评论 #5866242 未加载
TylerE将近 12 年前
SCP, and human monitoring.
评论 #5866276 未加载
googya将近 12 年前
Capistrano
chrisgoman将近 12 年前
fabric
peterbotond将近 12 年前
fossil scm