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

[DH-66] move conda and R install locations, fix popcon deployment path, install temp version of popcon #5170

Merged
merged 15 commits into from
Nov 1, 2023

Conversation

shaneknapp
Copy link
Contributor

https://jira-secure.berkeley.edu/browse/DH-66

repo2docker is installing python to /srv/conda, and these Dockerfile-based images are deploying to /opt/conda.

since the majority of our deployments are following the repo2docker paradigm, let's update these hubs to do the same.

we will also be moving the popcon ipython startup script to /srv/conda/... so that it's in the proper ipython search paths.

@shaneknapp
Copy link
Contributor Author

shaneknapp commented Oct 27, 2023

re builds failing:

W: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/focal-cran40/InRelease  Could not resolve 'cloud.r-project.org'

cloud.r-project.org is unreachable, as is r-project.org :(

@ryanlovett
Copy link
Collaborator

This will help. A simpler way would be to set the popcon path to be under /etc/ipython which every ipython reads. But aligning our dockerfile builds with the others helps to avoid future surprises.

@shaneknapp
Copy link
Contributor Author

This will help. A simpler way would be to set the popcon path to be under /etc/ipython which every ipython reads. But aligning our dockerfile builds with the others helps to avoid future surprises.

plan A was to stick the popcon script in /etc but after a few minutes of thought i decided that normalizing installation locations was more bueno than not.

@shaneknapp
Copy link
Contributor Author

This will help. A simpler way would be to set the popcon path to be under /etc/ipython which every ipython reads. But aligning our dockerfile builds with the others helps to avoid future surprises.

plan A was to stick the popcon script in /etc but after a few minutes of thought i decided that normalizing installation locations was more bueno than not.

actually, you're right and /etc/ipython is the right place for the startup script to live.

5e23ef5

@ryanlovett
Copy link
Collaborator

I think both changes will be helpful!

@shaneknapp
Copy link
Contributor Author

btw we're blocked on yuvipanda/python-popularity-contest#3 for data101 and stat159 hubs (both have ipydatagrid installed).

@shaneknapp shaneknapp changed the title [DH-66] move conda and R install locations, fix popcon deployment path [DH-66] move conda and R install locations, fix popcon deployment path, install temp version of popcon Oct 31, 2023
@shaneknapp
Copy link
Contributor Author

welp this has been a bunch of work but i think we're good to go!

@shaneknapp
Copy link
Contributor Author

btw we're blocked on yuvipanda/python-popularity-contest#3 for data101 and stat159 hubs (both have ipydatagrid installed).

i'm actually just using the git resolver for pip to get around this for now... it doesn't work on a couple of hubs for random reasons but (thankfully) none of them have the ipydatagrid package installed.

@shaneknapp shaneknapp merged commit 18fdb8f into berkeley-dsep-infra:staging Nov 1, 2023
2 checks passed
@shaneknapp shaneknapp deleted the dh66-conda-madness branch November 1, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment