You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/10/05 17:41:00 UTC

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

Vitalii Diravka created DRILL-6777:
--------------------------------------

             Summary: 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
             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._



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