Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bc_uab_jupyterlab_singularity
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
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
RC Data Science
community-ood-sandbox
bc_uab_jupyterlab_singularity
Commits
56b10bd5
Commit
56b10bd5
authored
1 year ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Plain Diff
Merge branch 'feat-increase-timeout' into 'master'
Feat increase timeout See merge request
!11
parents
957dbef4
ac222c50
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
template/after.sh
+5
-5
5 additions, 5 deletions
template/after.sh
with
5 additions
and
5 deletions
template/after.sh
+
5
−
5
View file @
56b10bd5
# Wait for the Jupyter
Notebook
server to start
# Wait for the Jupyter
lab
server to start
echo
"Waiting for Jupyter
Notebook
server to open port
${
port
}
..."
echo
"Waiting for Jupyter
lab
server to open port
${
port
}
..."
echo
"TIMING - Starting wait at:
$(
date
)
"
echo
"TIMING - Starting wait at:
$(
date
)
"
if
wait_until_port_used
"
${
host
}
:
${
port
}
"
60
;
then
if
wait_until_port_used
"
${
host
}
:
${
port
}
"
60
0
;
then
echo
"Discovered Jupyter
Notebook
server listening on port
${
port
}
!"
echo
"Discovered Jupyter
lab
server listening on port
${
port
}
!"
echo
"TIMING - Wait ended at:
$(
date
)
"
echo
"TIMING - Wait ended at:
$(
date
)
"
else
else
echo
"Timed out waiting for Jupyter
Notebook
server to open port
${
port
}
!"
echo
"Timed out waiting for Jupyter
lab
server to open port
${
port
}
!"
echo
"TIMING - Wait ended at:
$(
date
)
"
echo
"TIMING - Wait ended at:
$(
date
)
"
pkill
-P
${
SCRIPT_PID
}
pkill
-P
${
SCRIPT_PID
}
clean_up 1
clean_up 1
...
...
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