-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
37 lines (20 loc) · 1.01 KB
/
build.sh
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
#! /bin/bash
mvn package -DskipTests -f static/publisher/
mvn package -DskipTests -f static/mqtt-sn-broker/
mvn package -DskipTests -f static/mqtt-broker/
mvn package -DskipTests -f static/subscriber/
rm -rf ./build
mkdir -p ./build/static/config/
mkdir ./build/static/subscriber_configurations/
cp -r static/*/target/*dependencies*.jar ./build/static/
cp static/publisher/publisher.json ./build/static/config/
cp static/subscriber/subscriber.json ./build/static/config/
cp static/mqtt-broker/moquette.configuration ./build/static/config/
cp static/mqtt-sn-broker/gateway.properties ./build/static/config/
cp static/mqtt-sn-broker/predefinedTopics.properties ./build/static/config/
eval $(minikube docker-env)
docker build -t hemanthmalla/firedex ./
docker build -t firedex/experimental-framework ./static/experimental-framework
docker build -t hemanthmalla/firedex-middleware ./static/firedex-coordinator-service
docker build -t firedex/setup_rules ./static/setup-tc-rules
docker build -t firedex/test ./static/test