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

Extend development containers #173

Merged
merged 1 commit into from
May 5, 2023
Merged

Extend development containers #173

merged 1 commit into from
May 5, 2023

Conversation

hidmic
Copy link
Collaborator

@hidmic hidmic commented May 5, 2023

Excerpt from #168.

Summary

This patch allows for both ROS 2 Humble and ROS 2 Rolling development containers, the latter particularly useful to compare against nav2_amcl, partially broken on Humble (see ros-navigation/navigation2#3311). It also adds tooling to ease debugging.

Checklist

  • Read the contributing guidelines.
  • Configured pre-commit and ran colcon test locally.
  • Signed all commits for DCO.
  • Added tests (regression tests for bugs, coverage of new code for features).
  • Updated documentation (as needed).
  • Checked that CI is passing.

- Add ROS 2 Rolling container
- Add tooling to ease debugging

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic
Copy link
Collaborator Author

hidmic commented May 5, 2023

Opening this for visibility. OK with dropping it if misleading (given CI supports targets Humble).

Copy link
Member

@nahueespinosa nahueespinosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Maybe we could use docker args to avoid duplication, but someone could do that as a follow-up.

docker/images/rolling/Dockerfile Show resolved Hide resolved
@hidmic
Copy link
Collaborator Author

hidmic commented May 5, 2023

Maybe we could use docker args to avoid duplication, but someone could do that as a follow-up.

There is a reason not to do that. Build procedures are not exactly equivalent, and conditional statements are not a thing in Dockerfiles. Also, as time goes by, the Rolling container will become increasingly distinct from those for earlier LTS releases. At the current LOC count, I'm personally comfortable with the duplication (doesn't mean you have to be). If it gets out of hand, we can put common statements in scripts.

@hidmic hidmic merged commit 70a6815 into main May 5, 2023
@hidmic hidmic deleted the hidmic/extend-dev-containers branch May 5, 2023 13:26
glpuga pushed a commit that referenced this pull request May 10, 2023
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
glpuga pushed a commit that referenced this pull request May 10, 2023
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
glpuga pushed a commit that referenced this pull request May 10, 2023
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic mentioned this pull request Sep 30, 2024
7 tasks
hidmic added a commit that referenced this pull request Sep 30, 2024
### Proposed changes

Follow-up to #173. Hopefully this time around we get multi-platform
development containers right.

#### Type of change

- [x] 🐛 Bugfix (change which fixes an issue)
- [ ] 🚀 Feature (change which adds functionality)
- [ ] 📚 Documentation (change which fixes or extends documentation)

### Checklist

- [ ] Lint and unit tests (if any) pass locally with my changes
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added necessary documentation (if appropriate)
- [x] All commits have been signed for
[DCO](https://developercertificate.org/)

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants