summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2024-06-04 10:54:05 -0600
committerGitHub <noreply@github.com>2024-06-04 11:54:05 -0500
commit0c3da1b4985d4916763eb9e838ee647f5ecae004 (patch)
tree8a6fa782779b644a25d1d44783ed5d2637aa31c8 /share
parent278f5818b7bf67a7544a4d9733fc9c0eb605f6c6 (diff)
downloadspack-0c3da1b4985d4916763eb9e838ee647f5ecae004.tar.gz
spack-0c3da1b4985d4916763eb9e838ee647f5ecae004.tar.bz2
spack-0c3da1b4985d4916763eb9e838ee647f5ecae004.tar.xz
spack-0c3da1b4985d4916763eb9e838ee647f5ecae004.zip
gitlab ci: Remove protected publish job (#44304)
Diffstat (limited to 'share')
-rw-r--r--share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml32
1 files changed, 1 insertions, 31 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
index 9a743f0bff..127b04724a 100644
--- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
+++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-stages: [ "generate", "build", "publish" ]
+stages: [ "generate", "build" ]
variables:
SPACK_DISABLE_LOCAL_CONFIG: "1"
@@ -259,36 +259,6 @@ default:
extends: [ ".base-job" ]
stage: build
-protected-publish:
- # Copy binaries from stack-specific mirrors to a root mirror
- stage: publish
- only:
- - /^develop$/
- - /^releases\/v.*/
- - /^v.*/
- - /^develop-[\d]{4}-[\d]{2}-[\d]{2}$/
- image: "ghcr.io/spack/python-aws-bash:0.0.1"
- tags: ["spack", "public", "medium", "aws", "x86_64"]
- retry:
- max: 2
- when: ["runner_system_failure", "stuck_or_timeout_failure"]
- variables:
- SPACK_COPY_BUILDCACHE: "${PROTECTED_MIRROR_PUSH_DOMAIN}/${CI_COMMIT_REF_NAME}"
- SPACK_PIPELINE_TYPE: "spack_protected_branch"
- KUBERNETES_CPU_REQUEST: 4000m
- KUBERNETES_MEMORY_REQUEST: 16G
- script:
- - . "./share/spack/setup-env.sh"
- - spack --version
- - export COPY_SPECS_DIR=${CI_PROJECT_DIR}/jobs_scratch_dir/specs_to_copy
- - spack buildcache sync --manifest-glob "${COPY_SPECS_DIR}/*.json"
- - curl -fLsS https://spack.github.io/keys/spack-public-binary-key.pub -o /tmp/spack-public-binary-key.pub
- - aws s3 cp /tmp/spack-public-binary-key.pub "${SPACK_COPY_BUILDCACHE}/build_cache/_pgp/spack-public-binary-key.pub"
- - spack buildcache update-index --keys "${SPACK_COPY_BUILDCACHE}"
- id_tokens:
- GITLAB_OIDC_TOKEN:
- aud: "protected_binary_mirror"
-
########################################
# TEMPLATE FOR ADDING ANOTHER PIPELINE
########################################