[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1f4da7fe3e8: ; Still fighting with emba.gnu.org config
From: |
Michael Albinus |
Subject: |
master 1f4da7fe3e8: ; Still fighting with emba.gnu.org config |
Date: |
Sun, 25 Aug 2024 06:18:17 -0400 (EDT) |
branch: master
commit 1f4da7fe3e8dac64c4da0ea2ff812be521946ea2
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
; Still fighting with emba.gnu.org config
* test/infra/gitlab-ci.yml (variables): Remove GIT_DEPTH.
(.job-template): Set cache:policy to pull-push, as before. Check
behavior of docker export.
(.build-template): Remove needs and cache.
(.test-template): Remove cache. Adapt artifacts:paths.
---
test/infra/gitlab-ci.yml | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index 320e869ea8b..de31b37d148 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -42,7 +42,6 @@ workflow:
- when: always
variables:
- GIT_DEPTH: 0
GIT_STRATEGY: fetch
EMACS_EMBA_CI: 1
EMACS_TEST_JUNIT_REPORT: junit-test-report.xml
@@ -76,6 +75,7 @@ default:
cache:
key: ${CI_COMMIT_SHA}
paths: []
+ policy: pull-push
# These will be saved for followup builds.
artifacts:
expire_in: 24 hrs
@@ -87,8 +87,8 @@ 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 d [...]
after_script:
# - docker ps -a
- # - printenv
- # - test -n "$(docker ps -aq -f name=${test_name})" && ( docker export
${test_name} | tar -tvf - )
+ - 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}
- test -n "$(docker ps -aq -f name=${test_name})" && docker cp
${test_name}:checkout/configure.log ${test_name}
@@ -98,9 +98,6 @@ default:
- find ${test_name} -type d -depth -exec rmdir {} + 2>/dev/null
.build-template:
- needs: []
- cache:
- policy: push
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
when: always
@@ -131,15 +128,13 @@ default:
- docker push ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG}
.test-template:
- cache:
- policy: pull
artifacts:
name: ${test_name}
public: true
expire_in: 1 week
when: always
paths:
- - ${test_name}/
+ - "${test_name}/**.log"
reports:
junit: ${test_name}/${EMACS_TEST_JUNIT_REPORT}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 1f4da7fe3e8: ; Still fighting with emba.gnu.org config,
Michael Albinus <=