From cb19ca2471e8c83239855b0ecb9191d46050a884 Mon Sep 17 00:00:00 2001 From: Scott Wittenburg Date: Fri, 12 Aug 2022 10:53:59 -0600 Subject: 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. --- share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'share') 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: -- cgit v1.2.3-70-g09d2