Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kubespawner-seadrive
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
EBRAINS RI
Tech Hub
Platform
Lab
kubespawner-seadrive
Commits
9b9b0563
Commit
9b9b0563
authored
3 years ago
by
Florian Deuerlein
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Merge branch 'feature/spawn_delay' into 'master'"
This reverts merge request !5
parent
0d60d022
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kujudrivespawner/__init__.py
+0
-11
0 additions, 11 deletions
kujudrivespawner/__init__.py
with
0 additions
and
11 deletions
kujudrivespawner/__init__.py
+
0
−
11
View file @
9b9b0563
...
@@ -5,7 +5,6 @@ Utilities for the KubeSpawner configuration.
...
@@ -5,7 +5,6 @@ Utilities for the KubeSpawner configuration.
import
configparser
import
configparser
import
io
import
io
import
re
import
re
import
asyncio
from
kubernetes.client.models
import
(
from
kubernetes.client.models
import
(
V1ObjectMeta
,
V1ObjectMeta
,
...
@@ -113,10 +112,6 @@ class KuJuDriveSpawner(KubeSpawner):
...
@@ -113,10 +112,6 @@ class KuJuDriveSpawner(KubeSpawner):
pass
pass
else
:
else
:
raise
raise
if
self
.
start_delay
>
0
:
spawner
.
log
.
debug
(
"
Delayed spawner launch by %i seconds
"
%
self
.
start_delay
)
await
asyncio
.
sleep
(
self
.
start_delay
)
spawner
.
log
.
debug
(
"
Delay finished => Starting session
"
)
return
user
return
user
async
def
get_drive_token
(
self
,
auth_state
:
dict
)
->
str
:
async
def
get_drive_token
(
self
,
auth_state
:
dict
)
->
str
:
...
@@ -167,9 +162,3 @@ class KuJuDriveSpawner(KubeSpawner):
...
@@ -167,9 +162,3 @@ class KuJuDriveSpawner(KubeSpawner):
default_value
=
'
clb-jupyter-image/base:1.4
'
,
default_value
=
'
clb-jupyter-image/base:1.4
'
,
config
=
True
,
config
=
True
,
)
)
start_delay
=
Int
(
help
=
'
The spawner start delay in seconds
'
,
default_value
=
0
,
config
=
True
,
)
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