Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: kalyan <[email protected]>
  • Loading branch information
rawwar committed Oct 12, 2023
1 parent e5abaeb commit e6b4908
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .ci/run-repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ if [[ "$TASK_TYPE" == "test" ]]; then
--name opensearch-py-ml-test-runner \
opensearch-project/opensearch-py-ml \
nox -s "test-${PYTHON_VERSION}(pandas_version='${PANDAS_VERSION}')"

# Get and print the logs for the "instance" container
container_name="instance"
logs=$(docker logs $container_name)
echo -e "\033[1m>>>>> Container Logs for $container_name >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
echo "$logs"

docker cp opensearch-py-ml-test-runner:/code/opensearch-py-ml/junit/ ./junit/
docker rm opensearch-py-ml-test-runner
Expand Down
5 changes: 0 additions & 5 deletions .ci/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,3 @@ DETACH=true bash $script_path/run-opensearch.sh
echo -e "\033[1m>>>>> Repository specific tests >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
bash $script_path/run-repository.sh

# Get and print the logs for the "instance" container
container_name="instance"
logs=$(docker logs $container_name)
echo -e "\033[1m>>>>> Container Logs for $container_name >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
echo "$logs"

0 comments on commit e6b4908

Please sign in to comment.