diff options
author | Scott Wittenburg <scott.wittenburg@kitware.com> | 2022-08-12 10:53:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 16:53:59 +0000 |
commit | cb19ca2471e8c83239855b0ecb9191d46050a884 (patch) | |
tree | f05606faba751f1ccf31855b04be9ca6fd3a10bd /share/spack | |
parent | aa1ae5250a5623082f4c312cf8e541765617adc7 (diff) | |
download | spack-cb19ca2471e8c83239855b0ecb9191d46050a884.tar.gz spack-cb19ca2471e8c83239855b0ecb9191d46050a884.tar.bz2 spack-cb19ca2471e8c83239855b0ecb9191d46050a884.tar.xz spack-cb19ca2471e8c83239855b0ecb9191d46050a884.zip |
gitlab ci: Make sure PR pipelines can push to buildcache (#32014)
On PR pipelines we need to override the buildcache destination to
point to the "spack-binaries-prs" bucket, otherwise, those pipelines
try to push to the default mirror in a bucket for which they don't
have write permission.
Diffstat (limited to 'share/spack')
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml index e38be464dc..616c4b8de0 100644 --- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml +++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml @@ -193,6 +193,7 @@ e4s-mac-pr-generate: - cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME} - spack env activate --without-view . - spack ci generate --check-index-only + --buildcache-destination "${SPACK_BUILDCACHE_DESTINATION}" --artifacts-root "${CI_PROJECT_DIR}/jobs_scratch_dir" --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/cloud-ci-pipeline.yml" artifacts: |