metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Allen <n...@nickallen.org>
Subject Re: CI Builds
Date Mon, 21 Mar 2016 13:59:04 GMT
Submitted a request to Apache to at least enable Travis CI connectivity
with Github.

https://issues.apache.org/jira/browse/INFRA-11510

We can work out the details of what actually happens once the Apache
request is complete.



On Mon, Mar 21, 2016 at 9:41 AM, Nick Allen <nick@nickallen.org> wrote:

> Ah, yes.  That work looks good, although a few other things have changed
> since then.  We need to (1) add the apache-rat license check (2) execute
> the 'integration-test' target.
>
> Would you be willing to update that PR or submit a new one?  If so, I will
> try and shepard in your changes.
>
>
>
> On Mon, Mar 21, 2016 at 9:30 AM, Elana Hashman <
> Elana.Hashman@rackspace.com> wrote:
>
>> Paul and I worked on this two months ago but it never got merged:
>> https://github.com/apache/incubator-metron/pull/9
>>
>>  I'd like to get automated CI builds working for the project.  It seems
>> that Travis CI (https://travis-ci.org) is quite popular and integrates
>> well
>> with Github.  I would certainly be open to alternatives though.
>>
>> I set Travis up on my own project fork just to understand how it might
>> work.  If you follow the link, you will see that I added a badge to the
>> top
>> of the main project README.md. This badge displays the current CI build
>> status.  It is updated each time a CI build completes.
>>
>> https://github.com/nickwallen/incubator-metron/tree/travis-ci
>>
>> Travis will also auto-magically run a CI build for any PR that is opened.
>> I think this is an outstanding feature so we have some additional
>> validation before we merge anything into master.  Follow the link below to
>> see an example PR.
>>
>> https://github.com/nickwallen/incubator-metron/pull/4
>>
>> I had to create a .travis.yml file in the project root.  This tells the CI
>> build to run the Apache Rat license check, runs the integration tests, and
>> also packages the project.
>>
>> https://github.com/nickwallen/incubator-metron/blob/travis-ci/.travis.yml
>>
>> The only trouble I had was that Travis limits the output of CI builds to 4
>> mb.  Beyond that it fails the build.  That is why you will see a bit of
>> grep filtering in the Travis yml.
>>
>> Are you in favor of an automated CI build?  Is Travis CI the best
>> solution?  All feedback welcome.
>>
>> Thanks
>> Nick
>>
>
>
>
> --
> Nick Allen <nick@nickallen.org>
>



-- 
Nick Allen <nick@nickallen.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message