Skip to content

Commit 9324b7b

Browse files
davidheryantofeast-ci-bot
authored andcommitted
Use fixed 'dev' revision for test-e2e-batch (feast-dev#395)
1 parent 5b69331 commit 9324b7b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.prow/scripts/test-end-to-end-batch.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
set -e
44
set -o pipefail
55

6+
export REVISION=dev
7+
68
if ! 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

9597
echo "
9698
============================================================
@@ -142,7 +144,7 @@ management:
142144
enabled: false
143145
EOF
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 &
148150
sleep 35
@@ -196,7 +198,7 @@ spring:
196198
web-environment: false
197199
EOF
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 &
202204
sleep 15

0 commit comments

Comments
 (0)