Merge branch 'switch-to-foxy-ci' into 'master'

Switch to foxy CI images

See merge request micro-ROS/ros_tracing/ros2_tracing!142
This commit is contained in:
Christophe Bedard 2020-02-29 19:24:41 +00:00
commit 31dad55d54

View file

@ -2,6 +2,7 @@ variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
PACKAGES_LIST: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace PACKAGES_LIST: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace
base_image_id: registry.gitlab.com/micro-ros/ros_tracing/ci_base base_image_id: registry.gitlab.com/micro-ros/ros_tracing/ci_base
distro: foxy
.global_artifacts: &global_artifacts .global_artifacts: &global_artifacts
artifacts: artifacts:
@ -19,7 +20,7 @@ before_script:
- . /root/ws/install/local_setup.sh - . /root/ws/install/local_setup.sh
tracing_enabled: tracing_enabled:
image: $base_image_id image: $base_image_id:$distro
script: script:
- lttng-sessiond --daemonize - lttng-sessiond --daemonize
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST - colcon build --symlink-install --packages-up-to $PACKAGES_LIST
@ -30,7 +31,7 @@ tracing_enabled:
<<: *global_artifacts <<: *global_artifacts
tracing_disabled: tracing_disabled:
image: $base_image_id image: $base_image_id:$distro
script: script:
- colcon build --symlink-install --cmake-args " -DTRACETOOLS_DISABLED=ON" --packages-up-to $PACKAGES_LIST - colcon build --symlink-install --cmake-args " -DTRACETOOLS_DISABLED=ON" --packages-up-to $PACKAGES_LIST
- . install/local_setup.sh - . install/local_setup.sh
@ -40,7 +41,7 @@ tracing_disabled:
<<: *global_artifacts <<: *global_artifacts
no_lttng: no_lttng:
image: $base_image_id:base image: $base_image_id:$distro-base
script: script:
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST - colcon build --symlink-install --packages-up-to $PACKAGES_LIST
- . install/local_setup.sh - . install/local_setup.sh