在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:belighted/bennett开源软件地址:https://github.com/belighted/bennett开源编程语言:Ruby 76.2%开源软件介绍:BennettBennett is a continuous integration server aimed at Ruby on Rails applications and Git. It is born from our need for a CI server with several key features such as support for multiple projects and users, and our desire for something as easy as possible to manage. It is designed to be full-featured yet simple to use, somewhere half-way between CI Joe and Jenkins Features
CI Joe, Bennett isCompared to
Jenkins, Bennett isCompared to
Travis, Bennett isCompared to
ScreenshotsSetupRedisBennett depends on Redis >= 2.4 With Homebrew on OS X:
On Linux or OS X without Homebrew:
You can obviously use your system package manager, but verify the version first, as some Linux distros still offer Redis 1.2. You should also make sure Redis doesn't start as a service, as Bennett will launch it itself. Bennett
The last step starts the Redis server, a master worker process and unicorn. To stop it all, run Adding a projectTo add a project to be tested, simply clone the code wherever you want and add this location from the app. If you run Bennett locally, it is highly recommended that you use a different folder than your development folder, as Bennett will be doing pulls and checkouts regularly and it will very probably break everything. Now add test commands from the Commands tab of your project page, a usual list for a Rails project would be:
When you're ready, request a new build. When it's done, you (or the last person to commit on the project) should receive an e-mail with the result. Automatic testingA CI server is only really useful is everything is automatic, so we highly recommend you configure a Git hook to start building after each push. To do so, first copy the Post-Receive URL for Git hook from the Settings tab of your project. GitHubIf your code is on GitHub, go to your repository settings, then Service Hooks, and add the URL you copied to the Post-Receive URLs. GitLabIf you're using GitLab, go to your project page, open the Hooks tab, and paste the URL you copied. User rolesWhen giving a user access to a project, you can choose between 3 roles:
On top of per-project permissions, global admins can be defined from the Admins menu. These users have full admin access to every project, and can add new projects to be tested. UpdatingJust run This script will stop Bennett, do a Advanced configurationUnicornYou can edit the Unicorn configuration at
RedisIf you have lots of projects, you may want to tweak the Redis configuration at MOARIf you don't want to run Bennett all-in-one, you can run components separately and leverage an existing Redis or Passenger server. Here is what
Have a look at the Help us make it even better !Bennett was originally designed as an internal tool, with our specific needs in mind. If you have suggestions on where to go next, we would love for you to send feedback! If you encounter a bug or want to help us with some code, please submit an issue or fork the project on GitHub!
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论