diff options
author | kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> | 2024-02-02 12:02:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 12:02:46 -0600 |
commit | d227da55545435f8a05e41e911c887fccc3e239f (patch) | |
tree | 91c299f5abef6d647648ba02dec9eca415ba1e3b /share | |
parent | 714590426fc5c68bd7f30ab3424cd2b5dbff6cd5 (diff) | |
download | spack-d227da55545435f8a05e41e911c887fccc3e239f.tar.gz spack-d227da55545435f8a05e41e911c887fccc3e239f.tar.bz2 spack-d227da55545435f8a05e41e911c887fccc3e239f.tar.xz spack-d227da55545435f8a05e41e911c887fccc3e239f.zip |
CI: Call timing script in after_script (#42166)
The main script body is over-written for power. Putting thet timing
aggregation in the after script allows it to be called on all of the
current pipelines.
Diffstat (limited to 'share')
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/configs/ci.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml index c8c8af6edb..2d1e18836d 100644 --- a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml +++ b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml @@ -26,11 +26,11 @@ ci: script:: - - spack config blame mirrors - 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) - - - spack python ${CI_PROJECT_DIR}/share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py + after_script: + - - ./bin/spack python ${CI_PROJECT_DIR}/share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py --prefix /home/software/spack:${CI_PROJECT_DIR}/opt/spack --log install_times.json ${SPACK_ARTIFACTS_ROOT}/user_data/install_times.json - after_script: - - cat /proc/loadavg || true - cat /proc/meminfo | grep 'MemTotal\|MemFree' || true variables: |