Skip to content
Snippets Groups Projects

Upgrading test+devel environments

Merged Jaromír Hradil requested to merge upgrading_test+devel into master
2 files
+ 30
32
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -50,28 +50,8 @@ singleuser:
@@ -50,28 +50,8 @@ singleuser:
k8s-app: cluster-ingress
k8s-app: cluster-ingress
image:
image:
name: eginotebooks/single-user-eosc
name: eginotebooks/single-user-eosc
tag: "sha-7052495"
tag: "sha-d822021"
profileList:
profileList:
- display_name: Small Environment - 2 vCPU / 4 GB RAM (non-collaboratice)
description: >
The notebook environment includes Python, R, Julia and Octave kernels. Non-collaborative.
default: true
kubespawner_override:
args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'"
extra_annotations:
"egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram"
- display_name: Small Environment - 2 vCPU / 4 GB RAM (collaboratice)
description: >
The notebook environment includes Python, R, Julia and Octave kernels. Collaborative.
kubespawner_override:
args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment:
JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
image: "valtri/single-user:jupyter-4e-collab"
extra_annotations:
"egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram"
- display_name: Small Environment - 2 vCPU / 4 GB RAM
- display_name: Small Environment - 2 vCPU / 4 GB RAM
description: >
description: >
The notebook environment includes Python, R, Julia and Octave kernels.
The notebook environment includes Python, R, Julia and Octave kernels.
@@ -181,6 +161,11 @@ hub:
@@ -181,6 +161,11 @@ hub:
name: eginotebooks/hub
name: eginotebooks/hub
# k8s-hub 4.0.0
# k8s-hub 4.0.0
tag: "sha-b20ead2"
tag: "sha-b20ead2"
 
loadRoles:
 
#user roles required for user initiated sharing API
 
user:
 
scopes: ["self", "shares!user"]
 
config:
config:
Authenticator:
Authenticator:
enable_auth_state: true
enable_auth_state: true
@@ -232,7 +217,7 @@ hub:
@@ -232,7 +217,7 @@ hub:
class WebDavOIDCSpawner(OnedataSpawner):
class WebDavOIDCSpawner(OnedataSpawner):
# ownCloud Infinite Scale parameters
# ownCloud Infinite Scale parameters
# (https://owncloud.dev/apis/http/graph/spaces/#list-my-spaces-get-medrives)
# (https://owncloud.dev/apis/http/graph/spaces/#list-my-spaces-get-medrives)
OCIS_URL = "https://ocis-testing.apps.bst2-test.paas.psnc.pl"
OCIS_URL = "https://ocis.aaitest.owncloud.works"
# personal space
# personal space
OCIS_PERSONAL_SPACE = "/graph/v1.0/me/drives?%24filter=driveType+eq+personal"
OCIS_PERSONAL_SPACE = "/graph/v1.0/me/drives?%24filter=driveType+eq+personal"
# shared space
# shared space
@@ -278,7 +263,7 @@ hub:
@@ -278,7 +263,7 @@ hub:
{"name": "WEBDAV_VENDOR", "value": "owncloud"},
{"name": "WEBDAV_VENDOR", "value": "owncloud"},
# XXX: strict permissions needed for .local/share/jupyter/runtime/jupyter_cookie_secret
# XXX: strict permissions needed for .local/share/jupyter/runtime/jupyter_cookie_secret
# quicker directory cache and polling
# quicker directory cache and polling
{"name": "MOUNT_OPTS", "value": "--file-perms=0600 --dir-perms=0770 --dir-cache-time=1m0s --poll-interval=0m20s"},
{"name": "MOUNT_OPTS", "value": "--file-perms=0700 --dir-perms=0770 --dir-cache-time=1m0s --poll-interval=0m20s"},
{"name": "MOUNT_PATH", "value": "/owncloud" + subpath},
{"name": "MOUNT_PATH", "value": "/owncloud" + subpath},
# default mode is "full"
# default mode is "full"
{"name": "VFS_CACHE_MODE", "value": "full"},
{"name": "VFS_CACHE_MODE", "value": "full"},
@@ -337,6 +322,13 @@ hub:
@@ -337,6 +322,13 @@ hub:
c.JupyterHub.spawner_class = WebDavOIDCSpawner
c.JupyterHub.spawner_class = WebDavOIDCSpawner
c.WebDavOIDCSpawner.token_mount_path = "/var/run/secrets/oidc/"
c.WebDavOIDCSpawner.token_mount_path = "/var/run/secrets/oidc/"
c.WebDavOIDCSpawner.http_timeout = 90
c.WebDavOIDCSpawner.http_timeout = 90
 
 
#Scopes for user sharing api extension to be able to
 
#use browser token for API queries
 
c.WebDavOIDCSpawner.oauth_client_allowed_scopes = [
 
"access:servers!server",
 
"shares!server"
 
]
{% endraw %}
{% endraw %}
templatePaths:
templatePaths:
- /egi-notebooks-hub/ec-templates
- /egi-notebooks-hub/ec-templates
Loading