Skip to content

Commit

Permalink
CI: aggregate and upload install_times.json to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
kwryankrattiger committed Jun 28, 2023
1 parent 968fe3a commit 512435b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions share/spack/gitlab/cloud_pipelines/configs/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ ci:
- if [[ -r /mnt/key/spack_public_key.gpg ]]; then spack gpg trust /mnt/key/spack_public_key.gpg; fi
- spack --color=always --backtrace ci rebuild --tests > >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_out.txt) 2> >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_err.txt >&2)
after_script:
- - spack python ${CI_PROJECT_DIR}/share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py
--config ${SPACK_CONCRETE_ENV_DIR}/spack.yaml
--log install_times.json
${SPACK_ARTIFACTS_ROOT}/install_times.json
- - cat /proc/loadavg || true
variables:
CI_JOB_SIZE: "default"
Expand Down

0 comments on commit 512435b

Please sign in to comment.