File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ test -z ${SKIP_BUILD_JARS} && SKIP_BUILD_JARS="false"
88test -z ${GOOGLE_CLOUD_PROJECT} && GOOGLE_CLOUD_PROJECT=" kf-feast"
99test -z ${TEMP_BUCKET} && TEMP_BUCKET=" feast-templocation-kf-feast"
1010test -z ${JOBS_STAGING_LOCATION} && JOBS_STAGING_LOCATION=" gs://${TEMP_BUCKET} /staging-location"
11- test -z ${JAR_VERSION_SUFFIX} && JAR_VERSION_SUFFIX=" -SNAPSHOT"
11+
12+ # Get the current build version using maven (and pom.xml)
13+ FEAST_BUILD_VERSION=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
14+ echo Building version: $FEAST_BUILD_VERSION
1215
1316echo "
1417This script will run end-to-end tests for Feast Core and Batch Serving.
@@ -152,7 +155,7 @@ spring:
152155 password: password
153156EOF
154157
155- nohup java -jar core/target/feast-core-* ${JAR_VERSION_SUFFIX } .jar \
158+ nohup java -jar core/target/feast-core-${FEAST_BUILD_VERSION } .jar \
156159 --spring.config.location=file:///tmp/core.application.yml \
157160 & > /var/log/feast-core.log &
158161sleep 35
@@ -215,7 +218,7 @@ server:
215218
216219EOF
217220
218- nohup java -jar serving/target/feast-serving-* ${JAR_VERSION_SUFFIX } .jar \
221+ nohup java -jar serving/target/feast-serving-${FEAST_BUILD_VERSION } .jar \
219222 --spring.config.location=file:///tmp/serving.warehouse.application.yml \
220223 & > /var/log/feast-serving-warehouse.log &
221224sleep 15
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ test -z ${SKIP_BUILD_JARS} && SKIP_BUILD_JARS="false"
88test -z ${GOOGLE_CLOUD_PROJECT} && GOOGLE_CLOUD_PROJECT=" kf-feast"
99test -z ${TEMP_BUCKET} && TEMP_BUCKET=" feast-templocation-kf-feast"
1010test -z ${JOBS_STAGING_LOCATION} && JOBS_STAGING_LOCATION=" gs://${TEMP_BUCKET} /staging-location"
11- test -z ${JAR_VERSION_SUFFIX} && JAR_VERSION_SUFFIX=" -SNAPSHOT"
11+
12+ # Get the current build version using maven (and pom.xml)
13+ FEAST_BUILD_VERSION=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
14+ echo Building version: $FEAST_BUILD_VERSION
1215
1316echo "
1417This script will run end-to-end tests for Feast Core and Online Serving.
@@ -140,7 +143,7 @@ management:
140143 enabled: false
141144EOF
142145
143- nohup java -jar core/target/feast-core-* ${JAR_VERSION_SUFFIX } .jar \
146+ nohup java -jar core/target/feast-core-${FEAST_BUILD_VERSION } .jar \
144147 --spring.config.location=file:///tmp/core.application.yml \
145148 & > /var/log/feast-core.log &
146149sleep 35
@@ -210,7 +213,7 @@ spring:
210213
211214EOF
212215
213- nohup java -jar serving/target/feast-serving-* ${JAR_VERSION_SUFFIX } .jar \
216+ nohup java -jar serving/target/feast-serving-${FEAST_BUILD_VERSION } .jar \
214217 --spring.config.location=file:///tmp/serving.online.application.yml \
215218 & > /var/log/feast-serving-online.log &
216219sleep 15
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ test -z ${SKIP_BUILD_JARS} && SKIP_BUILD_JARS="false"
88test -z ${GOOGLE_CLOUD_PROJECT} && GOOGLE_CLOUD_PROJECT=" kf-feast"
99test -z ${TEMP_BUCKET} && TEMP_BUCKET=" feast-templocation-kf-feast"
1010test -z ${JOBS_STAGING_LOCATION} && JOBS_STAGING_LOCATION=" gs://${TEMP_BUCKET} /staging-location"
11- test -z ${JAR_VERSION_SUFFIX} && JAR_VERSION_SUFFIX=" -SNAPSHOT"
11+
12+ # Get the current build version using maven (and pom.xml)
13+ FEAST_BUILD_VERSION=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
14+ echo Building version: $FEAST_BUILD_VERSION
1215
1316echo "
1417This script will run end-to-end tests for Feast Core and Online Serving.
@@ -136,7 +139,7 @@ spring:
136139
137140EOF
138141
139- nohup java -jar core/target/feast-core-* ${JAR_VERSION_SUFFIX} .jar \
142+ nohup java -jar core/target/feast-core-$FEAST_BUILD_VERSION .jar \
140143 --spring.config.location=file:///tmp/core.application.yml \
141144 & > /var/log/feast-core.log &
142145sleep 35
@@ -180,7 +183,7 @@ server:
180183
181184EOF
182185
183- nohup java -jar serving/target/feast-serving-* ${JAR_VERSION_SUFFIX } .jar \
186+ nohup java -jar serving/target/feast-serving-${FEAST_BUILD_VERSION } .jar \
184187 --spring.config.location=file:///tmp/serving.online.application.yml \
185188 & > /var/log/feast-serving-online.log &
186189sleep 15
You can’t perform that action at this time.
0 commit comments