-
Notifications
You must be signed in to change notification settings - Fork 998
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration test for k8s spark operator support (#1236)
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
- Loading branch information
Showing
9 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
make compile-protos-python | ||
|
||
python -m pip install --upgrade pip==20.2 setuptools wheel | ||
|
||
python -m pip install -qr sdk/python/requirements-dev.txt | ||
python -m pip install -qr tests/requirements.txt | ||
|
||
# Using mvn -q to make it less verbose. This step happens after docker containers were | ||
# succesfully built so it should be unlikely to fail, therefore we likely won't need detailed logs. | ||
echo "########## Building ingestion jar" | ||
TIMEFORMAT='########## took %R seconds' | ||
|
||
time make build-java-no-tests REVISION=develop MAVEN_EXTRA_OPTS="-q --no-transfer-progress" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
pip install "s3fs" "boto3" "urllib3>=1.25.4" | ||
|
||
export DISABLE_FEAST_SERVICE_FIXTURES=1 | ||
export DISABLE_SERVICE_FIXTURES=1 | ||
|
||
export FEAST_SPARK_K8S_NAMESPACE=sparkop | ||
|
||
PYTHONPATH=sdk/python pytest tests/e2e/ \ | ||
--feast-version develop \ | ||
--core-url sparkop-feast-core:6565 \ | ||
--serving-url sparkop-feast-online-serving:6566 \ | ||
--env k8s \ | ||
--staging-path $STAGING_PATH \ | ||
--redis-url sparkop-redis-master.sparkop.svc.cluster.local:6379 \ | ||
--kafka-brokers sparkop-kafka.sparkop.svc.cluster.local:9092 \ | ||
-m "not bq" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters