Commit Graph

500 Commits

Author SHA1 Message Date
Ayaz Salikhov
2bdaa2cd12 Update base-notebook/Dockerfile 2021-12-16 13:30:20 +03:00
Erik Sundell
bc6819237d Run apt-get upgrade to patch known vulnerabilities faster 2021-12-16 00:25:26 +01:00
Yoshio Sugiyama
c7da5c62ad fix variable typo 2021-12-15 20:25:32 +09:00
Ben Mares
edd0bf71a6 Log before assert 2021-12-14 22:40:45 +01:00
Ben Mares
8958ba7592 Warn if NB_USER not jovyan and can't rename home 2021-12-14 21:12:09 +01:00
Ben Mares
c772e98ac7 Fix spurious error messages with altered uid 2021-12-14 21:12:09 +01:00
Ben Mares
709206ac87 Check base-notebook test logs for ERROR/WARNING 2021-12-14 21:12:08 +01:00
Ayaz Salikhov
57156de45b Older mamba for arm 2021-12-12 22:54:52 +03:00
Ayaz Salikhov
323307422c Try to free up space 2021-12-12 12:42:14 +03:00
Ayaz Salikhov
06ad327461 Pin mamba version 2021-12-11 16:38:01 +03:00
Ayaz Salikhov
44a5515e2e Try to use old mamba version 2021-12-10 15:23:11 +03:00
Ayaz Salikhov
23e3284c20 Better wording 2021-11-16 02:07:12 +03:00
Ayaz Salikhov
f55ed54e4b Better comment message 2021-11-16 01:50:05 +03:00
Ayaz Salikhov
d943ec36f7 Fix one more echo 2021-11-16 01:46:47 +03:00
Ayaz Salikhov
71428554b8 Merge branch 'master' into quiet 2021-11-15 18:48:21 +03:00
Ayaz Salikhov
5cb44a8507 Merge pull request #1524 from maresb/unset
start.sh: JUPYTER_ENV_VARS_TO_UNSET introduced
2021-11-15 18:42:53 +03:00
Ayaz Salikhov
d73079ebe8 Fix NOTEBOOK_ARGS pass 2021-11-15 17:25:01 +03:00
Ayaz Salikhov
058229dc3a Add non-root test 2021-11-15 16:11:58 +03:00
Ayaz Salikhov
9701743ca3 Merge pull request #1527 from maresb/notebook_args
start-notebook.sh: pass NOTEBOOK_ARGS as docs say
2021-11-15 15:53:34 +03:00
Ben Mares
f5753abc5c Update test for altered Notebook deprecation warning 2021-11-14 11:24:52 +01:00
Ayaz Salikhov
dd0fcc0102 Update base-notebook/start-notebook.sh 2021-11-12 19:52:23 +03:00
Ayaz Salikhov
d6fd535c5f Update base-notebook/start-notebook.sh 2021-11-12 19:51:06 +03:00
Ayaz Salikhov
e7c38b57cf Update base-notebook/start-notebook.sh 2021-11-12 19:50:08 +03:00
Ayaz Salikhov
d8056125ae Better syntax 2021-11-12 19:46:45 +03:00
Ayaz Salikhov
b6ab91a606 Fix an example 2021-11-12 19:45:28 +03:00
Ayaz Salikhov
d4759372ce Only allow comma separation 2021-11-12 19:43:00 +03:00
Ben Mares
b7d85486b3 Fix apparent logic error in _log
Make noise when JUPYTER_DOCKER_STACKS_QUIET is empty
2021-11-12 12:35:40 +01:00
Erik Sundell
1f59bd7a77 start.sh: JUPYTER_DOCKER_STACKS_QUIET introduced
It is meant to allow you to opt out from non-error non-warning logs
generated by start.sh.
2021-11-12 12:35:35 +01:00
Erik Sundell
e11f31a7b6 start-notebook.sh: pass NOTEBOOK_ARGS as docs say 2021-11-12 00:14:28 +01:00
Erik Sundell
7f62f8f72c start-singleuser.sh: remove JPY_* NOTEBOOK_DIR 2021-11-11 23:11:20 +01:00
Erik Sundell
ee0105a8a5 start.sh: JUPYTER_ENV_VARS_TO_UNSET introduced
Allow you to define variables to be unset before running the command
that start.sh is supposed to start. These variables will still be
available in the hooks run before.
2021-11-11 22:48:20 +01:00
Ayaz Salikhov
8dfdbfd3a3 Merge pull request #1522 from mathbunnyru/asalikhov/remove_xdg_cache_home
Remove XDG_CACHE_HOME from start.sh sudo call
2021-11-10 21:24:20 +03:00
Ayaz Salikhov
f8c281a4f9 Fail if creating symlink fails 2021-11-10 18:27:23 +03:00
Ayaz Salikhov
0cc11990c7 Remove XDG_CACHE_HOME from start.sh sudo call 2021-11-10 17:58:32 +03:00
Ben Mares
3a5c2caded Revert broken sed --in-place command 2021-11-10 13:10:46 +01:00
Ben Mares
4c47de93e7 start.sh: add parens for CHOWN_HOME_OPTS
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2021-11-10 00:56:34 +01:00
Ben Mares
87ad5ffdf6 start.sh: improve some messages 2021-11-09 20:52:59 +01:00
Erik Sundell
1ce72b55e2 Apply suggestions from code review
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2021-11-09 13:44:06 +01:00
Ben Mares
4ef8a7816d Undo changes which require further examination 2021-11-08 16:29:26 +01:00
Erik Sundell
018e5fc962 start.sh: tests, docs, and refinements 2021-11-08 16:29:11 +01:00
Erik Sundell
0365e73889 start.sh: update logging output 2021-11-08 16:25:41 +01:00
Erik Sundell
cd5e45b573 start.sh: refactor for readability 2021-11-08 16:25:41 +01:00
Erik Sundell
22c3516abd start.sh: inline documentation 2021-11-08 16:25:40 +01:00
Erik Sundell
52cc15ccf6 start.sh: preserve environment properly when starting as root 2021-11-08 16:25:40 +01:00
Erik Sundell
f3989038a2 start.sh: add info about the user executing hooks 2021-11-08 16:25:40 +01:00
Ayaz Salikhov
a4cfde82a0 Update base-notebook/Dockerfile 2021-10-28 15:27:42 +03:00
Peng Gao
8090ca1fd1 Add conda mirror option in base notebook
Users having high latency from default conda download site
could set this option to speed up downloading.

Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
2021-10-28 16:13:42 +08:00
Ayaz Salikhov
b980728325 Try to trigger workflow 2021-10-17 00:56:05 +03:00
pre-commit-ci[bot]
7494214259 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-09-15 14:57:47 +00:00
Thijs Walcarius
891ddbc106 Add test for copying of hidden folder
Test if the hidden `.jupyter` folder is properly copied when the user is changed via `NB_USER` environment variable. This folder should exist as `jupyter notebook --generate-config` is executed to generate `/home/jovyan/.jupyter/jupyter_notebook_config.py` .

Test for fix #1466 for issue #1465.
2021-09-15 16:56:02 +02:00