-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 1.17 KB
/
Makefile
File metadata and controls
37 lines (26 loc) · 1.17 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
.PHONY: geokodikas db-production db-import osm2pgsql ci-export-manager
all: geokodikas db-production db-import osm2pgsql ci-export-manager
publish-all: geokodikas-publish db-production-publish db-import-publish osm2pgsql-publish ci-export-manager-publish
JAVA_TARGET_PATH ?= "../geokodikas/target"
geokodikas:
cp "${JAVA_TARGET_PATH}/http-api-jar-with-dependencies.jar" geokodikas/
cd geokodikas; docker build -t geokodikas/geokodikas:master .
geokodikas-publish:
docker push geokodikas/geokodikas:master
db-production:
cd db-production; docker build -t geokodikas/db-production:master .
db-production-publish:
docker push geokodikas/db-production:master
db-import:
cd db-import; docker build -t geokodikas/db-import:master .
db-import-publish:
docker push geokodikas/db-import:master
osm2pgsql:
cd osm2pgsql; docker build -t geokodikas/osm2pgsql:master .
osm2pgsql-publish:
docker push geokodikas/osm2pgsql:master
ci-export-manager:
cp "${JAVA_TARGET_PATH}/export-manager-jar-with-dependencies.jar" ci-export-manager/
cd ci-export-manager; docker build -t geokodikas/ci-export-manager:master .
ci-export-manager-publish:
docker push geokodikas/ci-export-manager:master