在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:bmabey/continuous-cooking开源软件地址:https://github.com/bmabey/continuous-cooking开源编程语言:Shell 54.7%开源软件介绍:Continuous CookingChef cookbooks for continuous integration, code review, and overall code management. The following cookbooks are provided: Gitosis, Hudson, Gerrit. I only aim to support ubuntu and nginx, but adding Apache or other platforms should be easy if you have the need. Why?I've set up many CI servers in my day. It is usually the first thing I do at a new job if I find out they don't have one running already. Setting up a CI program is an easy task. Hudson (my favorite open source CI server) is especially dead simple to set up and doesn't take more than a minute. However, I tend to always get bogged down with other environmental issues. Such as needing to run multiple versions of Ruby (via rvm), or remembering to install other dependencies. Additionaly, if you need to fire up additional Hudson slaves in the cloud then having the process automated is a must. The goal of this project is to automate this to a point where anyone can start up a base install and have a decent CI program and environment up and running within minutes. Whats Done
TODO
Hacking and Experimenting With SetupsI'm using Vagrant to help develop the cookbooks. See the Vagrant site/docs for more info on how Vagrant works. To use vagrant you will need to have installed VirtualBox and ran it once. After that these commands should get you up and running:
Note: Prefixing all your This will take a while the first time since it is downloading all the needed packages. If this runs successfully you should be able to hit the various services: (see Troubleshooting section if any of these doesn't appear to be running)
For the services proxied via nginx you will need to add the appropriate entries to your
To rerun chef you can either type GitosisTo experiment with gitosis you will need to have vagrant write to your ssh config:
Now you will be able to clone the gitosis repo:
Once that is done you can modify the GerritTo learn more about Gerrit see the docs. This wiki page provides a nice summary as well. Please note that using both Gerrit and Gitosis at the same time doesn't really make sense. Gerrit provides much finer-grain permission control that gitosis does. They are both setup on the vagrant box just to provide a playground for both. When you use the cookbooks on your own server you should choose one or the other. Troubleshooting
Please see the wiki's FAQ page for more information. |
2022-08-15
2022-08-17
2022-09-23
2022-08-18
2023-10-27
请发表评论