Skip to content

Fix workspace removal bug - #217

Merged
rhaschke merged 1 commit into
moveit:kinetic-develfrom
davetcoleman:kinetic-speedup-docker
Sep 13, 2016
Merged

rhaschke merged 1 commit into
moveit:kinetic-develfrom
davetcoleman:kinetic-speedup-docker

Conversation

@davetcoleman

Copy link
Copy Markdown
Member

@davetcoleman

Copy link
Copy Markdown
Member Author

note the travis test will not tell us anything about the validity of this PR

@rhaschke
rhaschke merged commit b38bfd2 into moveit:kinetic-devel Sep 13, 2016
@rhaschke

Copy link
Copy Markdown
Contributor

@davetcoleman: As I understand it, you initialize the docker image with the packages required by the packages in moveit.install of current branch HEAD. Doesn't that require to rebuild the docker image all the time? If not, who triggers the rebuild, if some changes to the dependencies happened?

The ci script again tries to install required dependencies with rosdep, doesn't it? But now it uses moveit.rosinstall of the current PR, correct? Isn't that somewhat redundant? Or is it this fact, which actually saves time?

@davetcoleman

Copy link
Copy Markdown
Member Author

Doesn't that require to rebuild the docker image all the time?

Yes, we have 13 containers that are being rebuilt for every commit to the corresponding branch - when a change occurs to indigo-devel, 3 containers are rebuilt, same for jade, and for kinetic 4 because we have an experimental container now. However the containers all build on top each other (as of this PR) so they are more efficient

The ci script again tries to install required dependencies with rosdep, doesn't it?

Yes

But now it uses moveit.rosinstall of the current PR, correct?

Yes

Isn't that somewhat redundant?

Yes, unless a code change or PR introduces a new dependency that wasn't previously there in the Docker CI build. If no new dependencies exist, no new deps should be installed in the travis script.

Or is it this fact, which actually saves time?

This is what saves us the time, both in image size and download deps time.

I tried to capture your questions in some new documentation on our CI/Docker setup. I'm sure it can be improved in the future: https://github.com/ros-planning/moveit.ros.org/pull/69

@davetcoleman
davetcoleman deleted the kinetic-speedup-docker branch September 13, 2016 22:36
@davetcoleman
davetcoleman restored the kinetic-speedup-docker branch September 14, 2016 02:56
JafarAbdi pushed a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
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