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

restore CI job rules

parent 28722aa4
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,7 @@ deploy-int-release-dev-cscs:
RELEASE_NAME: EBRAINS-test
resource_group: shared-NFS-mount-dev-cscs-spack20
rules:
- if: $CI_PROJECT_NAMESPACE =~ /technical-coordination/
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE =~ /technical-coordination/
- 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
......@@ -193,11 +192,9 @@ build-spack-env-on-runner:
- spack_logs
when: always
timeout: 2 days
rules:
- if: $CI_COMMIT_BRANCH != "spack-v0.20.0"
# except:
# variables:
# - $CI_PIPELINE_SOURCE == "schedule"
except:
variables:
- $CI_PIPELINE_SOURCE == "schedule"
sync-gitlab-spack-instance:
stage: build
......@@ -226,6 +223,5 @@ sync-gitlab-spack-instance:
- spack_logs
when: always
rules:
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE =~ /technical-coordination/
- if: $CI_PROJECT_NAMESPACE =~ /technical-coordination/
- 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