Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
25
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
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Commits
6d7c85ed
Commit
6d7c85ed
authored
3 years ago
by
Athanasios Karmas
Browse files
Options
Downloads
Patches
Plain Diff
created scheduled jobs for the experimental release for cscs and jsc
parent
52c48593
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
+84
-1
84 additions, 1 deletion
.gitlab-ci.yml
with
84 additions
and
1 deletion
.gitlab-ci.yml
+
84
−
1
View file @
6d7c85ed
...
...
@@ -106,7 +106,8 @@ deploy-prod-release-prod-jsc:
allow_failure
:
false
# Deploy the experimental release of tools (sheduled pipeline)
# once a week from integration release (master) to an experimental JupyterLab kernel
# 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 okd dev cluster at CSCS
# runs on protected branches only as the token variable is protected
deploy-exp-release-dev-cscs
:
...
...
@@ -144,3 +145,85 @@ deploy-exp-release-dev-cscs:
variables
:
-
$RELEASE == "experimental"
allow_failure
:
false
# 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 CSCS
# runs on protected branches only as the token variable is protected
deploy-exp-release-prod-cscs
:
extends
:
.deploy-build-environment
variables
:
OPENSHIFT_SERVER
:
$CSCS_OPENSHIFT_PROD_SERVER
OPENSHIFT_TOKEN
:
$CSCS_OPENSHIFT_PROD_TOKEN
INSTALLATION_ROOT
:
$CSCS_INSTALLATION_ROOT_PROD
SPACKIFIED_ENV
:
experimental
OP
:
update
BUILD_ENV_DOCKER_IMAGE
:
$CSCS_BUILD_ENV_DOCKER_IMAGE_PROD
LAB_KERNEL_PATH
:
/srv/jupyterlab_kernels/prod/experimental
OKD_CLUSTER_UID
:
$CSCS_OKD_PROD_UID
#SPACK_ENV_TAR_FILE: ebrains-spack-builds${CI_PIPELINE_ID}.tar.gz
SPACK_ENV_TAR_FILE
:
ebrains-spack-builds.tar.gz
OC_PROJECT
:
jupyterhub
before_script
:
-
|
head -n -9 create_JupyterLab_kernel.sh > tmp.txt && mv tmp.txt create_JupyterLab_kernel.sh
cat << EOS >> create_JupyterLab_kernel.sh
mkdir \$LAB_KERNEL_PATH/experimental_release
cat <<EOF >\$LAB_KERNEL_PATH/experimental_release/kernel.json
{
"argv": ["\$LAB_KERNEL_PATH/bin/env.sh", "{connection_file}", "--profile=default"],
"display_name": "EBRAINS_experimental_release",
"name": "experimental_release",
"language": "python"
}
EOF
EOS
resource_group
:
shared-NFS-mount-prod-cscs
only
:
refs
:
-
schedules
variables
:
-
$RELEASE == "experimental"
allow_failure
:
false
# 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
INSTALLATION_ROOT
:
$JSC_INSTALLATION_ROOT_PROD
SPACKIFIED_ENV
:
experimental
OP
:
update
BUILD_ENV_DOCKER_IMAGE
:
$JSC_BUILD_ENV_DOCKER_IMAGE_PROD
LAB_KERNEL_PATH
:
/srv/jupyterlab_kernels/prod/experimental
OKD_CLUSTER_UID
:
$JSC_OKD_PROD_UID
#SPACK_ENV_TAR_FILE: ebrains-spack-builds${CI_PIPELINE_ID}.tar.gz
SPACK_ENV_TAR_FILE
:
ebrains-spack-builds.tar.gz
OC_PROJECT
:
jupyterhub
before_script
:
-
|
head -n -9 create_JupyterLab_kernel.sh > tmp.txt && mv tmp.txt create_JupyterLab_kernel.sh
cat << EOS >> create_JupyterLab_kernel.sh
mkdir \$LAB_KERNEL_PATH/experimental_release
cat <<EOF >\$LAB_KERNEL_PATH/experimental_release/kernel.json
{
"argv": ["\$LAB_KERNEL_PATH/bin/env.sh", "{connection_file}", "--profile=default"],
"display_name": "EBRAINS_experimental_release",
"name": "experimental_release",
"language": "python"
}
EOF
EOS
resource_group
:
shared-NFS-mount-prod-jsc
only
:
refs
:
-
schedules
variables
:
-
$RELEASE == "experimental"
allow_failure
:
false
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