Skip to content

Commit

Permalink
Use fixed 'dev' revision for test-e2e-batch (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidheryanto authored and feast-ci-bot committed Dec 27, 2019
1 parent 5b69331 commit 9324b7b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .prow/scripts/test-end-to-end-batch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
set -e
set -o pipefail

export REVISION=dev

if ! cat /etc/*release | grep -q stretch; then
echo ${BASH_SOURCE} only supports Debian stretch.
echo Please change your operating system to use this script.
Expand Down Expand Up @@ -90,7 +92,7 @@ Building jars for Feast
--output-dir /root/

# Build jars for Feast
mvn --quiet --batch-mode --define skipTests=true clean package
mvn --quiet --batch-mode --define skipTests=true --define revision=$REVISION clean package

echo "
============================================================
Expand Down Expand Up @@ -142,7 +144,7 @@ management:
enabled: false
EOF

nohup java -jar core/target/feast-core-0.3.2-SNAPSHOT.jar \
nohup java -jar core/target/feast-core-$REVISION.jar \
--spring.config.location=file:///tmp/core.application.yml \
&> /var/log/feast-core.log &
sleep 35
Expand Down Expand Up @@ -196,7 +198,7 @@ spring:
web-environment: false
EOF

nohup java -jar serving/target/feast-serving-0.3.2-SNAPSHOT.jar \
nohup java -jar serving/target/feast-serving-$REVISION.jar \
--spring.config.location=file:///tmp/serving.warehouse.application.yml \
&> /var/log/feast-serving-warehouse.log &
sleep 15
Expand Down

0 comments on commit 9324b7b

Please sign in to comment.