Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
user-jupyterlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jupyterjsc
k8s
images
user-jupyterlab
Commits
f42966de
Commit
f42966de
authored
1 year ago
by
Tim Kreuzer
Browse files
Options
Downloads
Patches
Plain Diff
load flavor specific timeout
parent
72ffe668
No related branches found
No related tags found
No related merge requests found
Pipeline
#167722
passed
1 year ago
Stage: build
Stage: build-lmod
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lmod/files/start_jupyter.sh
+8
-1
8 additions, 1 deletion
lmod/files/start_jupyter.sh
with
8 additions
and
1 deletion
lmod/files/start_jupyter.sh
+
8
−
1
View file @
f42966de
...
...
@@ -16,6 +16,13 @@ set_env() {
export
PYTHONNOUSERSITE
=
1
export
MODULEPATH
=
/p/software/jsccloud/productionstages
export
OTHERSTAGES
=
/p/software/jsccloud/productionstages
JUPYTER_FLAVOR_VARS
=
/tmp/custom/load_flavor_variables.sh
if
[
-f
$JUPYTER_FLAVOR_VARS
]
;
then
source
$JUPYTER_FLAVOR_VARS
else
echo
"File
$JUPYTER_FLAVOR_VARS
does not exist. Use 12h as default timeout."
export
JUPYTERHUB_TIMEOUT
=
12h
fi
echo
"
$(
date
)
- Set environment variables done"
}
...
...
@@ -119,7 +126,7 @@ cleanup () {
start
()
{
echo
"
$(
date
)
- Start jupyterhub-singleuser ..."
timeout
30d
jupyterhub-singleuser 2>
${
JUPYTER_LOG_DIR
}
/stderr 1>
${
JUPYTER_LOG_DIR
}
/stdout
timeout
$JUPYTERHUB_TIMEOUT
jupyterhub-singleuser 2>
${
JUPYTER_LOG_DIR
}
/stderr 1>
${
JUPYTER_LOG_DIR
}
/stdout
echo
"
$(
date
)
- Start jupyterhub-singleuser done"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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