Gitolite mirror+capistrano2.1.5+hudson3.2.1 realizes semi-automatic operation and maintenance (II.)

Source: Internet
Author: User

The first section describes the Gitolite mirror, which allows the code to be routed to the internal network of the server group, but then how to deploy the code to thousands of servers, and also to implement code rollback?

Shell tools? It's a lot quicker for me now, and it's much faster than learning a new software. But remember the old boy's Li has written a blog, "Dude, don't tease, write a script that really does not call operation Automation!", the Python script is not called automation, I still do not write shell. Therefore, you must learn the "bulk code deployment, rollback, execution" tool, such as Capistrano.

Capistrano is developed using the Ruby language, so you know Ruby can use Capistrano skillfully. Since capistrano3.x needs to use the ruby version above ruby1.9, I chose 2.x.

I am using CentOS6.4, with "ruby-1.8.7.352-7.el6_2.x86_64":

# yum Install ruby# yum intall rubygems# gem install capistrano-v 2.15.5 # Gem Install Capistrano-ext


This article is from the "Go Right on" blog, so be sure to keep this source http://caduke.blog.51cto.com/3365689/1599458

Gitolite mirror+capistrano2.1.5+hudson3.2.1 realizes semi-automatic operation and maintenance (II.)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.