Skip to content
Snippets Groups Projects

Deploy image build

Merged Prada Sarasola, Miguel requested to merge deploy-image-build into master
All threads resolved!

Resolves #7 (closed)

Add steps to generate a docker image for deployment when tags are pushed to the repositories.

Edited by Prada Sarasola, Miguel

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jon Azpiazu resolved all discussions

    resolved all discussions

  • I believe you should currently run https://git.code.tecnalia.com/tecnalia_robotics/versatile/versatile_test_application/blob/kinetic-devel/versatile_robots_lwr/versatile_robots_lwr_launch/launch/versatile_robots_lwr.launch first, to start the robot in simulation, and then the flexbotics_framework.launch you point to.

    However, I also believe from some previous tests, that it will not work because some package has missing install rules. I will soon start to test this as well and try to fix the issues in the related packages.

  • Alternatively, you can try the tecnalia-robotics-docker.artifact.tecnalia.com/sherlock_robot:test-0.0.0 image.

    You can run that with:

    xhost +local:root
    docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
               --env=DISPLAY \
               --network=host \
               tecnalia-robotics-docker.artifact.tecnalia.com/sherlock_robot:test-0.0.0 \
               roslaunch sherlock_robot_sim sherlock_robot_sim.launch

    If you know your way around the ManipulatorCommander, you can also launch in separate containers (using exec as an exercise to the reader :wink:):

    docker run --network=host \
               tecnalia-robotics-docker.artifact.tecnalia.com/sherlock_robot:test-0.0.0 \
               roslaunch sherlock_robot_manipulator_interface manipulator_controller.launch

    and then:

    docker run --network=host -it \
               tecnalia-robotics-docker.artifact.tecnalia.com/sherlock_robot:test-0.0.0 \
               python

    and inside the Python interpreter, for instance:

    from manipulator_commander import ManipulatorCommander
    mc=ManipulatorCommander()
    # ...
    mc.move_joint('left_arm',[1,1,1,1,1,1,1])
  • Oops, the last test job I launched wasn't right. It should've pointed to the template in a different branch.

    See https://git.code.tecnalia.com/tecnalia_robotics/versatile/versatile_test_application/-/jobs/27098

    Edited by Prada Sarasola, Miguel
  • I am happy to merge as it is. Just an additional suggestion: define a roslaunch entry point so that when docker run is used, the relevant entry point launchfile is launched. That way a deploy docker image is completely autocontained.

    I think we already discussed this and you did not like the idea, but I cannot remember why.

  • I'm not against that.

    What I may have pointed out is that some applications may require (or benefit from) launching multiple commands (e.g. first launch the robot drivers and separately launch the application, so that restarting the latter doesn't involve restarting the former). I even started to detail the text in the design doc related to the required structure for an application package (not yet pushed).

    My proposal is to merge this like it is right now, since we currently don't have any firm specification and each application may use different entry points. Then we can later modify to make use of a standard entry point naming/structure.

  • merged

  • Jon Azpiazu mentioned in commit 61c8b9b9

    mentioned in commit 61c8b9b9

  • mentioned in commit d2abcf80

  • Please register or sign in to reply
    Loading