-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build via binderbot #89
Comments
I think now that the best path forward is to simplify the "switching" between using binderbot and executing on github actions. Why not use the
The various workflows can parse this file to see if they should execute via binderbot, in which case we would manually set |
with the eventual goal of migrating this functionality upstream into JupyterBook! |
although the downside is that it would break A backwards-compatible alternative would be to add new field to the |
Discussed this at the IWG today 10/31/2022, got the green light to go ahead and mock something up that overrides the |
I've implemented a solution for this, now merged into https://github.com/ProjectPythiaCookbooks/cookbook-actions #94 shows how we can now switch to binderbot-based execution just by setting |
#96 does some final cleanup of the new template. Once that's merged, I think we can close this issue and propagate the changes out to all the existing cookbook repos. |
Ok, closing this! |
Following successful experiments in ProjectPythia/cmip6-cookbook#27 and ProjectPythia/pythia-foundations#322, it's time to build the binderbot functionality into the template and (once it's working) push those changes out to all cookbook repos.
My recent refactor of the infrastructure makes this much easier. Most (all?) the changes will actually occur in the reusable workflows over at https://github.com/ProjectPythiaCookbooks/cookbook-actions.
What I have in mind is a python script that parses
_config.yml
and_toc.yml
to get things needed for the call to binderbot:binderhub_url:
in_config.yml
)_toc.yml
)That would all happen within the reusable https://github.com/ProjectPythiaCookbooks/cookbook-actions/blob/main/.github/workflows/build-book.yaml
One question is whether this should be automatic (i.e. every Cookbook executes this way), or whether there should be a switch for the individual Cookbook to choose whether to execute via binderbot or on GitHub Actions.
The text was updated successfully, but these errors were encountered: