NSLS-II / scipy-binder

Binder-compatible repo including scipy stack and databroker
3 stars 14 forks source link

Set up CI (build docker image) #6

Closed dmgav closed 3 years ago

danielballan commented 4 years ago

As I mentioned in chat, this trick might be useful:

https://github.com/bluesky/tutorials/blob/658a50bd1af3fed6c9b7344f329dcd88803b90b1/.travis.yml#L28

dmgav commented 4 years ago

I was planning to make the script work first and then remove the unnecessary code. I will try the .keep_alive.sh trick.

danielballan commented 4 years ago

Failed with:

The job exceeded the maximum time limit for jobs, and has been terminated.

We might be able to shave off a little time by being clever, but overall I think the build time will grow significantly over the next couple months as we add new Python packages and JupyterLab extensions, so I think this is a losing battle.

Maybe it's worth investigating GitHub Actions and/or Azure Pipelines, something that @stuartcampbell has suggested in any case for automating deployment of the updated images.

danielballan commented 3 years ago

Superseded by https://github.com/NSLS-II/scipy-binder/pull/15 which uses the GH Actions solution we have used in tutorials and other repos.