Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.14.0
Description
The configs for the build is the following:
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"
There are 4 stages:
1) Maven version update (since 3.2.5 is default on CircleCI machine)
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
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
Attachments
Issue Links
- links to