Build workflow #34
kmuehlbauer
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The erad2022 build workflow has been adapted as follows:
(see pull requests #30, #31, #32, #33)
On PullRequest:
write
is not available as per security policyOn Push:
Depending on the changes in the repo the build times can be quite low as docker layer caching is facilitated.
Debugging locally:
If you want to debug locally using
repo2docker
you would need to remove (temporarily) thebinder/Dockerfile
. Then you would need to invoke the build with:This will build the image and fire up a container running jupyterlab.
Conclusion:
appendix
instead ofpostBuild
no compilations are necessary on the binder side, the images is used as is with some minor adaptions by binder.Note: Build times depend on the changes in the repo. A change to
environment.yml
for instance would trigger a complete rebuild of the conda environment. From experience the image build should not take more than 12 minutes.In some cases the time has been down to around 5 minutes.Happy coding!
Beta Was this translation helpful? Give feedback.
All reactions