Closed christophebedard closed 5 months ago
Everything builds fine, but these images are hard to test, because images built in a PR are not pushed anywhere. However, given that the images are kind of broken, we could just try it out.
I ended up building images locally, pushing them to my "personal" GitHub container registry, and then testing the images with an action-ros-ci
test PR: https://github.com/ros-tooling/action-ros-ci/pull/871. Everything looks good: everything that I expected to pass is passing, and I do see that we're getting versions of dependencies corresponding to the versions from apt
. I documented all commands and steps in the PR description above.
I'll merge this and then do Jammy for Humble and Iron in another PR.
Thank you so much!
Relates to #67
This is similar to https://github.com/ros-tooling/setup-ros/pull/593. It updates the list of installed packages to use
apt
only, which matches the more recent installation instructions. I did this for Noble only, since it has the most problems with versions differing a lot betweenapt
andpip
, and I didn't want to risk breaking Humble and Iron. Therefore, for Jammy and older (which includes Humble and Iron), nothing should change.Note that we used to install a lot of packages using
pip
. Some of those are included inros-dev-tools
withapt
, and others were simply changed to be installed withapt
instead ofpip
(likepython3-colcon-*
).Steps to test this:
ros-rolling-ros-base
imageaction-ros-ci
and use Docker imageghcr.io/christophebedard/setup-ros-docker-ubuntu-noble-ros-rolling-ros-base:pr-73
, then run CI.Some things to validate:
pip3 freeze
underaction-ros-ci
. Make sure the following dependencies use the version available fromapt
(e.g., on Noble), not the latest one frompip
:pytest
(7.4.4),flake8
(7.0.0), etc.action-ros-ci
test PR https://github.com/ros-tooling/action-ros-ci/pull/871: https://github.com/ros-tooling/action-ros-ci/actions/runs/9130274663/job/25108388141#step:8:121