fix v13
This commit is contained in:
parent
324ba79b9f
commit
140b5ab68f
1 changed files with 2 additions and 0 deletions
|
|
@ -52,12 +52,14 @@ test:
|
|||
CLR_TEST_DIR: "/builds/mfd/clearing/clr_test"
|
||||
RESULT_FILES_DIR: "/builds/mfd/clearing/clr_test/result-files"
|
||||
script:
|
||||
- docker compose -f ./clr_test/docker-compose.yml down -v
|
||||
- echo "Installing maven and python" && apk update && apk add maven python3
|
||||
- echo "Copying jar files to clearing-all/bin" && cp -r /builds/mfd/clearing/z-distr/target/clearing/bin ./clr_test/clearing-all/bin
|
||||
- echo "Removing old logs folder artifacts/logs" && rm -rf artifacts/logs
|
||||
- python3 clr_test/run_test_docker_containers.py
|
||||
- echo "Copying logs" && mkdir -p artifacts/logs && docker run --rm -v clr_test_logs_volume:/logs alpine tar -C /logs -cf - . | tar -C artifacts/logs -xf -
|
||||
- echo "Cleaning up log volume" && docker volume rm clr_test_logs_volume
|
||||
- docker compose -f ./clr_test/docker-compose.yml down -v
|
||||
artifacts:
|
||||
expire_in: 1 day
|
||||
when: always
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue