emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c52cf64: ; Adapt recent change in test/infra/gitlab-ci.yml


From: Michael Albinus
Subject: master c52cf64: ; Adapt recent change in test/infra/gitlab-ci.yml
Date: Sat, 27 Mar 2021 15:14:30 -0400 (EDT)

branch: master
commit c52cf64adb0e47c9179f00e00a8980e86b864abd
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    ; Adapt recent change in test/infra/gitlab-ci.yml
---
 test/infra/gitlab-ci.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index 91315ad..fdca12b 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -104,7 +104,10 @@ default:
     - 'export PWD=$(pwd)'
     - '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 && make ${make_params}"'
   after_script:
-    - 'docker rm ${test_name}'
+    - docker ps -a
+    - printenv
+    - [ ${CI_JOB_STAGE} == fast ] && ( mkdir test-${test_name}; docker cp 
${test_name}:test test-${test_name} ) || true
+    - docker rm ${test_name}
 
 .build-template:
   rules:
@@ -136,10 +139,6 @@ default:
     - docker push ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG}
 
 .test-template:
-  script:
-    - mkdir test-${test_name}
-    - docker ps -a
-    - docker cp ${test_name}:test test-${test_name}
   artifacts:
     name: ${test_name}
     public: true



reply via email to

[Prev in Thread] Current Thread [Next in Thread]