summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2023-09-14 15:11:29 -0600
committerGitHub <noreply@github.com>2023-09-14 15:11:29 -0600
commit579df768ca62d879636a1e5104116d58410afe65 (patch)
treef2dc595b687f295a1e681c428804c43f682699ce /share
parente004db8f77a5e8b1f5d4341577e06084d21f48fb (diff)
downloadspack-579df768ca62d879636a1e5104116d58410afe65.tar.gz
spack-579df768ca62d879636a1e5104116d58410afe65.tar.bz2
spack-579df768ca62d879636a1e5104116d58410afe65.tar.xz
spack-579df768ca62d879636a1e5104116d58410afe65.zip
gitlab ci: Put Cray binaries in public mirrors (#39938)
Diffstat (limited to 'share')
-rw-r--r--share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml33
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-rhel/spack.yaml2
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-sles/spack.yaml6
3 files changed, 7 insertions, 34 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
index 2467463d81..04b9fa0744 100644
--- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
+++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
@@ -782,30 +782,8 @@ deprecated-ci-build:
# job: aws-pcluster-generate-neoverse_v1
# Cray definitions
-.base-cray-job:
- variables:
- SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries-cray/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}"
- AWS_ACCESS_KEY_ID: ${CRAY_MIRRORS_AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY: ${CRAY_MIRRORS_AWS_SECRET_ACCESS_KEY}
- rules:
- - if: $CI_COMMIT_REF_NAME == "develop"
- # Pipelines on develop only rebuild what is missing from the mirror
- when: always
- variables:
- SPACK_PIPELINE_TYPE: "spack_protected_branch"
- SPACK_REQUIRE_SIGNING: "True"
- - if: $CI_COMMIT_REF_NAME =~ /^pr[\d]+_.*$/
- # Pipelines on PR branches rebuild only what's missing, and do extra pruning
- when: always
- variables:
- SPACK_PIPELINE_TYPE: "spack_pull_request"
- SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries-cray/prs/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}"
- SPACK_PRUNE_UNTOUCHED: "True"
- SPACK_PRUNE_UNTOUCHED_DEPENDENT_DEPTH: "1"
-
.generate-cray:
- extends: [ ".generate-common", ".base-cray-job" ]
- stage: generate
+ extends: [ ".generate-common", ".base-job" ]
before_script:
- echo $PATH
- module avail
@@ -820,11 +798,6 @@ deprecated-ci-build:
extends: [ ".generate-cray" ]
-.build-cray:
- extends: [ ".base-cray-job" ]
- stage: build
-
-
#######################################
# E4S - Cray RHEL
#######################################
@@ -837,7 +810,7 @@ e4s-cray-rhel-generate:
extends: [ ".generate-cray-rhel", ".e4s-cray-rhel" ]
e4s-cray-rhel-build:
- extends: [ ".build-cray", ".e4s-cray-rhel" ]
+ extends: [ ".build", ".e4s-cray-rhel" ]
trigger:
include:
- artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
@@ -859,7 +832,7 @@ e4s-cray-sles-generate:
extends: [ ".generate-cray-sles", ".e4s-cray-sles" ]
e4s-cray-sles-build:
- extends: [ ".build-cray", ".e4s-cray-sles" ]
+ extends: [ ".build", ".e4s-cray-sles" ]
trigger:
include:
- artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-rhel/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-rhel/spack.yaml
index 8983073c82..90b590f42b 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-rhel/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-rhel/spack.yaml
@@ -63,7 +63,7 @@ spack:
# - amrex # disabled temporarily pending resolution of unreproducible CI failure
- mirrors: { "mirror": "s3://spack-binaries-cray/develop/e4s-cray-rhel" }
+ mirrors: { "mirror": "s3://spack-binaries/develop/e4s-cray-rhel" }
cdash:
build-group: E4S Cray
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-sles/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-sles/spack.yaml
index 22156ca9bb..d42881f68e 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-sles/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s-cray-sles/spack.yaml
@@ -41,13 +41,13 @@ spack:
specs:
- adios2
- - amrex
+ - amrex
- butterflypack
- conduit
- h5bench
- hdf5-vol-async
- hdf5-vol-cache
- - hdf5-vol-log
+ - hdf5-vol-log
- hypre
- kokkos
- kokkos-kernels
@@ -57,7 +57,7 @@ spack:
- superlu-dist
# - flux-core # python cray sles issue
- mirrors: { "mirror": "s3://spack-binaries-cray/develop/e4s-cray-sles" }
+ mirrors: { "mirror": "s3://spack-binaries/develop/e4s-cray-sles" }
cdash:
build-group: E4S Cray SLES