From 01163813b1bbc8204cfb508cec6e9ce3f649eb34 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Wed, 4 Mar 2020 10:37:13 -0800 Subject: [PATCH] Create CI config variable for setting ros2_tracing repo branch Signed-off-by: Christophe Bedard --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7fdc7fc..0055f19 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ variables: PACKAGES_LIST: tracetools_analysis ros2trace_analysis BASE_IMAGE_ID: registry.gitlab.com/micro-ros/ros_tracing/ci_base DISTRO: foxy + ROS2TRACING_BRANCH: master .global_artifacts: &global_artifacts artifacts: @@ -18,7 +19,7 @@ variables: build: image: $BASE_IMAGE_ID:$DISTRO before_script: - - git clone https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git + - git clone https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git --branch $ROS2TRACING_BRANCH - . /root/ws/install/local_setup.sh script: - colcon build --symlink-install --packages-up-to $PACKAGES_LIST