Gitlab pipelines: check load avg also before running script (#41962)

This commit is contained in:
Massimiliano Culpo
2024-01-05 17:31:59 +01:00
committed by GitHub
parent 0e698ff5c4
commit c1af62783a
3 changed files with 12 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ ci:
pipeline-gen:
- build-job:
before_script-:
- - cat /proc/loadavg || true
- cat /proc/meminfo | grep 'MemTotal\|MemFree' || true
- - spack list --count # ensure that spack's cache is populated
- - spack env activate --without-view ${SPACK_CONCRETE_ENV_DIR}
- spack compiler list
@@ -30,6 +32,7 @@ ci:
${SPACK_ARTIFACTS_ROOT}/user_data/install_times.json
after_script:
- - cat /proc/loadavg || true
- cat /proc/meminfo | grep 'MemTotal\|MemFree' || true
variables:
CI_JOB_SIZE: "default"
CI_GPG_KEY_ROOT: /mnt/key