Skip to content

Commit

Permalink
revert azure test entrypoint
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
  • Loading branch information
pyalex committed Jun 7, 2021
1 parent 3ddc7df commit c159a04
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion infra/scripts/azure-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ kubectl run -n "$NAMESPACE" -i ci-test-runner \
--env="FEAST_AZURE_BLOB_ACCOUNT_NAME=${AZURE_BLOB_ACCOUNT_NAME}" \
--env="FEAST_AZURE_BLOB_ACCOUNT_ACCESS_KEY=${AZURE_BLOB_ACCOUNT_ACCESS_KEY}" \
-- \
bash -c "mkdir src && cd src && git clone --recursive ${GIT_REMOTE_URL} && cd feast* && git config remote.origin.fetch '+refs/pull/*:refs/remotes/origin/pull/*' && git fetch -q && git checkout ${GIT_TAG} && git submodule update --init --recursive && ./infra/scripts/setup-e2e-env-sparkop.sh && ./infra/scripts/test-end-to-end-sparkop.sh"
bash -c "mkdir src && cd src && git clone --recursive ${GIT_REMOTE_URL} && cd feast* && git config remote.origin.fetch '+refs/pull/*:refs/remotes/origin/pull/*' && git fetch -q && git checkout ${GIT_TAG} && git submodule update --init --recursive && ./infra/scripts/setup-e2e-env-sparkop.sh && ./infra/scripts/test-end-to-end-azure.sh"

echo "########## e2e tests took $SECONDS seconds ###########"
21 changes: 21 additions & 0 deletions infra/scripts/test-end-to-end-azure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash

set -euo pipefail

pip install "s3fs" "aiobotocore==1.2.2" "boto3" "urllib3>=1.25.4"

export DISABLE_FEAST_SERVICE_FIXTURES=1
export DISABLE_SERVICE_FIXTURES=1
export FEAST_TELEMETRY="False"

export FEAST_SPARK_K8S_NAMESPACE=sparkop

PYTHONPATH=sdk/python pytest tests/e2e/ \
--feast-version develop \
--core-url feast-release-feast-core:6565 \
--serving-url feast-release-feast-online-serving:6566 \
--env k8s \
--staging-path $STAGING_PATH \
--redis-url feast-release-redis-master.sparkop.svc.cluster.local:6379 \
--kafka-brokers feast-release-kafka.sparkop.svc.cluster.local:9092 \
-m "not bq"

0 comments on commit c159a04

Please sign in to comment.