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

feat: add build jobs for dev CINECA cluster

parent 4d18241b
No related branches found
No related tags found
1 merge request!567create new experimental release
Pipeline #53434 waiting for manual action with stage
in 35 minutes and 9 seconds
......@@ -59,6 +59,27 @@ deploy-int-release-dev-cscs:
SPACK_ENV: test
RELEASE_NAME: EBRAINS-test
resource_group: shared-NFS-mount-dev-cscs
tags: # this is just to ensure that the two jobs will run on different runners
- read-write # to avoid issues with common environment variables
- shell-runner
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE =~ /platform\/esd/ && $CI_PIPELINE_SOURCE != "schedule"
# Deploy in the lab-dev environment the version of the tools to be
# tested before released to production (push pipeline)
# deploy on the dev environment of the k8s dev cluster at CINECA
# runs on protected branches only as the token variable is protected
deploy-int-release-dev-cineca:
extends: .deploy-build-environment
variables:
OPENSHIFT_SERVER: $CINECA_K8S_DEV_SERVER
OPENSHIFT_TOKEN: $CINECA_K8S_DEV_TOKEN
OC_PROJECT: jupyterhub
LAB_KERNEL_ROOT: /srv/jupyterlab_kernels/int
INSTALLATION_ROOT: /srv/test-build-2402
SPACK_ENV: test
RELEASE_NAME: EBRAINS-test
resource_group: shared-NFS-mount-dev-cineca
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE =~ /platform\/esd/ && $CI_PIPELINE_SOURCE != "schedule"
......@@ -98,6 +119,28 @@ deploy-exp-release-dev-cscs:
SPACK_ENV: experimental
RELEASE_NAME: EBRAINS-experimental
resource_group: shared-NFS-mount-dev-cscs
tags: # this is just to ensure that the two jobs will run on different runners
- read-write # to avoid issues with common environment variables
- shell-runner
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $DEPLOYMENT == "dev"
# Deploy the experimental release of tools (sheduled pipeline)
# once a week from latest working version of integration release
# (branch=experimental_release) to an experimental JupyterLab kernel
# deploy on the dev environment of the k8s dev cluster at CINECA
# runs on protected branches only as the token variable is protected
deploy-exp-release-dev-cineca:
extends: .deploy-build-environment
variables:
OPENSHIFT_SERVER: $CINECA_K8S_DEV_SERVER
OPENSHIFT_TOKEN: $CINECA_K8S_DEV_TOKEN
OC_PROJECT: jupyterhub
LAB_KERNEL_ROOT: /srv/jupyterlab_kernels/int
INSTALLATION_ROOT: /srv/test-build-2402
SPACK_ENV: experimental
RELEASE_NAME: EBRAINS-experimental
resource_group: shared-NFS-mount-dev-cineca
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $DEPLOYMENT == "dev"
......@@ -118,9 +161,6 @@ deploy-exp-release-prod-cscs:
SPACK_ENV: experimental
RELEASE_NAME: EBRAINS-experimental
resource_group: shared-NFS-mount-prod-cscs
tags: # this is just to ensure that the two jobs will run on different runners
- read-write # to avoid issues with common environment variables
- shell-runner
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $DEPLOYMENT == "prod"
......
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