您的位置:首页 > 产品设计 > UI/UE

The right way to maintain build grid for continuous integration is virtualization.

2008-11-24 13:04 483 查看
Cruise team use cruise to do continuous integration.
We are using virtual machines of Xen server to setup our CI build grid, rather than physical machines. Because the virtual machines are easy to maintain. You can easily import a VM to jion the build grid. Only one thing which you have to do is to change the host name of the new VM. The backup of original virtual machine has setup with cruise agent and the environment our continuous integration need.

The issue of disk space raised over time.

Due to the low disk space in the original virtual machine's backup, the agents often run out of disk space when we add multiple pipelines for release management.

So we have to figure out how to add more disk space under /var/lib/cruise-agents/pipelines.

What I did was to add a new partition to the VM and backup the new VM as the seed.

It was really easy. I like VMs.

-----------------------------------------------------------------
how to add a hard driver to linux and mount it.sudo rm -rf /var/lib/cruise-agent/pipelines
sudo /sbin/fdisk /dev/xvdc
and the prompt: n (create a new empty dos partition table) and: w
sudo mkfs -t ext3 /dev/xvdc
sudo mkdir /var/lib/cruise-agent/pipelines
sudo mount -t ext3 /dev/xvdc /var/lib/cruise-agent/pipelines
sudo chown -R cruise:cruise /var/lib/cruise-agent/pipelines
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐