The Distributed Cruise Control is a Infopark tool to continously test all aspects of the cloud platform. It is reachable for Infopark employees under http://dcc.infopark.de/. Projects can be created that get testet automatically if code is pushed to the specified branch.
-
Visit http://dcc.infopark.de/ and log in with your Infopark credentials.
-
Create a new project and specify a
name
,repository url
and abranch
. Optionally you can mark the project aspersonal
, this way it is hidden for all other users by default, which helps to organize and view projects more easily. -
Create a
dcc_config.rb
file in your project and include at least one test bucket, that is run when the code of the project changes. Indcc_config.rb
you can specify what tests should be executed.send_notifications_to 'me@infopark.de'
before_all.performs_rake_tasks('test:setup')
buckets 'test' do bucket(:specs).performs_rake_tasks('spec') end
-
Fork and clone the DCC GitHub repository.
git clone git@github.com:username/dcc.git cd dcc
-
Install MySQL, add
database.yml
andconfig/initializers/my_crm_credentials.rb
. Please ask the maintainer to obtain production credentials to connect your local development environment with the production data. You need thedatabase host
,database password
,crm api key
,crm url
andcrm login
.brew install mysql cp config/database.yml.template config/database.yml touch config/intializers/my_crm_credentials.rb
Infopark::Crm.configure do |config| config.url = config.login = config.api_key = end
-
Create the bundle and run all test to make sure everything is working before you add your own changes.
bundle rake spec
-
Create your feature branch and create a pull request for the
master
branch. Please take a look at the already existing code to get an impression of our coding style and the general architecture.
Copyright (c) 2009 - 2014 Infopark AG (http://www.infopark.com)