summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2021-07-30 13:24:03 -0600
committerGitHub <noreply@github.com>2021-07-30 13:24:03 -0600
commitde88d2c7cc3fd173b90e9ba25170dc6562893c91 (patch)
treef6c4cb32ba0ab7dc842e5e265b7f2be400c4acbf /share
parentf591e9788d064c390e11a3fd25e9efc65825a0d7 (diff)
downloadspack-de88d2c7cc3fd173b90e9ba25170dc6562893c91.tar.gz
spack-de88d2c7cc3fd173b90e9ba25170dc6562893c91.tar.bz2
spack-de88d2c7cc3fd173b90e9ba25170dc6562893c91.tar.xz
spack-de88d2c7cc3fd173b90e9ba25170dc6562893c91.zip
CI: capture stdout/stderr output to artifact files (#24401)
Gitlab truncates job trace output (even the complete raw output) at 4MB, so this change captures it to a file under "user_data" artifacts as well, to make sure we can debug output from the end of the rebuild job.
Diffstat (limited to 'share')
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
index 470f72259a..e9d8365b45 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
@@ -327,7 +327,8 @@ spack:
- cd ${SPACK_CONCRETE_ENV_DIR}
- spack env activate --without-view .
- spack config add "config:install_tree:projections:${SPACK_JOB_SPEC_PKG_NAME}:'morepadding/{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'"
- - spack -d ci rebuild
+ - mkdir -p ${SPACK_ARTIFACTS_ROOT}/user_data
+ - spack -d ci rebuild > >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_out.txt) 2> >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_err.txt >&2)
mappings:
- match: