From 50236d624f4e35d26095f466e3a004d6f3d3ef2b Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Fri, 26 Jul 2024 16:14:37 +0300
Subject: [PATCH] chore: remove inactive JSC-OKD deployment job

---
 .gitlab-ci.yml | 41 -----------------------------------------
 1 file changed, 41 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0251ff92..2b55216a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,24 +80,6 @@ deploy-prod-release-prod-cscs:
     - if: $CI_COMMIT_BRANCH =~ /^ebrains/
       when: manual
 
-# Deploy the production release of tools (manual pipeline)
-# deploy on the production environment of the okd prod cluster at JSC
-# runs on protected branches only as the token variable is protected
-deploy-prod-release-prod-jsc:
-  extends: .deploy-build-environment
-  variables:
-    OPENSHIFT_SERVER: $JSC_OPENSHIFT_PROD_SERVER
-    OPENSHIFT_TOKEN: $JSC_OPENSHIFT_PROD_TOKEN
-    OC_PROJECT: jupyterhub
-    LAB_KERNEL_ROOT: /srv/jupyterlab_kernels/prod
-    INSTALLATION_ROOT: /srv/main-spack-instance-2402
-    SPACK_ENV: ebrains-24-04
-    RELEASE_NAME: EBRAINS-24.04
-  resource_group: shared-NFS-mount-prod-jsc
-  rules:
-    - if: $CI_COMMIT_BRANCH =~ /^ebrains/
-      when: manual
-
 # 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
@@ -139,29 +121,6 @@ deploy-exp-release-prod-cscs:
   rules:
     - if: $CI_PIPELINE_SOURCE == "schedule"  && $DEPLOYMENT == "prod"
 
-# 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 prod environment of the okd prod cluster at JSC
-# runs on protected branches only as the token variable is protected
-deploy-exp-release-prod-jsc:
-  extends: .deploy-build-environment
-  variables:
-    OPENSHIFT_SERVER: $JSC_OPENSHIFT_PROD_SERVER
-    OPENSHIFT_TOKEN: $JSC_OPENSHIFT_PROD_TOKEN
-    OC_PROJECT: jupyterhub
-    LAB_KERNEL_ROOT: /srv/jupyterlab_kernels/prod
-    INSTALLATION_ROOT: /srv/main-spack-instance-2402
-    SPACK_ENV: experimental
-    RELEASE_NAME: EBRAINS-experimental
-  resource_group: shared-NFS-mount-prod-jsc
-  tags:             # this is just to ensure that the two jobs will run on different runners
-    - read-only     # to avoid issues with common environment variables
-    - shell-runner
-  rules:
-    - if: $CI_PIPELINE_SOURCE == "schedule"  && $DEPLOYMENT == "prod"
-      when: never
-
 build-spack-env-on-runner:
   stage: build
   tags:
-- 
GitLab