From: Michael Albinus Date: Thu, 3 Oct 2024 14:41:40 +0000 (+0200) Subject: ; Fix last change in gitlab-ci.yml X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=008b79f521cd8240799f35a65c30e182f4ec12fa;p=emacs.git ; Fix last change in gitlab-ci.yml (cherry picked from commit 042eee61ee2dee3732ffc8c4d30a75fa4751f844) --- diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index b99fb878f02..de70e10870f 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml @@ -87,7 +87,7 @@ default: - 'docker run -i -e EMACS_EMBA_CI=${EMACS_EMBA_CI} -e EMACS_TEST_JUNIT_REPORT=${EMACS_TEST_JUNIT_REPORT} -e EMACS_TEST_TIMEOUT=${EMACS_TEST_TIMEOUT} -e EMACS_TEST_VERBOSE=${EMACS_TEST_VERBOSE} -e NPROC=`nproc` --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 -xvc "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 -j \$NPROC && make -k -j \$NPROC ${make_params}"' after_script: # - docker ps -a - ' - pwd; printenv + # - pwd; 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}