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.
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
本文介绍了如何通过使用虚拟机来提升持续集成(CI)流程的效率,特别是针对CruiseControl。文中详细解释了如何为虚拟机增加硬盘空间并挂载至所需目录,以解决因磁盘空间不足导致的问题。
1149

被折叠的 条评论
为什么被折叠?



