Get optional ros2_tracing branch from git commit trailer for CI
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
parent
58e4ae270a
commit
5d95c4b5b2
2 changed files with 124 additions and 1 deletions
|
@ -19,9 +19,10 @@ variables:
|
|||
build:
|
||||
image: $BASE_IMAGE_ID:$DISTRO
|
||||
before_script:
|
||||
- git clone https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git --branch $ROS2TRACING_BRANCH
|
||||
- . /root/ws/install/local_setup.sh
|
||||
script:
|
||||
- python3 get_branch.py --check
|
||||
- git clone https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git --branch $(python3 get_branch.py)
|
||||
- colcon build --symlink-install --event-handlers console_cohesion+ --packages-up-to $PACKAGES_LIST
|
||||
- colcon test --event-handlers console_cohesion+ --packages-select $PACKAGES_LIST
|
||||
- colcon test-result --all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue