* test/infra/gitlab-ci.yml (.job-template): Modify find scripts.

This commit is contained in:
Michael Albinus 2021-11-29 21:36:51 +01:00
parent 030a5c5704
commit 708ffac5ea

View file

@ -93,8 +93,8 @@ default:
# Prepare test artifacts.
- test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
- test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
- /usr/bin/find ${test_name} ! -name "*.log" -type f -delete
- /usr/bin/find ${test_name} -empty -type d -delete
- find ${test_name} ! -name "*.log" -type f -delete
- find ${test_name} -type d -depth -exec rmdir {} + 2>/dev/null
.build-template:
needs: []