Wykres commitów

63 Commity (e3224392e042617b7bd300a9faa82ce55b4156a2)

Autor SHA1 Wiadomość Data
yuvipanda e3224392e0 Add a __main__ and an entrypoint 2017-05-22 20:39:12 -07:00
yuvipanda 13226e1f27 Rename source_url and source_ref to repo and ref
Makes more sense, and also now consistent with the repository
name
2017-05-22 20:32:13 -07:00
yuvipanda 310bc0fbfe Add a little more bit of documentation 2017-05-22 20:28:28 -07:00
yuvipanda e2991f614a Specify the type of buildpack list elements 2017-05-22 20:26:47 -07:00
yuvipanda 25c203c356 Minor variable name cleanup 2017-05-22 20:26:27 -07:00
yuvipanda adbe908355 Rename alias for output image
Makes more sense
2017-05-22 20:13:20 -07:00
yuvipanda 46b08a21dd Add more docs 2017-05-22 20:10:59 -07:00
yuvipanda 93972e9b58 Rename builder to repo2docker
Package name is jupyter-repo2docker
2017-05-22 16:22:36 -07:00
yuvipanda 03eb650acb Move the s2i builders into a subdir 2017-05-22 16:18:49 -07:00
yuvipanda 8811588fa0 Merge s2i-builders repo to the builder repo
These are fairly tightly coupled so let's make them in the same repo
2017-05-22 16:05:27 -07:00
yuvipanda f77b95a9e8 Remove .gitignore in anticipation of merging with s2i 2017-05-22 16:00:33 -07:00
yuvipanda 86b97f8d46 Fix typos in README 2017-05-22 15:36:02 -07:00
yuvipanda 2ce071c714 Add a simple README 2017-05-22 15:29:11 -07:00
yuvipanda 2d31b2c289 Upgrade version of s2i 2017-05-22 15:15:31 -07:00
yuvipanda 70d7c68134 Use cwd switching to do git operations
Setting just --git-dir is not enough, you also need to set
--work-dir. Just setting cwd is better
2017-05-22 15:11:48 -07:00
yuvipanda 1d24fdb7c3 Make sure that the cleanup is actually conditional 2017-05-22 14:53:44 -07:00
yuvipanda f571371b37 Usability improvements for manual usage
- Name no longer needs to be specified, isn't really used anywhere
- Cleans up checkout by default
2017-05-22 14:41:52 -07:00
Yuvi Panda b59c8f5886 Merge pull request #2 from minrk/conda
add conda detector
2017-05-22 11:53:29 -07:00
Min RK 6917839d30 comments for pull cases 2017-05-22 11:52:53 -07:00
Yuvi Panda e8b7d5eccc Merge pull request #1 from minrk/conda
update conda builder
2017-05-22 11:47:49 -07:00
Min RK 0e3da8f2f0 catch ImageNotFound on initial pull 2017-05-22 10:35:13 -07:00
Min RK 28d6573fcb launch docker with kwargs_from_env
respects DOCKER_HOST, etc.
2017-05-22 10:29:48 -07:00
Min RK b5194c9165 add conda detector
and S2I buildpack base for common python/conda
2017-05-22 10:29:09 -07:00
Min RK 51d96fe441 cleanup after installing in assemble step 2017-05-22 09:54:17 -07:00
Min RK ec02d793f4 update conda builder
- update miniconda to 4.3
- pin more packages
- install conda and required packages in one layer
- install in conda root env
- avoid updating dependencies automatically when pulling in new packages
2017-05-22 09:54:02 -07:00
yuvipanda cf6674cce8 Make s2i builder work on non-master refs 2017-05-21 20:39:36 -07:00
yuvipanda e81bfe8c89 Actually check out the ref that is passed to builder
We weren't actually doing this earlier. boo
2017-05-21 20:32:02 -07:00
yuvipanda f717ed4e04 Include the .git directory when copying files
Useful to push / pull later on when the user is running
2017-05-21 15:40:28 -07:00
yuvipanda 02ea11a0bf Use ubuntu 17.04 instead of 16.10 as base 2017-05-21 15:37:47 -07:00
yuvipanda 82425bbaf3 Allow checking out a non-master ref
- No longer doing deep clones. Caching should happen at a different
  layer!
- Actually report failures and stop if something bad happens!
2017-05-19 00:07:39 -07:00
yuvipanda 91e41fca90 Revamp logging to provide structured JSON logs
- Filter out useless info from docker build / push steps
- Use JSON logging everywhere. User readable messages go into
  message, extra useful info goes into extra.
- Capture output from all spawned processes and stuff them
  into an appropriate JSON structure
2017-05-15 18:54:51 -07:00
yuvipanda e0f75520db Do a hacky attempt at not rebuilding already-built images
This is such a complete and utter hack, and I should be somewhat
ashamed of myself. *However*, the docker registry API seems to be
a piece of poop, and there seem to be absolutely no client libraries
for it in python :(
2017-05-09 20:45:45 -07:00
yuvipanda 4881ba2088 Update gitignore + add dockerignore 2017-05-09 20:43:27 -07:00
yuvipanda 4b8f6d0435 Bump version of venv builders 2017-05-09 18:30:46 -07:00
yuvipanda 9e2a16929d Have Dockerfile build off current dir
Makes it much easier to test!
2017-05-09 13:39:50 -07:00
yuvipanda 66fce0592f Add a dockerfile based BuildPack
Great escape hatch
2017-05-09 13:39:47 -07:00
yuvipanda 53268f2d74 Add a simple but fully functional Dockerfile 2017-05-09 03:07:56 -07:00
yuvipanda e7d51c3fe9 Update venv image version again
Should move these out to config soon
2017-05-09 02:57:08 -07:00
yuvipanda 4856db7e79 Print entire progress object
Should be moved into structlog soon
2017-05-09 02:50:32 -07:00
yuvipanda a052ac2d71 Bump s2i builder images 2017-05-09 02:50:24 -07:00
yuvipanda d7c04ab58e Switch to an even older docker API version
This works with GKE which has Docker 1.11
2017-05-09 02:29:15 -07:00
yuvipanda d5cafb2822 Make builder a real module 2017-05-09 01:58:06 -07:00
yuvipanda 0399583ba8 Add setup.py 2017-05-09 01:46:26 -07:00
yuvipanda aa7eb895c1 Add basic builder code
- Takes in config via traitlets
- Pushes image after it is built
- Can run different detectors easily as well
- Single straight up application that runs from start to end,
  no concurrency (woot!)
2017-05-09 01:37:19 -07:00
yuvipanda 8ddf7704ce Initial commit 2017-05-09 01:37:07 -07:00
yuvipanda 1d2e7adab9 Add python2 builder as well
- Uses virtualenv instead of venv
- Is ok for Dockerfiles to diverge, we keep assemble scripts the
  same
- Change name to account for venv + python version present
- Add a ugly hack to get some packages (tiffiles and others) to
  work properly when using sdists + py2
2017-05-09 01:34:18 -07:00
yuvipanda 5dc6fcec2b Fail and give up at getting miniconda working again 2017-05-08 20:19:29 -07:00
yuvipanda 488f70112d try, fail and give up on getting miniconda to work
Someone else should do this :)
2017-05-08 17:43:42 -07:00
yuvipanda bafa6d7d50 Add simple hacky version of a miniconda builder 2017-05-08 16:27:24 -07:00
yuvipanda efd55a9bff Bump builder version to v0.1.1 2017-04-18 23:44:27 -07:00