Skip to content
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

Codify workaround for nbgitpuller 500 error #120

Merged
merged 1 commit into from
Jan 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions roles/ewatercycle/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,14 @@
- name: conda clean
# TODO check if cleaning is needed
command: '{{ conda_root }}/condabin/conda clean -a -y' # noqa no-changed-when

- name: nbgitpuller workaround
# See https://github.com/jupyterhub/nbgitpuller/issues/235
# TODO remove once new version of nbgitpuller is released
file:
src: '{{ conda_root }}/envs/{{ conda_environment }}/lib/python3.9/site-packages/nbgitpuller/templates/status.html'
dest: '{{ conda_root }}/envs/{{ conda_environment }}/lib/python3.9/site-packages/notebook/templates/status.html'
owner: root
group: root
mode: '0644'
state: link