-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
feat(docker): fix CUDA compile on devel image and improve run.sh #4849
Conversation
@youtalk @mitsudome-r This is the first phase of this PR |
72da2e2
to
d382308
Compare
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.
It's even better than before! We can review it easier and faster.
Do you have an actual reason to re-add --download-artifacts
at build time?
ref. #4771
I think we should keep our images as complete as possible. Since we don't have any disk usage problem anymore, we can re-add those artifacts to simplify container usage. Because the original intention was to save space. And also think about a scenario in which user just downloads the image and go on a field test where there is no sufficient internet connection to download all artifacts. IMHO, devel and runtime images should be self-sufficient. Moreover these artifacts are mandatory to run essential parts of the Autoware(perception, localization) that means user will always need to download them so why not just keep them inside the image ? |
@youtalk ? |
@oguzkaganozt In addition, I think we also need to change the PR title. The current title alone does not describe what it is trying to achieve. |
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
9665082 is strange though.
f4d0bd0
to
873fe8a
Compare
Signed-off-by: Oguz <[email protected]>
Signed-off-by: Oguz <[email protected]>
Co-authored-by: Yutaka Kondo <[email protected]>
Signed-off-by: Oguz Ozturk <[email protected]>
This reverts commit c66a1dd.
Signed-off-by: Oguz Ozturk <[email protected]>
3920e0a
to
cf8405e
Compare
Signed-off-by: Oguz Ozturk <[email protected]>
# Main script execution | ||
parse_arguments "$@" | ||
set_cuda_options | ||
set_build_options | ||
set_platform | ||
set_arch_lib_dir | ||
load_env | ||
clone_repositories |
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.
@oguzkaganozt may I please check with you what is the purpose of this step?
In the Dockerfile we are still copying the src
that is under autoware
not the src
that is under autoware/docker
.
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.
Thank you for your review. I think it is a mistake and I fix it by #4894.
https://github.com/autowarefoundation/autoware/actions/runs/9516216183/job/26232045461#step:8:1288 Probabable causeIt has passed the test on the initial PR description: Then, some tag related things were changed within the PR review process: To prevent such cases from happening, perform the tests again before merging. Referenced in the issue: Let's track it there. |
…owarefoundation#4849) * modular containers PR phase1 Signed-off-by: Oguz <[email protected]> * style(pre-commit): autofix * add download artifacts to devel and runtime image Signed-off-by: Oguz <[email protected]> * Update docker/build.sh Co-authored-by: Yutaka Kondo <[email protected]> * style(pre-commit): autofix * build from temp source directory and remove dangling images Signed-off-by: Oguz Ozturk <[email protected]> * Revert "build from temp source directory and remove dangling images" This reverts commit c66a1dd. * build containers from temp source and remove dangling images Signed-off-by: Oguz Ozturk <[email protected]> * style(pre-commit): autofix * add vcs pull to update Signed-off-by: Oguz Ozturk <[email protected]> * style(pre-commit): autofix --------- Signed-off-by: Oguz <[email protected]> Signed-off-by: Oguz Ozturk <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yutaka Kondo <[email protected]>
Description
This PR includes the first phase changes of this bulk PR
base
image for modular containersTests performed
https://github.com/autowarefoundation/autoware/actions/runs/9450305663
Effects on system behavior
Not applicable.
Interface changes
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.