Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Han Lu
ebrains-spack-builds
Commits
d703b197
Commit
d703b197
authored
10 months ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
feat: add build jobs for prod JSC cluster
parent
5813a725
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+43
-0
43 additions, 0 deletions
.gitlab-ci.yml
with
43 additions
and
0 deletions
.gitlab-ci.yml
+
43
−
0
View file @
d703b197
...
@@ -98,6 +98,27 @@ deploy-prod-release-prod-cscs:
...
@@ -98,6 +98,27 @@ deploy-prod-release-prod-cscs:
SPACK_ENV
:
ebrains-24-04
SPACK_ENV
:
ebrains-24-04
RELEASE_NAME
:
EBRAINS-24.04
RELEASE_NAME
:
EBRAINS-24.04
resource_group
:
shared-NFS-mount-prod-cscs
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_COMMIT_BRANCH =~ /^ebrains/
when
:
manual
# Deploy the production release of tools (manual pipeline)
# deploy on the prod environment of the k8s 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_K8S_PROD_SERVER
OPENSHIFT_TOKEN
:
$JSC_K8S_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
:
rules
:
-
if
:
$CI_COMMIT_BRANCH =~ /^ebrains/
-
if
:
$CI_COMMIT_BRANCH =~ /^ebrains/
when
:
manual
when
:
manual
...
@@ -161,6 +182,28 @@ deploy-exp-release-prod-cscs:
...
@@ -161,6 +182,28 @@ deploy-exp-release-prod-cscs:
SPACK_ENV
:
experimental
SPACK_ENV
:
experimental
RELEASE_NAME
:
EBRAINS-experimental
RELEASE_NAME
:
EBRAINS-experimental
resource_group
:
shared-NFS-mount-prod-cscs
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"
# 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 k8s 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_K8S_PROD_SERVER
OPENSHIFT_TOKEN
:
$JSC_K8S_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
rules
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule" && $DEPLOYMENT == "prod"
-
if
:
$CI_PIPELINE_SOURCE == "schedule" && $DEPLOYMENT == "prod"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment