Skip to content

Add ROS2 testing image#534

Merged
ruffsl merged 4 commits intomasterfrom
testing
Jun 7, 2021
Merged

Add ROS2 testing image#534
ruffsl merged 4 commits intomasterfrom
testing

Conversation

@ruffsl
Copy link
Member

@ruffsl ruffsl commented May 27, 2021

Fixes: #533

Useful for CI, where not all of osrf/ros2:nightly is needed, but ros:rolling is too behind upstream.

CC @SteveMacenski

Copy link
Contributor

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

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

could we generate that from template instead of "hard-coding" all this in the Dockerfile. It looks like most lines are equivalent to the expansion of our already existing templates.

For supporting the testing apt repo we could just add an argument to this template: https://github.com/osrf/docker_templates/blob/8dcaa2592d539a3d715a3886274404eec1bccd66/docker_templates/templates/snippet/setup_ros_sources.Dockerfile.em#L21

@ruffsl
Copy link
Member Author

ruffsl commented May 28, 2021

could we generate that from template instead of "hard-coding" all this in the Dockerfile. It looks like most lines are equivalent to the expansion of our already existing templates.

I think this Dockerfile cut acrosses two templates, so we'll have to duplicate the template then.

@mikaelarguedas
Copy link
Contributor

I think this Dockerfile cut acrosses two templates, so we'll have to duplicate the template then.

IMO it is ok to haqve different template as long as they all use the same common snippets. The GPG key incident proved that it was valuable to have a single snippet for setting up the ROS keys rather than having to go modify N Dockerfiles by hand.

A template based-approach available on #542 and osrf/docker_templates#97

If we go that route we'd need to update the CI script accordingly (to expand the template on top of looking for upgrades)

@ruffsl ruffsl merged commit 2e15d8f into master Jun 7, 2021
@ruffsl ruffsl deleted the testing branch June 7, 2021 17:09
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.

Adding ROS2 testing image tags

2 participants