[ruby-core:81043] rapid CI service for MRI trunk

From: SASADA Koichi <ko1@...>
Date: 2017-05-09 02:40:27 UTC
List: ruby-core #81043
Hi,

I setup alternative CI server which aim to report rapid error detection.

Features
(1) Got test results in minimum 2 min just after commit.
(2) Repeat tests many times.
(3) Sending alert mail

Of course, RubyCI <http://rubyci.org/> is convenient because it shows
readable results. TravisCI is great service because we can test w/o
commit to trunk (master).

This new CI aims to complement existing CI services.


Features (details)

(1) Got test results in minimum 2 min just after commit.

RubyCI and TravisCI do
 (a) svn checkout
 (b) build from scratch
 (c) run test (w/o parallelism on rubyci)

But new CI do
 (a) svn update
 (b) build only updated (w/ -j[NPROC])
 (c) run test in (w/ -j[NPROC])

so that we can tests more rapidly.

(2) Repeat tests many times.

This CI system was implemented

  loop do
    make up all install check test-rubyspec
    if failure
      make clean
      alert
    end
  end

  # See all code
  # https://github.com/ko1/build-ruby/blob/master/br.rb#L70

So that you can see not-frequent bugs, like GC/threading bugs. Actually,
I got about 30 alerts from this system yesterday.

(3) Sending alert mail

If there are failures, e-mail message is delivered.

If you want to receive alert messages from this system by e-mail, please
join alert ML.
You only need to "Hi" to <ruby-alerts@quickml.atdot.net> with Cc
<ko1c-failure@atdot.net>.

If someone commit broken patch, this system sends *hundreds* of alert
messages in hours.


Thanks,
Koichi
-- 
// SASADA Koichi at atdot dot net

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next