forked from geoserver/geoserver-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (27 loc) · 1.12 KB
/
Makefile
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
39
all: deps install test build-image
# run `make build-image[-*] SKIP_PUSH=false` to push the images to dockerhub
SKIP_PUSH?="true"
lint:
./mvnw sortpom:verify fmt:check -ntp
format:
./mvnw sortpom:sort fmt:format -ntp
deps:
./mvnw -U -f geoserver_submodule/ clean install -DskipTests -ntp -T4
install:
./mvnw clean install -DskipTests -ntp -T4 -U
test:
./mvnw verify -ntp -T4
build-image: build-image-infrastructure build-image-geoserver
build-image-openj9: build-image-infrastructure-openj9 build-image-geoserver-openj9
build-image-infrastructure:
./mvnw clean package -f src/apps/infrastructure \
-Ddocker -Ddockerfile.push.skip=$(SKIP_PUSH) -ntp -Dfmt.skip -DskipTests
build-image-infrastructure-openj9:
./mvnw clean package -f src/apps/infrastructure \
-Dopenj9 -Ddockerfile.push.skip=$(SKIP_PUSH) -ntp -Dfmt.skip -DskipTests
build-image-geoserver:
./mvnw clean package -f src/apps/geoserver \
-Ddocker -Ddockerfile.push.skip=$(SKIP_PUSH) -ntp -Dfmt.skip -DskipTests
build-image-geoserver-openj9:
./mvnw clean package -f src/apps/geoserver \
-Dopenj9 -Ddockerfile.push.skip=$(SKIP_PUSH) -ntp -Dfmt.skip -DskipTests