]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 19 May 2025 06:45:37 +0000 (08:45 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 21 May 2025 06:12:30 +0000 (08:12 +0200)
(cherry picked from commit baa33c3806074453a4410dd0128d47b576b5ed0c)

test/infra/gitlab-ci.yml

index 10ee1527b9bb38263b8b28d0b9a31a51e7731dd2..26ea1807457e37230ebcfa28d21a18b35b3660d1 100644 (file)
@@ -110,16 +110,12 @@ default:
     # - test -n "$(docker ps -aq -f name=${test_name})" && ( docker export ${test_name} | tar -tvf - )
     # Prepare test artifacts.
     - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
-    - find ${test_name}/ -depth ! -name "*.log" ! -name "*.xml" -type f -print
-    - find ${test_name}/ -depth ! -name "*.log" ! -name "*.xml" -type f -delete
-    - find ${test_name}/ -depth -empty -type d -print
-    - find ${test_name}/ -depth -empty -type d -delete
-    - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/configure.log ${test_name}
-    - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/compatibility-report.html ${test_name}
+    - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/configure.log ${test_name} || true
+    - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/compatibility-report.html ${test_name} || true
     - test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
-    # - find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
+    - find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} -o -name compatibility-report.html \) -type f -delete
     # BusyBox find does not know -empty.
-    - find ${test_name} -type d -depth -exec rmdir {} + 2>/dev/null
+    - find ${test_name} -type d -depth -exec rmdir {} + 2>/dev/null
 
 .build-template:
   needs: []
@@ -326,9 +322,6 @@ build-image-tree-sitter:
   extends: [.job-template, .build-template, .tree-sitter-template]
   variables:
     target: emacs-tree-sitter
-  artifacts:
-    paths:
-      - ${test_name}/compatibility-report.html
 
 test-tree-sitter:
   stage: platforms