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

Run CI on official ROS docker images #649

Closed
wants to merge 1 commit into from

Conversation

amacneil
Copy link
Member

@amacneil amacneil commented Sep 24, 2021

Public Changes
None

Description
Replace existing CI setup based on ros-tooling/setup-ros. CI now runs inside the official ROS docker image.

This makes CI run in about half the time (3 minutes faster). Unfortunately, it does not solve #640, because both ros-base (minimal distribution) and ros-core (even more minimal distribution with no dev tools) both still install packages like sensor_msgs by default.

An alternative approach would be to keep ros-tooling/setup-ros but remove required-ros-distributions. This does correctly fail some of the issues described in #640 (it catches the missing test_depend but not the missing buildtool_depend). This approach is slightly faster (shaves ~1 minute off CI).

I'm not sure what other options we have here to replicate the failures seen on the ROS build farm. I think this PR is worth landing since it significantly speeds up CI. But maybe the alternative approach is safer (though slower?).

cc @jtbandes for thoughts

@amacneil amacneil force-pushed the adrian/dockerci branch 25 times, most recently from fcb5915 to 9a1a437 Compare September 25, 2021 19:27
@amacneil amacneil changed the title Use ROS docker images for CI Run CI on ROS docker images Sep 25, 2021
@amacneil amacneil changed the title Run CI on ROS docker images Run CI on official ROS docker images Sep 25, 2021
@amacneil amacneil marked this pull request as ready for review September 25, 2021 19:46
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.

None yet

1 participant