-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #000 feat: circleci.config file
- Loading branch information
G33tha
committed
Jan 16, 2019
1 parent
1d0df3f
commit be43647
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: 2.1 | ||
jobs: | ||
analytics-build: | ||
machine: true | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dp-dependency-cache-{{ checksum "pom.xml" }} | ||
- run: | ||
name: analytics-framework-build | ||
command: cd platform-framework && mvn clean install -DskipTests=true | ||
- run: | ||
name: data-products-build | ||
command: cd platform-modules && mvn clean install -DskipTests | ||
- run: cd platform-modules/job-manager && mvn clean package | ||
- run: | ||
name: lpa-api-build | ||
command: cd platform-api && mvn clean install -DskipTests=true | ||
- run: cd platform-api && mvn play2:dist -pl analytics-api | ||
- save_cache: | ||
key: dp-dependency-cache-{{ checksum "pom.xml" }} | ||
paths: ~/.m2 | ||
- run: mkdir temp && cp platform-framework/analytics-job-driver/target/analytics-framework-1.0.jar temp/ | ||
- run: cp platform-modules/batch-models/target/batch-models-1.0.jar temp/ | ||
- run: cp platform-modules/job-manager/target/job-manager-1.0-distribution.tar.gz temp/ | ||
- run: cp platform-api/analytics-api/target/analytics-api-1.0-dist.zip temp/ | ||
- store_artifacts: | ||
path: temp | ||
destination: temp/ | ||
|
||
|
||
workflows: | ||
version: 2.1 | ||
workflow: | ||
jobs: | ||
- analytics-build |