File tree Expand file tree Collapse file tree 2 files changed +33
-8
lines changed
Expand file tree Collapse file tree 2 files changed +33
-8
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,18 @@ presubmits:
152152 requests :
153153 cpu : " 6"
154154 memory : " 6144Mi"
155+ env :
156+ - name : GOOGLE_APPLICATION_CREDENTIALS
157+ value : /etc/gcloud/service-account.json
158+ volumeMounts :
159+ - mountPath : /etc/gcloud/service-account.json
160+ name : service-account
161+ readOnly : true
162+ subPath : service-account.json
163+ volumes :
164+ - name : service-account
165+ secret :
166+ secretName : feast-service-account
155167 skip_branches :
156168 - ^v0\.(3|4)-branch$
157169
@@ -186,14 +198,26 @@ presubmits:
186198 always_run : true
187199 spec :
188200 containers :
189- - image : maven:3.6-jdk-11
190- command : ["infra/scripts/test-end-to-end-redis-cluster.sh"]
191- resources :
192- requests :
193- cpu : " 6"
194- memory : " 6144Mi"
201+ - image : maven:3.6-jdk-11
202+ command : ["infra/scripts/test-end-to-end-redis-cluster.sh"]
203+ resources :
204+ requests :
205+ cpu : " 6"
206+ memory : " 6144Mi"
207+ env :
208+ - name : GOOGLE_APPLICATION_CREDENTIALS
209+ value : /etc/gcloud/service-account.json
210+ volumeMounts :
211+ - mountPath : /etc/gcloud/service-account.json
212+ name : service-account
213+ readOnly : true
214+ subPath : service-account.json
215+ volumes :
216+ - name : service-account
217+ secret :
218+ secretName : feast-service-account
195219 skip_branches :
196- - ^v0\.(3|4)-branch$
220+ - ^v0\.(3|4)-branch$
197221
198222 - name : test-end-to-end-java-8
199223 decorate : true
Original file line number Diff line number Diff line change 33set -e
44set -o pipefail
55
6- test -z ${GOOGLE_APPLICATION_CREDENTIALS} && GOOGLE_APPLICATION_CREDENTIALS=" /etc/service-account /service-account.json"
6+ test -z ${GOOGLE_APPLICATION_CREDENTIALS} && GOOGLE_APPLICATION_CREDENTIALS=" /etc/gcloud /service-account.json"
77test -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"
@@ -30,6 +30,7 @@ This script will run end-to-end tests for Feast Core and Online Serving.
3030source ${SCRIPTS_DIR} /setup-common-functions.sh
3131
3232install_test_tools
33+ install_gcloud_sdk
3334install_and_start_local_redis_cluster
3435install_and_start_local_postgres
3536install_and_start_local_zookeeper_and_kafka
You can’t perform that action at this time.
0 commit comments