Module: Mesa Branch: main Commit: c580d604fb3632fd8eb7882fd83fcdbe7151f5ef URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c580d604fb3632fd8eb7882fd83fcdbe7151f5ef
Author: Martin Roukala (né Peres) <[email protected]> Date: Thu Oct 26 09:28:12 2023 +0300 ci/b2c: fix artifact collection It seems like gitlab puts symlinks in artifacts rather than following them. Let's fix this by copying the results folder from the job_folder in an after script. Signed-off-by: Martin Roukala (né Peres) <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25902> --- .gitlab-ci/test/gitlab-ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml index 7abdf8b6ebf..999df40ba8d 100644 --- a/.gitlab-ci/test/gitlab-ci.yml +++ b/.gitlab-ci/test/gitlab-ci.yml @@ -375,9 +375,6 @@ clang-format: rm -rf ${JOB_FOLDER} || true mkdir -v ${JOB_FOLDER} - # Keep the results path the same as baremetal and LAVA - ln -s "$JOB_FOLDER"/results/ . - # Create a script to regenerate the CI environment when this job # begins running on the remote DUT. set +x @@ -405,6 +402,13 @@ clang-format: # Gitlab coordinator for status presentation. results/junit.xml # will be parsed by the UI for more detailed explanations of # test execution. + + after_script: + # Keep the results path the same as baremetal and LAVA + - mkdir -p "${JOB_FOLDER}"/results + - mv "${JOB_FOLDER}"/results results/ + - !reference [default, after_script] + artifacts: when: always name: "mesa_${CI_JOB_NAME}"
