This commit is contained in:
ialbert 2024-11-27 21:18:18 +03:00
parent 832387735d
commit 6319b46124

View file

@ -58,7 +58,10 @@ test:
- echo "Copying DDL.sql to db directory" && cp /builds/mfd/clearing/z-distr/target/clearing/db/DDL.sql ./clr_test/db/
- python3 clr_test/run_test_docker_containers.py
- mkdir -p artifacts/logs
- docker run --rm -v clr_test_logs_volume:/logs -v $CI_PROJECT_DIR/artifacts/logs:/artifacts alpine sh -c "cp -r /logs/. /artifacts/"
- echo "copying logs"
- pwd
- ls -al
- docker run --rm -v clr_test_logs_volume:/logs -v /builds/mfd/clearing/artifacts/logs:/artifacts alpine sh -c "cp -r /logs/. /artifacts/"
- ls -la artifacts/logs
# - echo "Cleaning up log volume"
# - docker volume rm clr_test_logs_volume