diff options
| author | Michael Albinus | 2021-11-28 13:45:43 +0100 |
|---|---|---|
| committer | Michael Albinus | 2021-11-28 13:45:43 +0100 |
| commit | 1272a2cb6384e1d99586486a4903e17b43cbc3cd (patch) | |
| tree | 9aab706123df9e0866964501429bda9311799672 | |
| parent | 44c856dccc7891a9f762ebef1e386ac9eef0a920 (diff) | |
| download | emacs-1272a2cb6384e1d99586486a4903e17b43cbc3cd.tar.gz emacs-1272a2cb6384e1d99586486a4903e17b43cbc3cd.zip | |
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.
| -rw-r--r-- | test/infra/gitlab-ci.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 759b8f69801..d12876e7727 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml | |||
| @@ -44,8 +44,7 @@ workflow: | |||
| 44 | variables: | 44 | variables: |
| 45 | GIT_STRATEGY: fetch | 45 | GIT_STRATEGY: fetch |
| 46 | EMACS_EMBA_CI: 1 | 46 | EMACS_EMBA_CI: 1 |
| 47 | # Three hours, see below. | 47 | EMACS_TEST_TIMEOUT: 3600 |
| 48 | EMACS_TEST_TIMEOUT: 10800 | ||
| 49 | EMACS_TEST_VERBOSE: 1 | 48 | EMACS_TEST_VERBOSE: 1 |
| 50 | # Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled | 49 | # Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled |
| 51 | # DOCKER_HOST: tcp://docker:2376 | 50 | # DOCKER_HOST: tcp://docker:2376 |
| @@ -91,9 +90,11 @@ default: | |||
| 91 | # - docker ps -a | 90 | # - docker ps -a |
| 92 | # - printenv | 91 | # - printenv |
| 93 | # - test -n "$(docker ps -aq -f name=${test_name})" && ( docker export ${test_name} | tar -tvf - ) | 92 | # - test -n "$(docker ps -aq -f name=${test_name})" && ( docker export ${test_name} | tar -tvf - ) |
| 93 | # Prepare test artifacts. | ||
| 94 | - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name} | 94 | - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name} |
| 95 | - test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name} | 95 | - test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name} |
| 96 | # - ls -alR ${test_name} | 96 | - find ${test_name} ! -name "*.log" -type f -delete |
| 97 | - find ${test_name} -empty -type d -delete | ||
| 97 | 98 | ||
| 98 | .build-template: | 99 | .build-template: |
| 99 | needs: [] | 100 | needs: [] |
| @@ -133,7 +134,7 @@ default: | |||
| 133 | public: true | 134 | public: true |
| 134 | expire_in: 1 week | 135 | expire_in: 1 week |
| 135 | paths: | 136 | paths: |
| 136 | - "${test_name}/**/*.log" | 137 | - ${test_name}/ |
| 137 | when: always | 138 | when: always |
| 138 | 139 | ||
| 139 | .gnustep-template: | 140 | .gnustep-template: |