forked from gt-health/GT-FHIR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
35 lines (35 loc) · 1.29 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
pipeline:
build:
image: maven:3.3.9-jdk-8
environment:
- CATALINA_HOME=/opt/apache-tomcat-8/apache-tomcat-8.5.6
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/games:/snap/bin
commands:
#/bin is not in the path. We have to add it
- export PATH=$PATH:/bin
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- /bin/bash
- echo $PATH
- java -version
- echo $JAVA_HOME
- mvn -version -X
- mvn clean install -U -X -DskipTests
#We have to cd into each subdirectory: jpabase entities overlay webapp
- cd gt-fhir-jpabase
- mvn clean install -U -X -DskipTests
- cd ../gt-fhir-entities
- mvn clean install -U -X -DskipTests
- cd ../gt-fhir-overlay
- mvn clean install -U -X -DskipTests
- cd ../gt-fhir-webapp
- mvn clean install -U -X -DskipTests
- GT-FHIRPostInstallTest.sh localhost 8080
services:
# authentication:
# image: openid-mitr
db:
image: postgres
environment:
- POSTGRES_USER=omop_v5
- POSTGRES_PASSWORD=i3lworks
- POSTGRES_DATABASE=postgres