From 47ab16c99b598eaddea01114036acf297f721307 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Mon, 22 Jul 2024 21:17:35 +0000
Subject: [PATCH] Enable ownCloud at staging instance

---
 staging1/deployments/hub.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/staging1/deployments/hub.yaml b/staging1/deployments/hub.yaml
index 2b751ea..4c75a56 100644
--- a/staging1/deployments/hub.yaml
+++ b/staging1/deployments/hub.yaml
@@ -254,7 +254,7 @@ hub:
       class WebDavOIDCSpawner(B2DropSpawner):
           # ownCloud Infinite Scale parameters
           # (https://owncloud.dev/apis/http/graph/spaces/#list-my-spaces-get-medrives)
-          OCIS_URL = "https://ocis.aaitest.owncloud.works"
+          OCIS_URL = "https://ocis-staging.apps.bst2-test.paas.psnc.pl"
           # personal space
           OCIS_PERSONAL_SPACE = "/graph/v1.0/me/drives?%24filter=driveType+eq+personal"
           # shared space
@@ -347,8 +347,7 @@ hub:
                 self.log.info("No auth state, skipping ownCloud")
 
 
-      # c.JupyterHub.spawner_class = WebDavOIDCSpawner
-      c.JupyterHub.spawner_class = B2DropSpawner
+      c.JupyterHub.spawner_class = WebDavOIDCSpawner
       c.B2DropSpawner.http_timeout = 90
       c.B2DropSpawner.profile_form_template = """
         <style>
-- 
GitLab