diff options
| author | Michael Albinus | 2021-10-13 18:59:58 +0200 |
|---|---|---|
| committer | Michael Albinus | 2021-10-13 18:59:58 +0200 |
| commit | e494a2d00a4948a54cb6c9f403956db4526d4348 (patch) | |
| tree | 7423f055c9db494fb4fea94da9f0b116d7d701e0 | |
| parent | 93b40da8e1c0ef418c716ee62b8e8fdecc16cd44 (diff) | |
| download | emacs-e494a2d00a4948a54cb6c9f403956db4526d4348.tar.gz emacs-e494a2d00a4948a54cb6c9f403956db4526d4348.zip | |
Continue to work on emba integration
* test/infra/Dockerfile.emba: Remove instrumentation.
* test/infra/gitlab-ci.yml (.job-template): Specify timeout signal.
(.job-template, .test-template): Improve wildcard.
| -rw-r--r-- | test/infra/Dockerfile.emba | 1 | ||||
| -rw-r--r-- | test/infra/gitlab-ci.yml | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/test/infra/Dockerfile.emba b/test/infra/Dockerfile.emba index e62a55e7a53..c129bc8be87 100644 --- a/test/infra/Dockerfile.emba +++ b/test/infra/Dockerfile.emba | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | 26 | ||
| 27 | FROM debian:stretch as emacs-base | 27 | FROM debian:stretch as emacs-base |
| 28 | 28 | ||
| 29 | RUN cat /proc/sys/kernel/core_pattern | ||
| 30 | RUN apt-get update && \ | 29 | RUN apt-get update && \ |
| 31 | apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \ | 30 | apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \ |
| 32 | libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev \ | 31 | libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev \ |
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 15327b00281..30efe89c067 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml | |||
| @@ -75,11 +75,13 @@ default: | |||
| 75 | - autogen.sh | 75 | - autogen.sh |
| 76 | - configure.ac | 76 | - configure.ac |
| 77 | - lib/*.{h,c} | 77 | - lib/*.{h,c} |
| 78 | - lisp/**.el | 78 | - lisp/*.el |
| 79 | - lisp/**/*.el | ||
| 79 | - src/*.{h,c} | 80 | - src/*.{h,c} |
| 80 | - test/infra/* | 81 | - test/infra/* |
| 81 | - test/lib-src/*.el | 82 | - test/lib-src/*.el |
| 82 | - test/lisp/**.el | 83 | - test/lisp/*.el |
| 84 | - test/lisp/**/*.el | ||
| 83 | - test/src/*.el | 85 | - test/src/*.el |
| 84 | - changes: | 86 | - changes: |
| 85 | # gfilemonitor, kqueue | 87 | # gfilemonitor, kqueue |
| @@ -107,7 +109,7 @@ default: | |||
| 107 | # TODO: with make -j4 several of the tests were failing, for | 109 | # TODO: with make -j4 several of the tests were failing, for |
| 108 | # example shadowfile-tests, but passed without it. | 110 | # example shadowfile-tests, but passed without it. |
| 109 | - 'export PWD=$(pwd)' | 111 | - 'export PWD=$(pwd)' |
| 110 | - 'docker run -i -e EMACS_EMBA_CI=${EMACS_EMBA_CI} --volumes-from $(docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=${CI_JOB_ID}"):ro --name ${test_name} ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} /bin/bash -c "git fetch ${PWD} HEAD && echo checking out these updated files && git diff --name-only FETCH_HEAD && ( git diff --name-only FETCH_HEAD | xargs git checkout -f FETCH_HEAD ) && make -j4 && timeout 3600s make ${make_params}"' | 112 | - 'docker run -i -e EMACS_EMBA_CI=${EMACS_EMBA_CI} --volumes-from $(docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=${CI_JOB_ID}"):ro --name ${test_name} ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} /bin/bash -c "git fetch ${PWD} HEAD && echo checking out these updated files && git diff --name-only FETCH_HEAD && ( git diff --name-only FETCH_HEAD | xargs git checkout -f FETCH_HEAD ) && make -j4 && timeout -s ABRT 1800s make ${make_params}"' |
| 111 | after_script: | 113 | after_script: |
| 112 | # - docker ps -a | 114 | # - docker ps -a |
| 113 | # - printenv | 115 | # - printenv |
| @@ -156,7 +158,9 @@ default: | |||
| 156 | public: true | 158 | public: true |
| 157 | expire_in: 1 week | 159 | expire_in: 1 week |
| 158 | paths: | 160 | paths: |
| 159 | - "**.log" | 161 | - "**/*.log" |
| 162 | - "**/core" | ||
| 163 | - core | ||
| 160 | 164 | ||
| 161 | .gnustep-template: | 165 | .gnustep-template: |
| 162 | rules: | 166 | rules: |