Commit Graph

54 Commits

Author SHA1 Message Date
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
058229dc3a Add non-root test 2021-11-15 16:11:58 +03:00
Ben Mares
f5753abc5c Update test for altered Notebook deprecation warning 2021-11-14 11:24:52 +01:00
Ayaz Salikhov
b6ab91a606 Fix an example 2021-11-12 19:45:28 +03: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
Erik Sundell
018e5fc962 start.sh: tests, docs, and refinements 2021-11-08 16:29:11 +01: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
rigzba21
d29e6c25ac adding rv check to test 2021-08-06 16:11:00 -04:00
rigzba21
0dbce4526e removing rsync dependency, using cp -R instead, reducing wait time in test 2021-08-06 14:55:58 -04:00
rigzba21
9d9b76909d fixing bashate and flake8 errors 2021-08-06 13:19:39 -04:00
pre-commit-ci[bot]
437e736c7d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-08-06 16:25:29 +00:00
rigzba21
364e5de012 updating test description 2021-08-06 12:11:30 -04:00
rigzba21
c5fe6a1f5f adding test to check if container deleted files on container bind mount 2021-08-06 07:53:49 -04:00
Erik Sundell
411663b5d4 black style tweaks: add trailing commas 2021-06-28 22:07:26 +02:00
Erik Sundell
962a630f53 Apply suggestions from code review
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2021-06-28 22:07:26 +02:00
Erik Sundell
fe3968efe0 pre-commit: run black autoformatter on all files 2021-06-28 22:07:23 +02:00
Ayaz Salikhov
5c860df8c4 Move assert after logs output to make debug easier 2021-06-27 13:19:05 +03:00
Ayaz Salikhov
4828b4146f Fix style in tests 2021-06-27 12:32:26 +03:00
romainx
1c5c2d945a Install tini as an ubuntu package 2021-05-19 09:23:33 +02:00
Ayaz Salikhov
691422b6ca Update miniforge to 4.10.1 and python version to 3.9.2 2021-05-06 14:46:20 +03:00
romainx
672c4cce40 Wording 2021-05-06 07:01:57 +02:00
romainx
4b243e8401 Test Python version 2021-05-05 21:19:13 +02:00
romainx
202211fe97 Add pip in the package manager test 2021-02-27 18:01:04 +01:00
romainx
e94e28404b Formatting 2021-02-27 17:46:56 +01:00
romainx
e8139fdf85 Mamba in base-notebook 2021-02-27 17:29:00 +01:00
romainx
13bf51f6a7 Fix according to the review 2021-01-18 18:02:29 +01:00
romainx
0660736ac0 Changes following the review 2021-01-18 07:43:26 +01:00
romainx
b7aad78b82 Switch to JupyterLab by default 2021-01-08 09:13:01 +01:00
Steven Stetzler
127f3bfe0b shuffle workdir option in tests 2020-11-10 21:48:08 +00:00
Ayaz Salikhov
e3085ca89e Merge branch 'master' into asalikhov/py_codestyle 2020-09-28 06:37:23 +03:00
romainx
39dc7752e8 Fixed test test_cli_args
Changed `""` into `''` to pass an empty token. Seems to be linked to this warning:
```
/opt/conda/lib/python3.8/site-packages/traitlets/traitlets.py:2195: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '' instead of "''" – or use CUnicode.
```

Added debug information (ouput of the command line).
2020-09-10 20:00:24 +02:00
Ayaz Salikhov
530e2b3834 Merge branch 'master' into asalikhov/py_codestyle 2020-08-16 20:02:40 +03:00
Peter Parente
0f1ebea3c7 Fix missing container wait in test 2020-07-30 07:50:16 -04:00
Ayaz Salikhov
94cd03d6b9 Fix python codestyle 2020-07-04 18:30:53 +02:00
romainx
5519470151 Fix comment 2020-05-21 21:28:11 +02:00
romainx
bcf1f53229 Fix #1077
* Documentation `common.md` updated
* `test_nb_user_change` test written
2020-05-02 17:25:14 +02:00
romainx
d1e10fc795 Remove pandoc os package install 2020-02-14 20:07:18 +01:00
romainx
45d51e3b42 Bump to spark 2.4.5 + minor improvements 2020-02-11 21:30:47 +01:00
Brett Randall
e29f669fb8 Added CHOWN_EXTRA test.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-03-20 15:10:09 +11:00
Richard Darst
fc72be36ad Update group handling: set primary gid, leave suplemental with group users
- If NB_GID is set, it is likely that files created should have NB_GID
  as their gid (if it doesn't matter, then this change is irrelevant.
  If it does matter, the liklihood that 100 matches with what the user
  wants is low).
- When NB_GID is set, create a new group with that gid.  Then, set
  this as the primary gid of the user.  Set the user's supplemental
  gids to NB_GID,100.
2018-08-02 10:27:29 +03:00
Peter Parente
19f1bd92f4 Fix second test_gid_change expectation 2018-06-29 08:33:12 -04:00
Peter Parente
611526cdc4 Fix test_gid_change expectation 2018-06-28 22:29:59 -04:00
Chris Zubak-Skees
27cf7035ec Fix to check dict status code response in test_container_options 2018-02-04 13:01:28 -05:00
Bonnotte, Nicolas
c6c6819a6e Add /bin to sudo secure_path 2018-01-18 17:51:06 +01:00
Peter Parente
a3cfda28da Verify path prefix in test 2018-01-04 22:51:16 -05:00
Peter Parente
6fa67cc500 Append $CONDA_DIR/bin to sudo secure_path
Retain behavior when su was used instead
2018-01-04 00:09:07 -05:00
Peter Parente
fb01654930 Fix test to use bash for multiple commands 2017-12-29 19:37:07 -05:00
Peter Parente
240285841a Remove mount permissions test
Not really testing a docker-stacks feature, only
that docker host permissions work
2017-12-16 23:03:26 -05:00
Peter Parente
167a0cb0c4 Fix mount test on CI 2017-12-02 22:03:44 -05:00