forked from CCI-MIT/XCoLab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployServices.sh
More file actions
executable file
·26 lines (24 loc) · 834 Bytes
/
deployServices.sh
File metadata and controls
executable file
·26 lines (24 loc) · 834 Bytes
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
#!/bin/sh
# stop script if any build fails
set -e
LOG="-q -B -Dsurefire.printSummary=false"
echo "#####################################################################################"
echo "Deploying service-utils"
echo "#####################################################################################"
cd microservices/util/service-utils
mvn clean compile package install clean $LOG
cd ../../..
echo "#####################################################################################"
echo "Deploying services"
cd microservices/services
for D in *-service; do
if [ -d "${D}" ]; then
cd $D
echo " - $D"
pwd
mvn clean compile package spring-boot:repackage $LOG
cd ..
fi
done
cd ../..
echo "#####################################################################################"