Skip to content
Snippets Groups Projects
Commit 3f50d007 authored by Jaromír Hradil's avatar Jaromír Hradil
Browse files

Merge branch 'upgrading_test+devel' into 'master'

Upgrading test+devel environments

See merge request !32
parents 476c7019 80bf0358
No related branches found
No related tags found
1 merge request!32Upgrading test+devel environments
...@@ -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
......
...@@ -51,7 +51,7 @@ singleuser: ...@@ -51,7 +51,7 @@ 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 - display_name: Small Environment - 2 vCPU / 4 GB RAM
description: > description: >
...@@ -60,8 +60,6 @@ singleuser: ...@@ -60,8 +60,6 @@ singleuser:
kubespawner_override: kubespawner_override:
args: args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'" - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment:
JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
extra_annotations: extra_annotations:
"egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram" "egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram"
vo_claims: vo_claims:
...@@ -72,8 +70,6 @@ singleuser: ...@@ -72,8 +70,6 @@ singleuser:
kubespawner_override: kubespawner_override:
args: args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'" - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment:
JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
extra_annotations: extra_annotations:
"egi.eu/flavor": "medium-environment-4-vcpu-8-gb-ram" "egi.eu/flavor": "medium-environment-4-vcpu-8-gb-ram"
cpu_guarantee: 0.4 cpu_guarantee: 0.4
...@@ -88,8 +84,6 @@ singleuser: ...@@ -88,8 +84,6 @@ singleuser:
kubespawner_override: kubespawner_override:
args: args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'" - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment:
JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
cpu_guarantee: 0.8 cpu_guarantee: 0.8
cpu_limit: 8 cpu_limit: 8
mem_guarantee: 2G mem_guarantee: 2G
...@@ -167,6 +161,11 @@ hub: ...@@ -167,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
...@@ -217,7 +216,7 @@ hub: ...@@ -217,7 +216,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
...@@ -263,7 +262,7 @@ hub: ...@@ -263,7 +262,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"},
...@@ -322,6 +321,13 @@ hub: ...@@ -322,6 +321,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment