Skip to content
Snippets Groups Projects
Commit 2cd7b2b5 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

sync gitlab spack env after each commit to master (manually)

parent 39e6cd19
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ stages:
variables:
SPACK_VERSION: v0.18.1
BUILD_ENV_DOCKER_IMAGE: docker-registry.ebrains.eu/tc/ebrains-spack-build-env/okd:okd_22.12
BUILD_ENV_DOCKER_IMAGE: docker-registry.ebrains.eu/tc/ebrains-spack-build-env/okd:okd_22.12
# start an OpenShift Job that will build the Spack environment
.deploy-build-environment:
......@@ -43,8 +43,8 @@ deploy-int-release-dev-cscs:
SPACK_ENV: test
RELEASE_NAME: EBRAINS-test
resource_group: shared-NFS-mount-dev-cscs
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE =~ /technical-coordination/
# Deploy the production release of tools (manual pipeline)
# deploy on the production environment of the okd prod cluster at CSCS
......@@ -61,7 +61,7 @@ deploy-prod-release-prod-cscs:
RELEASE_NAME: EBRAINS-23.01
resource_group: shared-NFS-mount-prod-cscs
rules:
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_COMMIT_BRANCH =~ /ebrains/'
- if: $CI_COMMIT_BRANCH =~ /ebrains/
when: manual
# Deploy the production release of tools (manual pipeline)
......@@ -79,7 +79,7 @@ deploy-prod-release-prod-jsc:
RELEASE_NAME: EBRAINS-23.01
resource_group: shared-NFS-mount-prod-jsc
rules:
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_COMMIT_BRANCH =~ /ebrains/'
- if: $CI_COMMIT_BRANCH =~ /ebrains/
when: manual
# Deploy the experimental release of tools (sheduled pipeline)
......@@ -259,8 +259,6 @@ sync-gitlab-spack-instance:
paths:
- spack_logs
when: always
only:
refs:
- schedules
variables:
- $DEPLOYMENT == "gitlab-nfs"
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE =~ /technical-coordination/
when: manual
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment