-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
60 lines (43 loc) · 1.63 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!make
include .env
test-env:
echo $(HADOOP_VERSION)
build-combine-base:
docker build -t combine-base --build-arg ELASTICSEARCH_HADOOP_CONNECTOR_VERSION=$(ELASTICSEARCH_HADOOP_CONNECTOR_VERSION) --build-arg SPARK_VERSION=$(SPARK_VERSION) --build-arg HADOOP_VERSION_SHORT=$(HADOOP_VERSION_SHORT) combine_base
build-combine-hadoop:
docker build -t combine-hadoop --build-arg HADOOP_VERSION=$(HADOOP_VERSION) combine_hadoop
build-combine-django:
docker build -t combine-django --build-arg COMBINE_BRANCH=$(COMBINE_BRANCH) --build-arg LIVY_TAGGED_RELEASE=$(LIVY_TAGGED_RELEASE) combine_django
build-combine-livy:
docker build -t combine-livy --build-arg SCALA_VERSION=$(SCALA_VERSION) combine_livy
tag-combine-base:
docker tag combine-base tulibraries/combine-base:$(tag)
tag-combine-django:
docker tag combine-django tulibraries/combine-django:$(tag)
tag-combine-hadoop:
docker tag combine-hadoop tulibraries/combine-hadoop:$(tag)
tag-combine-livy:
docker tag combine-livy tulibraries/combine-livy:$(tag)
ship-combine-base:
docker login
docker push tulibraries/combine-base:$(tag)
ship-combine-django:
docker login
docker push tulibraries/combine-django:$(tag)
ship-combine-hadoop:
docker login
docker push tulibraries/combine-hadoop:$(tag)
ship-combine-livy:
docker login
docker push tulibraries/combine-livy:$(tag)
up: down
docker-compose -p combine-docker pull
docker-compose -p combine-docker build
docker-compose -p combine-docker up -d
reload:
docker-compose -p combine-docker restart
stop:
docker-compose -p combine-docker stop
down:
docker-compose -p combine-docker down -v --rmi all
docker-compose -p combine-docker rm