forked from georchestra/georchestra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 1.15 KB
/
Makefile
File metadata and controls
38 lines (28 loc) · 1.15 KB
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
36
37
38
# Docker related targets
BTAG=latest
docker-build-ldap:
cd ldap; \
docker build -t georchestra/ldap:${BTAG} .
docker-build-ldap-withrotation:
cd ldap; \
docker build -t georchestra/ldap:${BTAG} --build-arg PM_POLICY=rotation .
docker-build-database:
cd postgresql; \
docker build -t georchestra/database:${BTAG} .
docker-build-console: build-deps
mvn clean package docker:build -DdockerImageTags=${BTAG} -Pdocker -DskipTests --pl console
docker-build-georchestra: build-deps docker-build-database docker-build-ldap
mvn clean package docker:build -DdockerImageTags=${BTAG} -Pdocker -DskipTests --pl console
docker-build: docker-build-georchestra
# WAR related targets
war-build-georchestra:
mvn -Dmaven.test.skip=true -DskipTests clean install
# DEB related targets
deb-build-georchestra: war-build-georchestra build-deps
mvn package deb:package -pl console -PdebianPackage -DskipTests ${DEPLOY_OPTS}
# Base geOrchestra common modules
build-deps:
mvn -Dmaven.test.failure.ignore clean install --non-recursive
mvn clean install -pl commons -Dmaven.javadoc.failOnError=false -DskipTests
# all
all: war-build-georchestra deb-build-georchestra docker-build