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/11 11:11:00 UTC

[jira] [Commented] (DRILL-6777) Setup CircleCI configs for Drill

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

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

vdiravka commented on issue #1493: DRILL-6777: Setup CircleCI configs for Drill
URL: https://github.com/apache/drill/pull/1493#issuecomment-428915471
 
 
   @ilooner Thanks for review.
   1. I have created [INFRA-17133](https://issues.apache.org/jira/browse/INFRA-17133) ticket, but then I've noticed that INFRA can't allow write access for 3d party ([Apache Arrow + CircleCI](https://issues.apache.org/jira/browse/INFRA-15964?focusedCommentId=16351422&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16351422)). So here are two ways:
   * merge it and CircleCI builds will work for Drill forks only.
   * try to help INFRA to solve this issue via configuring CircleCI webhooks [[link](https://issues.apache.org/jira/browse/INFRA-12197?focusedCommentId=15652850&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15652850)]
   
      I think we can try the second way, but even just to merge .circleci to the Drill will be useful for the forks 
      of committers and contributors, like in the Apache Cassandra [[link](https://github.com/apache/cassandra/tree/trunk/.circleci)].
      I will post this question to our community to decide.
   
   2. The status badge for README.md could be added once CirlceCI will be enabled for Drill.  https://issues.apache.org/jira/browse/DRILL-6789
   
   3. The ticket for caching already exists [DRILL-6780](https://issues.apache.org/jira/browse/DRILL-6780). There are also other future enhancements in [DRILL-6741](https://issues.apache.org/jira/browse/DRILL-6741), but even without them current Circle build runs faster with more tests than in Travis build.
   
   
   
   

----------------------------------------------------------------
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


> Setup CircleCI configs 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
>              Labels: ready-to-commit
>             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)