Skip to content

Commit

Permalink
Test: change hostconfig extension to make it readable in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbernede committed Nov 27, 2024
1 parent 0c60f8b commit ce1b2e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab/custom-jobs-and-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ variables:
.custom_job:
artifacts:
paths:
- ./*.cmake
- ./*.cmake.txt
reports:
junit: junit.xml

Expand Down
6 changes: 6 additions & 0 deletions scripts/gitlab/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ fi
hostconfig=$(basename ${hostconfig_path})
echo "[Information]: Found hostconfig ${hostconfig_path}"

# Create a copy of the hostconfig file with extension readable in GitLab UI (only in CI).
if [[ -n ${job_unique_id} ]]
then
cp ${hostconfig_path} ${project_dir}/${hostconfig}.txt
fi

# Build Directory
# When using /dev/shm, we use prefix for both spack builds and source build, unless BUILD_ROOT was defined
build_root=${BUILD_ROOT:-"${prefix}"}
Expand Down

0 comments on commit ce1b2e8

Please sign in to comment.