-
Notifications
You must be signed in to change notification settings - Fork 6
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
118/feature/docker ci #121
base: master
Are you sure you want to change the base?
Conversation
9a03c76
to
29b62d9
Compare
@StefanCaldararu kinda hype, no longer need to build. I've just built some cross-platform images on my machine and pushed them. I want these images to be updated whenever a commit happens on master, but it's hard to test the github action since it needs to be in master. I think it works (i tested the gh action locally at least). |
sweet I'll take a look in the AM, at the airport rn. Trade PR reviews? |
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.
Lots of questions:
- Still have to build
art-oak
even though it is a service in main? - Can't build other branches, so I don't really see this getting a ton of use. Everyone is using other branches, and all development happens on other branches (not master), so how does this help much? ig if your branch is similar enough to master you can pull the built container and then switch branches, right? But everyones branches are still pretty far behind so won't be able to use this
- you mentioned pushing a new image every time a commit happens to main. This seems like there will be some pretty extreme data storage / etc. What happens when I just push a documentation change, for example? Wouldn't it make sense to just have more of an "abbreviated" history of images that is kept up to date?
@@ -146,6 +144,8 @@ as this is _not_ a volume. | |||
The user profile is updated to add the python binary directory to `PYTHONPATH` and | |||
the lib directory is appended to `LD_LIBRARY_PATH`. | |||
|
|||
**REMOVE_OPTIX** _(Default: `false`)_: Whether to remove the optix library after building chrono. This should be `'true'` if you plan to push the image to some public repository. |
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.
why is this not default to true?
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.
Cause we can't push optix binaries/source, against the terms
…pet. Added optix dockerfile.
8472c59
to
9525522
Compare
By default, only chrono, dev, and vnc are pushed. But you can push a local image with
I mean this is also true for any change we make to main rn, right?
I think this makes sense, like the action isn't on by default, you have to explicitly run the action. As a note, docker images are layers, so like each RUN command is an additional layer on top of the FROM image you built with. So if a change happens that doesn't effect the image, i.e. docs, no additional information is actually stored on dockerhub since no layers changed. Does this make sense? Does this change your opinion here? |
No description provided.