gitlab: release branch pipelines rebuild what changed (#43990)
This commit is contained in:
parent
09cea230b4
commit
aae7a22d39
1 changed files with 2 additions and 12 deletions
|
@ -78,24 +78,14 @@ default:
|
||||||
when: never
|
when: never
|
||||||
- if: $SPACK_CI_ENABLE_STACKS =~ /.+/ && $SPACK_CI_STACK_NAME !~ $SPACK_CI_ENABLE_STACKS
|
- if: $SPACK_CI_ENABLE_STACKS =~ /.+/ && $SPACK_CI_STACK_NAME !~ $SPACK_CI_ENABLE_STACKS
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_REF_NAME == "develop"
|
- if: $CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_REF_NAME =~ /^releases\/v.*/
|
||||||
# Pipelines on develop only rebuild what is missing from the mirror
|
# Pipelines on develop/release branches only rebuild what is missing from the mirror
|
||||||
when: always
|
when: always
|
||||||
variables:
|
variables:
|
||||||
SPACK_PIPELINE_TYPE: "spack_protected_branch"
|
SPACK_PIPELINE_TYPE: "spack_protected_branch"
|
||||||
SPACK_COPY_BUILDCACHE: "${PROTECTED_MIRROR_PUSH_DOMAIN}/${CI_COMMIT_REF_NAME}"
|
SPACK_COPY_BUILDCACHE: "${PROTECTED_MIRROR_PUSH_DOMAIN}/${CI_COMMIT_REF_NAME}"
|
||||||
SPACK_REQUIRE_SIGNING: "True"
|
SPACK_REQUIRE_SIGNING: "True"
|
||||||
OIDC_TOKEN_AUDIENCE: "protected_binary_mirror"
|
OIDC_TOKEN_AUDIENCE: "protected_binary_mirror"
|
||||||
- if: $CI_COMMIT_REF_NAME =~ /^releases\/v.*/
|
|
||||||
# Pipelines on release branches always rebuild everything
|
|
||||||
when: always
|
|
||||||
variables:
|
|
||||||
SPACK_PIPELINE_TYPE: "spack_protected_branch"
|
|
||||||
SPACK_COPY_BUILDCACHE: "${PROTECTED_MIRROR_PUSH_DOMAIN}/${CI_COMMIT_REF_NAME}"
|
|
||||||
SPACK_PRUNE_UNTOUCHED: "False"
|
|
||||||
SPACK_PRUNE_UP_TO_DATE: "False"
|
|
||||||
SPACK_REQUIRE_SIGNING: "True"
|
|
||||||
OIDC_TOKEN_AUDIENCE: "protected_binary_mirror"
|
|
||||||
- if: $CI_COMMIT_TAG =~ /^develop-[\d]{4}-[\d]{2}-[\d]{2}$/ || $CI_COMMIT_TAG =~ /^v.*/
|
- if: $CI_COMMIT_TAG =~ /^develop-[\d]{4}-[\d]{2}-[\d]{2}$/ || $CI_COMMIT_TAG =~ /^v.*/
|
||||||
# Pipelines on tags (release or dev snapshots) only copy binaries from one mirror to another
|
# Pipelines on tags (release or dev snapshots) only copy binaries from one mirror to another
|
||||||
when: always
|
when: always
|
||||||
|
|
Loading…
Reference in a new issue