yuvipanda
43e12631da
Make memory limit checking tests more solid
...
- Use a more precise way of triggering OOM conditions
- Make sure that the image is rebuilt each time with a cachebust
- Don't have two copies of the OOM triggering script
2017-11-30 20:10:35 -08:00
yuvipanda
43603225de
Add tests for checking if memlimit is enforced
2017-11-30 18:22:28 -08:00
yuvipanda
2db2fd7543
Remove extra - in argparse definition
2017-11-30 17:23:00 -08:00
yuvipanda
c3ec9c9fa8
s/memoryswap/memswap/
...
Since clearly the equivalent of 'memory' is 'memswap' grumble
2017-11-30 17:17:03 -08:00
yuvipanda
86c24c1a18
Set limits for how much memory docker build can use
...
This prevents builds from gobbling all the RAM on a node!
2017-11-30 17:14:42 -08:00
Min RK
bd3bf07ebe
sync conda versions with venv versions
2017-11-30 13:17:12 +01:00
Min RK
5f613bf1f7
bump ipywidgets to 6.0.1
2017-11-30 13:17:12 +01:00
Min RK
5ba9fb0b56
run freeze-requirements in docker
...
avoids mismatch between freeze env and 'real' env, e.g. running on mac, where dependencies differ,
or running with Python 3.4 vs 3.5, etc.
2017-11-30 13:17:12 +01:00
Min RK
3290f93512
fix cd to python dir in freeze.bash
...
- cd was missing, instead the directory was being printed
- readlink doesn't exist on BSD
2017-11-30 13:17:12 +01:00
Min RK
3c6c19e1c5
Merge pull request #156 from yuvipanda/frozen-base
...
Use a frozen requirements.txt for base install in venv buildpacks
2017-11-30 13:07:47 +01:00
Yuvi Panda
569853942d
Merge pull request #157 from minrk/travis-no-parallel
...
don't run tests in parallel on travis
2017-11-30 04:04:32 -08:00
yuvipanda
ef07e723b2
Update JupyterLab version
2017-11-30 03:51:09 -08:00
Min RK
52e80fc1a7
don't run tests in parallel on travis
...
parallel tests might have been the cause of spurious travis failures
plus, not running concurrently should result in reusing the cache for the initial stages,
which might even save time
2017-11-30 12:10:08 +01:00
Matthias Bussonnier
6633b533bc
Merge pull request #155 from yuvipanda/split
...
Split detector.py into multiple files
2017-11-30 10:55:26 +01:00
yuvipanda
ac6659e553
Use fully frozen requirements.txt for venv
...
Fixes #154
There's also a 'freeze.bash' script that'll generate the frozen
versions from the unfrozen versions at current date.
2017-11-30 01:44:41 -08:00
yuvipanda
a84e8ebcf5
Use requirements.txt for installing base packages in requirements.txt
...
Lets us move to a frozen requirements.txt that can be automated
soon.
2017-11-30 01:44:33 -08:00
yuvipanda
c43d45ce21
Move conda support files next to the code
...
Better than in a separate files dir IMO
2017-11-30 01:44:25 -08:00
yuvipanda
a52d49636c
Remove unused imports in buildpack files
2017-11-30 01:29:40 -08:00
yuvipanda
1ddaf0bcb1
Split detectors.py into individual files
...
These were buildpacks now anyway, not detectors.
2017-11-30 01:29:40 -08:00
Yuvi Panda
c7ca099ad0
Merge pull request #153 from choldgraf/env_v
...
Make conda env update be verbose
2017-11-30 01:24:39 -08:00
Chris Holdgraf
e78c769eba
verbose env update
2017-11-29 13:40:45 -08:00
Yuvi Panda
3cd451936a
Merge pull request #150 from yuvipanda/notebook-bump
...
Bump notebook version to 5.2.2
2017-11-29 12:20:46 -08:00
yuvipanda
0d25d9a38f
Bump anaconda notebook down to 5.0 again
...
Doesn't have 5.2 either
2017-11-29 11:44:27 -08:00
yuvipanda
0e7e82a542
Bump legacy Dockerfile notebook down to 5.2.0
...
5.2.2 doesn't exist in anaconda channels...
2017-11-29 11:05:30 -08:00
Tim Head
7bbfe982b6
Merge pull request #152 from GladysNalvarte/pip-e
...
Suggest editable install when installed from source
2017-11-29 16:24:19 +01:00
Gladys Nalvarte
b592a098c0
Suggest editable install when installed from source
2017-11-29 10:50:47 +01:00
yuvipanda
76d3ae423d
Bump notebook version to 5.2.2
...
Brings in https://github.com/jupyter/notebook/pull/2959 to fix
https://github.com/jupyterhub/binderhub/issues/211
2017-11-28 17:48:40 -08:00
Tim Head
c0fc0fe74a
Merge pull request #144 from minrk/git-credential-env
...
add git-credential-env
2017-11-23 13:45:16 +01:00
Min RK
ed96e22743
separate RUN for git-credential-env
2017-11-22 14:56:09 +01:00
Chris Holdgraf
6d13a4eb3e
Merge pull request #147 from yuvipanda/set-e
...
Make all bash verify scripts fail on error
2017-11-21 17:39:28 -08:00
yuvipanda
603efee588
Make all bash verify scripts fail on error
...
Bash scripts by default continue on executing even if any
command errors. That's not the behavior we want for our scripts,
so let's explicitly get them to fail if:
1. Any command exits with non 0 exit code
2. An undefined variable is referenced
2017-11-21 14:53:15 -08:00
Chris Holdgraf
97658e0446
Merge pull request #145 from oschuett/master
...
Add tests for binder/apt.txt and binder/postBuild
2017-11-17 13:50:55 -08:00
Ole Schuett
795e359ad1
Add tests for binder/apt.txt and binder/postBuild
2017-11-17 22:17:41 +01:00
Min RK
504aeb7300
add git-credential-env
...
and configure git to use it by default
`git-credential-env` only echoes the $GIT_CREDENTIAL_ENV environment variable
when git asks for https credentials.
with this, setting GIT_CREDENTIAL_ENV="username=name\npassword=xxx" sets the credentials
that will be used.
e.g.
docker run -e GIT_CREDENTIAL_ENV="username=name\npassword=xxx" jupyter/repo2docker https://github.com/private/repo
2017-11-17 16:05:46 +01:00
Yuvi Panda
0d3becd0b4
Merge pull request #137 from darwindarak/master
...
RFC: Ignore "julia" in REQUIRE file when precompiling
2017-11-16 16:56:22 -08:00
Tim Head
c9821a3c7d
Merge pull request #140 from oschuett/master
...
Fix binder/apt.txt detection
2017-11-12 22:41:01 +01:00
Ole Schuett
691174518f
Fix binder/apt.txt detection
2017-11-12 11:46:18 +01:00
Darwin Darakananda
1d42113368
Ignore "julia" in REQUIRE file when precompiling
2017-11-10 20:37:55 -08:00
Yuvi Panda
88f7b34fed
Merge pull request #118 from betatim/tempfile
...
[MRG] Use stdlib tempfile module
2017-11-09 16:14:09 -06:00
Tim Head
5ff228deca
Fix argument definition
2017-11-09 16:41:00 +01:00
Chris Holdgraf
093184b36a
Merge pull request #132 from yuvipanda/jh
...
Fully remove jupyterhub references
2017-11-01 17:49:53 -07:00
yuvipanda
e3647e6e44
Don't test for jupyterhub being present in legacy dockerfiles
...
We don't auto install JupyterHub anymore
2017-11-01 17:23:39 -07:00
Tim Head
498d30a3f5
Remove leftover reference to juypterhub
2017-11-01 17:23:24 -07:00
Chris Holdgraf
3459b7705c
Merge pull request #131 from jupyter/revert-120-max-clone-depth
...
Revert "[MRG] Add limit on git clone depth"
2017-11-01 16:28:20 -07:00
Yuvi Panda
a7b1519b4d
Revert "[MRG] Add limit on git clone depth"
2017-11-01 16:27:26 -07:00
Chris Holdgraf
4f6501ea6f
Merge pull request #130 from jupyter/revert-128-fix-clone-depth
...
Revert "Add handling for no ref being provided"
2017-11-01 16:26:59 -07:00
Yuvi Panda
cad9deb7d0
Revert "Add handling for no ref being provided"
2017-11-01 16:23:29 -07:00
Yuvi Panda
d3286eb4ed
Merge pull request #128 from betatim/fix-clone-depth
...
Add handling for no ref being provided
2017-11-01 14:19:04 -07:00
Tim Head
cb1b1442f2
Add handling for no ref being provided
...
We do not need to checkout a specific ref if none is provided. Added a
test to check the behaviour.
2017-11-01 21:56:13 +01:00
Tim Head
5242bd8339
Switch to using context manager for cleanup
2017-11-01 21:15:27 +01:00