diff options
author | Greg Becker <becker33@llnl.gov> | 2020-06-26 17:20:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-26 17:20:15 -0500 |
commit | 56b4abbe38379b7fe2c832b169e0117d76c21c6c (patch) | |
tree | 2db373b54141085ff3e8af942bb491d65c41862f /lib/spack/docs/pipelines.rst | |
parent | dfac09eade5c6ba0e42208701ae2206696d08105 (diff) | |
download | spack-56b4abbe38379b7fe2c832b169e0117d76c21c6c.tar.gz spack-56b4abbe38379b7fe2c832b169e0117d76c21c6c.tar.bz2 spack-56b4abbe38379b7fe2c832b169e0117d76c21c6c.tar.xz spack-56b4abbe38379b7fe2c832b169e0117d76c21c6c.zip |
env: no automatic activation (#17258)
* env: no automatic activation
* Ensure ci rebuild jobs activate the environment (no longer automagic)
Co-authored-by: Scott Wittenburg <scott.wittenburg@kitware.com>
Diffstat (limited to 'lib/spack/docs/pipelines.rst')
-rw-r--r-- | lib/spack/docs/pipelines.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/docs/pipelines.rst b/lib/spack/docs/pipelines.rst index ee3b4e8ad6..34ff9cfc6d 100644 --- a/lib/spack/docs/pipelines.rst +++ b/lib/spack/docs/pipelines.rst @@ -45,6 +45,7 @@ for setting up a build pipeline are as follows: tags: - <custom-tag> script: + - spack env activate . - spack ci generate --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/pipeline.yml" artifacts: @@ -384,6 +385,7 @@ a custom spack and make sure the generated rebuild jobs will clone it too: - git clone ${SPACK_REPO} --branch ${SPACK_REF} - . ./spack/share/spack/setup-env.sh script: + - spack env activate . - spack ci generate --spack-repo ${SPACK_REPO} --spack-ref ${SPACK_REF} --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/pipeline.yml" |