-
Notifications
You must be signed in to change notification settings - Fork 447
ROS2 CI
elBoberido edited this page Jul 20, 2022
·
3 revisions
A small how-to for triggering the ROS2 CI with a custom iceoryx branch.
The steps from this article should be performed every time the ros2.repos file is changed in order to detect breakages early in the update cycle.
- go to ci.ros2.org and log in
- only a few maintainer have the access rights
- to get access open an issue in ros2-gbp/iceoryx-release similar to this
- the Jenkins dashboard shows all the available jobs
-
ci_launcherwill be used to trigger all the jobs related to iceoryx - when logged in, the sidebar on the left should show a
Build with parameterlink when theci_launcherpage is loaded
-
- before the job can be started, a
ros2.reposfile with the custom iceoryx branch must be created- create a github gist (via the
+button top right) and copy the content of ros2/master/ros2.repos to the gist - change the url and version to the repo and branch which shall be run in the CI
- set the file name of the gist to
ros2.repos - switch from
Create secret gisttoCreate public gistand save the gist by clicking on the button - click on the
Rawbutton on the new gist to get to the url of the raw file - copy the url for later use
- create a github gist (via the
- to start the job, navigate to the
ci_launcherpage which is linked from the dashboard - use
Build with parameterthe configure the build- set
CI_ROS2_REPOS_URLto the url of the raw gist file - append
--packages-up-to rmw_cyclonedds_cpptoCI_BUILD_ARGSandCI_TEST_ARGSto reduce the build and test time- this should be sufficient for a quick check
- for a thorough check, e.g. before a ROS2 release a full run of the CI should be performed although it make take a few hours
- set
- when the build is started, the console output of the
ci_launcherbuild will show links to the all the started jobs, e.g.Linux-aarch64- the lines containing
![Build Status]can be copied to a comment in an iceoryx PR to have a convenient access to the build
- the lines containing