[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1272a2c: Adapt gitlab-ci.yml
From: |
Michael Albinus |
Subject: |
master 1272a2c: Adapt gitlab-ci.yml |
Date: |
Sun, 28 Nov 2021 07:45:51 -0500 (EST) |
branch: master
commit 1272a2cb6384e1d99586486a4903e17b43cbc3cd
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Adapt gitlab-ci.yml
* test/infra/gitlab-ci.yml (variables): Set EMACS_TEST_TIMEOUT to 3600.
(.job-template, .test-template): Another approach to catch test
artifacts on emba.
---
test/infra/gitlab-ci.yml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index 759b8f6..d12876e 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -44,8 +44,7 @@ workflow:
variables:
GIT_STRATEGY: fetch
EMACS_EMBA_CI: 1
- # Three hours, see below.
- EMACS_TEST_TIMEOUT: 10800
+ EMACS_TEST_TIMEOUT: 3600
EMACS_TEST_VERBOSE: 1
# Use TLS
https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
# DOCKER_HOST: tcp://docker:2376
@@ -91,9 +90,11 @@ default:
# - docker ps -a
# - printenv
# - 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}
- test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
- # - ls -alR ${test_name}
+ - find ${test_name} ! -name "*.log" -type f -delete
+ - find ${test_name} -empty -type d -delete
.build-template:
needs: []
@@ -133,7 +134,7 @@ default:
public: true
expire_in: 1 week
paths:
- - "${test_name}/**/*.log"
+ - ${test_name}/
when: always
.gnustep-template:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 1272a2c: Adapt gitlab-ci.yml,
Michael Albinus <=