-
Notifications
You must be signed in to change notification settings - Fork 1
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
make mpie-cmti
standalone
#426
base: main
Are you sure you want to change the base?
Conversation
…se, md, pyiron and mpie_cmti
@niklassiemer you think this is okay? I started the container locally, ran @jan-janssen : Just added you to make you aware of this change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We should only see if this survives on the CI (probably larger?)
Actually I think this image is smaller; I'm about to leave my desk, so I can check tomorrow or so. The container started from the image defined here is basically empty. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to resync the dependencies. Some of them decreased, but probably I did not find all of them. E.g. it seems that bokeh and maxvolpy are not in the list any more? I will check again the next days :)
Co-authored-by: Niklas Siemer <[email protected]>
Co-authored-by: Niklas Siemer <[email protected]>
Co-authored-by: Niklas Siemer <[email protected]>
Co-authored-by: Niklas Siemer <[email protected]>
Co-authored-by: Niklas Siemer <[email protected]>
Co-authored-by: Niklas Siemer <[email protected]>
Ok, so upon concatenating the |
Environment-wise everything seems to be okay now. But now the image(s) are too large. We could either
What do you think, @niklassiemer? |
I would not make an org for such few repos, and I also do not even think we need multiple repos. For now, we can "just" use different CI runs, one for each scenario. The main thing would be how to build and push all docker images in case of a release... maybe we need to split the releases like "cmti_mpie_${date}" release instead of only "${date}" ones |
Now I tried to split the testing to two VMs like before in #347. Back then I failed (and the issue was not to pressing) since all the builds needed to be in one VM. Now, this is not intended this way any longer! |
Let's merge this PR and do the splitting for the test and release in another PR. @niklassiemer , can you please approve the changes? |
Hmm... the code in test and push is quite similar and I would expect the push to break due to the changes in the cmti/Dockerfile. Thus, let me take over the responsibility and I try to get the release action aligned with the test action before merging it in. |
Yeah, you're right. You really want to do it? I can take care of it as well. |
Ok, if you want to play a bit with the github CI, go ahead :) There are actions using caching and or artifacts which can be used to combine things from different jobs. Just ping me for any question 👍 |
I really don't like to do all of this in this PR, it appears messy to me. I opened another (draft) PR where I'm working on the CI improvements and applied the same changes done here to |
The problem is a bit that these things are indeed coupled... i.e. you need the Dockerfile change to build standalone and you need the ci change that this fits into one VM... probably we need stacked PRs to have it clean :) |
This PR makes the
mpie_cmti
image definition "standalone", i.e. the layering starts withjupyter/base-notebook:ubuntu-22.0
.Before, the image was drived from
pyiron
, which was itself derived frommd
, which was derived frombase
, which was the only standalone image definition indocker-stacks
.Especially for this image, this makes managing the env easier, which is important as the shared conda environment on our cluster is based on this.
Broken down, I made some changes to
Dockerfile
, concatenating neccessary parts from theDockerfiles
of the previous "inheritance-chain". Similarly, I concatenated theenvironment.yml
from all those image definitions