You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/05 18:39:00 UTC

[jira] [Commented] (DRILL-6777) Successful implementation of CircleCI build for Drill

    [ https://issues.apache.org/jira/browse/DRILL-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640208#comment-16640208 ] 

ASF GitHub Bot commented on DRILL-6777:
---------------------------------------

vdiravka opened a new pull request #1493: DRILL-6777: Successful implementation of CircleCI build for Drill
URL: https://github.com/apache/drill/pull/1493
 
 
   - adding .circleci/config.yml to the project to launch CircleCI
   - custom memory parameters
   - usage of CircleCI machine
   - excluding "SlowTest" and "UnlikelyTest" groups
   - update maven version
   - adding libaio.so library to solve MySQL integration tests
   - update com.jcabi:jcabi-mysql-maven-plugin library version
   - TODO descriptions for the future enhancements of CircleCI build for Drill
   
   see details in [DRILL-6777](https://issues.apache.org/jira/browse/DRILL-6741) and [DRILL-6741](https://issues.apache.org/jira/browse/DRILL-6777)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Successful implementation of CircleCI build for Drill
> -----------------------------------------------------
>
>                 Key: DRILL-6777
>                 URL: https://issues.apache.org/jira/browse/DRILL-6777
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Tools, Build &amp; Test
>    Affects Versions: 1.14.0
>            Reporter: Vitalii Diravka
>            Assignee: Vitalii Diravka
>            Priority: Major
>             Fix For: 1.15.0
>
>
> The configs for the build is the following:
> {noformat}
> version: 2
> general:
> jobs:
>   build:
>     machine:
>       enabled: true
>       image: circleci/classic:latest
>     parallelism: 1
>     working_directory: ~/drill
>     steps:
>     - checkout
>     - run:
>         name: Update maven version
>         command:
>           curl -fsSL https://git.io/vpDIf | bash -s -- 3.5.4
>     - run:
>         name: Update packages list
>         command:
>           sudo apt-get update
>     - run:
>         name: Install libaio1.so library for MySQL integration tests
>         command:
>           sudo apt-get install libaio1 libaio-dev
>     - run:
>         name: Drill project build
>         command:
>           mvn install -Drat.skip=false -Dlicense.skip=false -DmemoryMb=2560 -DdirectMemoryMb=4608 -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest"
> {noformat}
> There are 4 stages: 
>  1) Maven version update (since 3.2.5 is default on CircleCI machine)
> {noformat}
> circleci@default-c2e8efb6-c016-4611-8ae8-6f5b08a187fe:~$ mvn --version
> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
> Maven home: /usr/local/apache-maven
> Java version: 1.8.0_131, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.8.0/jre
> {noformat}
> 2) prepare for 3d stage
>  3) install _libaio1.so_ lib to the system to successfully pass MySQL tests
>  4) Drill build itself. 
>  _Note: the build with SlowTest and UnlikelyTest will cause memory issues. The solution could be investigated in separate Jira._
> The example of successful CircleCI build:
> https://circleci.com/gh/vdiravka/drill/96



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)