File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33set -e
44set -o pipefail
55
6+ export REVISION=dev
7+
68if ! cat /etc/* release | grep -q stretch; then
79 echo ${BASH_SOURCE} only supports Debian stretch.
810 echo Please change your operating system to use this script.
@@ -90,7 +92,7 @@ Building jars for Feast
9092 --output-dir /root/
9193
9294# Build jars for Feast
93- mvn --quiet --batch-mode --define skipTests=true clean package
95+ mvn --quiet --batch-mode --define skipTests=true --define revision= $REVISION clean package
9496
9597echo "
9698============================================================
@@ -142,7 +144,7 @@ management:
142144 enabled: false
143145EOF
144146
145- nohup java -jar core/target/feast-core-0.3.2-SNAPSHOT .jar \
147+ nohup java -jar core/target/feast-core-$REVISION .jar \
146148 --spring.config.location=file:///tmp/core.application.yml \
147149 & > /var/log/feast-core.log &
148150sleep 35
@@ -196,7 +198,7 @@ spring:
196198 web-environment: false
197199EOF
198200
199- nohup java -jar serving/target/feast-serving-0.3.2-SNAPSHOT .jar \
201+ nohup java -jar serving/target/feast-serving-$REVISION .jar \
200202 --spring.config.location=file:///tmp/serving.warehouse.application.yml \
201203 & > /var/log/feast-serving-warehouse.log &
202204sleep 15
You can’t perform that action at this time.
0 commit comments