Call for action - a CI server

12 views
Skip to first unread message

aslak hellesoy

unread,
Jun 22, 2010, 2:29:38 PM6/22/10
to Cucumber Users
Hi folks,

Since RunCodeRun is no longer operative we don't have CI anymore. The
ecosystem is growing (gherkin, cucumber, cucumber-rails, cuke4duke,
cuke4nuke) and we need to support more platforms (MRI 1.8.6, 1.8.7,
1.9.1, 1.9.2, JRuby, Rubinius, IronRuby - on mono at least - etc etc).

Does anyone have some spare hardware and time to set up a Hudson
server? Here is a nice article about how the ThoughtBot people are
doing it.
http://robots.thoughtbot.com/post/712609699/sailing-down-the-hudson-with-rvm

We can start simple, then scale up with more combos as we see the need.

Any takers?

Cheers,
Aslak

Ben Mabey

unread,
Jun 22, 2010, 4:02:48 PM6/22/10
to cu...@googlegroups.com
I would like to do this, or at least get the process started by setting
up the server.. Sorry for not doing this sooner as I talked about on
IRC, but I have worked on the needed chef cookbooks to bootstrap a
machine for this. (http://github.com/bmabey/continuous-cooking) The
cookbooks sets up Hudson, RVM, and nginx.

The only issue is hardware. My company, LeadTune, may be willing to
sponsor a rackspace cloud instance but I'm sill waiting to hear if that
is an option. I'll know in a day or so. Otherwise, if another company
is willing to sponsor something and give me access I can run the
cookbooks on it.

-Ben

Ben Mabey

unread,
Jun 22, 2010, 7:43:49 PM6/22/10
to Dan Lynn, cu...@googlegroups.com
Perhaps we should just start a fund for supporting the Cucumber CI and
that fund can be used to pay for the instance? Then allow any
person/company to donate to support the fund in return for being listed
as a sponsor?


-Ben

p.s. I'm copying the rest of the list in on this in case there might be
some other interest.


Dan Lynn wrote:
> Gotcha. What would LeadTune think about splitting the yearly cost of a
> 1GB instance? I'll run it up the flagpole over here.
>
> Dan
>
>
> On 06/22/2010 03:56 PM, Ben Mabey wrote:
>> Hudson can take a fair amount of memory so my guess is the 512MB
>> ($23/month) instance would be the baseline but more likely the 1GB
>> ($43/month) would be needed.
>>
>> -Ben
>>
>> Dan Lynn wrote:
>>> How big of a rackspace cloud instance would you be looking to set up?


>>>
>>>
>>> On Jun 22, 2:02 pm, Ben Mabey <b...@benmabey.com> wrote:
>>>> aslak hellesoy wrote:
>>>>> Hi folks,
>>>>> Since RunCodeRun is no longer operative we don't have CI
>>>>> anymore. The
>>>>> ecosystem is growing (gherkin, cucumber, cucumber-rails, cuke4duke,
>>>>> cuke4nuke) and we need to support more platforms (MRI 1.8.6, 1.8.7,
>>>>> 1.9.1, 1.9.2, JRuby, Rubinius, IronRuby - on mono at least - etc
>>>>> etc).
>>>>> Does anyone have some spare hardware and time to set up a
>>>>> Hudson
>>>>> server? Here is a nice article about how the ThoughtBot people are
>>>>> doing it.

>>>>> http://robots.thoughtbot.com/post/712609699/sailing-down-the-hudson-w...

Roman Chernyatchik

unread,
Jun 23, 2010, 5:24:52 AM6/23/10
to Cukes
Hello guys,

My Name is Roman, I'm a member of RubyMine team and author or Rake/
Cucumber/RSpec/TestUnit/Shoulda support in our TeamCity CI (http://
www.jetbrains.com/teamcity). In addition to Ruby TeamCity also
supports Java and .NET so it can also be used for cuke4duke, cuke4nuke
projects.

We have a public TeamCity instance for demo purposes and the server is
also one of "official" CI servers for several open-source projects
like Apache Ant and Ivy. If you like, we would be happy to setup
builds for Cucumber and grant administration role for maintainers.
I've already configured several preliminary build configurations for
Cucumber, take a look at http://teamcity.jetbrains.com/project.html?projectId=project39&tab=projectOverview&guest=1.
Your comments are welcome.

If you like TeamCity but want to setup your own server, JetBrains
provides free licenses for open-sources projects.

Best regards,
---
Roman Chernyatchik
(roman.che...@jetbrains.com),

RubyMine Developer,
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"

mr.gaffo

unread,
Jun 23, 2010, 8:43:33 AM6/23/10
to Cukes
I've used both hudson and team city and they are comparable. So if
jetbrains is willing to sponsor cucumber in that way, I'd say go for
it. I guess that really on depends on the amount of control needed /
allowed by their setup.

Otherwise, I'd say that checking with some of the hosting companies
out there like engine yard, linode, slicehost, prgmr.com, etc and
offering to put a "hosted by X" link and ad on the site would be a
pretty simple deal. Cucumber is a big name these days, and I'm sure
the cukes.info site has pretty good stats. Heck, rdoc.info has hosting
through linode.

Just my 2 cents.

-Gaffo

On Jun 23, 4:24 am, Roman Chernyatchik <chukovs...@gmail.com> wrote:
> Hello guys,
>
> My Name is Roman, I'm a member of RubyMine team and author or Rake/
> Cucumber/RSpec/TestUnit/Shoulda support in our TeamCity CI (http://www.jetbrains.com/teamcity). In addition to Ruby TeamCity also
> supports Java and .NET so it can also be used for cuke4duke, cuke4nuke
> projects.
>
> We have a public TeamCity instance for demo purposes and the server is
> also one of "official" CI servers for several open-source projects
> like Apache Ant and Ivy. If you like, we would be happy to setup
> builds for Cucumber and grant administration role for maintainers.
> I've already configured several preliminary build configurations for
> Cucumber, take a look athttp://teamcity.jetbrains.com/project.html?projectId=project39&tab=pr....
> Your comments are welcome.
>
> If you like TeamCity but want to setup your own server, JetBrains
> provides free licenses for open-sources projects.
>
> Best regards,
> ---
> Roman Chernyatchik
> (roman.chernyatc...@jetbrains.com),
>
> RubyMine Developer,
> JetBrains, Inc.http://www.jetbrains.com/
> "Develop with Pleasure!"

Ben Mabey

unread,
Jun 23, 2010, 1:18:42 PM6/23/10
to cu...@googlegroups.com
Yeah, that makes a lot of sense (RE: asking a hosting provided for
sponsorship).

I've never used TeamCity, but it seems really nice. When I went to

http://teamcity.jetbrains.com/project.html?projectId=project39

it asked me for credentials so I couldn't check it out.

I think if JetBrains is willing to sponsor it and help set it up it makes sense to just go with them....
Roman- I think the big dependency is RVM. Will the server be setup with RVM so we can run multiple versions of ruby?

-Ben

Caius Durling

unread,
Jun 23, 2010, 1:34:37 PM6/23/10
to cu...@googlegroups.com
On 23 Jun 2010, at 18:18, Ben Mabey wrote:

> Yeah, that makes a lot of sense (RE: asking a hosting provided for sponsorship).


I emailed Aslak off-list last night but he hasn't gotten back to me yet - Brightbox (http://brightbox.co.uk/) are willing to donate a server for this. We use cucumber internally and love it, and like to support the open source community where we can. :)

C
---
Caius Durling
ca...@caius.name
+44 (0) 7960 268 100
http://caius.name/

Ben Mabey

unread,
Jun 23, 2010, 1:47:05 PM6/23/10
to cu...@googlegroups.com
Caius Durling wrote:
> On 23 Jun 2010, at 18:18, Ben Mabey wrote:
>
>
>> Yeah, that makes a lot of sense (RE: asking a hosting provided for sponsorship).
>>
>
>
> I emailed Aslak off-list last night but he hasn't gotten back to me yet - Brightbox (http://brightbox.co.uk/) are willing to donate a server for this. We use cucumber internally and love it, and like to support the open source community where we can. :)
>
> C
>

Great, thanks Caius!

I guess the question remains is if TeamCity can support RVM and will be
an easier setup/maintenance alternative.

If not then we can go the Hudson route on Brightbox route.

-Ben

Ben Mabey

unread,
Jun 23, 2010, 2:03:02 PM6/23/10
to cu...@googlegroups.com, chuko...@gmail.com
Roman Chernyatchik wrote:
> Hello guys,
>
> My Name is Roman, I'm a member of RubyMine team and author or Rake/
> Cucumber/RSpec/TestUnit/Shoulda support in our TeamCity CI (http://
> www.jetbrains.com/teamcity). In addition to Ruby TeamCity also
> supports Java and .NET so it can also be used for cuke4duke, cuke4nuke
> projects.
>
> We have a public TeamCity instance for demo purposes and the server is
> also one of "official" CI servers for several open-source projects
> like Apache Ant and Ivy. If you like, we would be happy to setup
> builds for Cucumber and grant administration role for maintainers.
> I've already configured several preliminary build configurations for
> Cucumber, take a look at http://teamcity.jetbrains.com/project.html?projectId=project39&tab=projectOverview&guest=1.
> Your comments are welcome.
>
>

I just went to the correct URL. (My client had cut it off when I tried
before and was asked for credentials.) It looks like a good start! It
looks like you have it setup to use 1.9 and 1.87... How can you specify
this with TeamCity?

The cucumber-rails project uses RVM and bundler to switch out the ruby
version and gemsets during a single run. That way it is able to lump a
number of different rails and ruby versions in one build. We we be able
to use RVM on these servers like that?

-Ben

Roman Chernyatchik

unread,
Jun 23, 2010, 2:35:09 PM6/23/10
to Cukes
Hello Ben,

> I just went to the correct URL. (My client had cut it off when I tried before and was asked for credentials.
It was possible just to login as "Guest" user =) or append "&guest=1"
to the url.

> The cucumber-rails project uses RVM and bundler to switch out the ruby version and gemsets during a single run
TeamCity supports RVM. Actually rvm is already installed on our linux
build agents (machines which launches tests / rake tasks). You will
have enough access privileges to install/update ruby interpreter or
gem via rvm using your rake tasks

> How can you specify this with TeamCity?
You may setup several build configurations for different ruby
interpreters. Ruby interpreter name is specified in build
configuration settings. Build can be automatically triggered on
suitable build agent.

> That way it is able to lump a number of different rails and ruby versions in one build
For better statistics I recommend to test different environments in
different build configurations.

> I guess the question remains is if TeamCity can support RVM and will be an easier setup/maintenance alternative.
RVM is supported as I've already mentioned. I improved rvm support
several days ago and we are going to update server on this week.

> on the amount of control needed / allowed by their setup.
I'm sure that almost all is possible / discussible . We use Cucumber &
TeamCity internally for RubyMine IDE testing.

---
Roman

Ben Mabey

unread,
Jun 23, 2010, 2:38:02 PM6/23/10
to cu...@googlegroups.com

Cool! It seems like it will meet out needs then.

WDYT Aslak?

-Ben

Will Green

unread,
Jun 24, 2010, 1:06:11 AM6/24/10
to cu...@googlegroups.com
On Wed, Jun 23, 2010 at 5:24 AM, Roman Chernyatchik <chuko...@gmail.com> wrote:
Hello guys,

My Name is Roman, I'm a member of RubyMine team and author or Rake/
Cucumber/RSpec/TestUnit/Shoulda support in our TeamCity CI (http://
www.jetbrains.com/teamcity). In addition to Ruby TeamCity also
supports Java and .NET so it can also be used for cuke4duke, cuke4nuke
projects.

Would it be possible to set up a Windows build agent as well, with both .NET 2.0 and .NET 4.0? Now that IronRuby 1.0 is out, there is growing interest among .NET developers for Cucumber (myself included), and I think it would be valuable to ensure that Cucumber (and Gherkin) works well on .NET.

--
Will Green

aslak hellesoy

unread,
Jun 24, 2010, 3:36:49 AM6/24/10
to cu...@googlegroups.com
Hi all,

Thanks for all of the offers and suggestions. I haven't gone through
it all yet, and I'll discuss the options with the other core
developers. I'll get back about this in a couple of days.

Cheers,
Aslak

> --
> You received this message because you are subscribed to the Google Groups
> "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to
> cukes+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cukes?hl=en.
>

Reply all
Reply to author
Forward
0 new messages