tracetools_analysis/.gitlab-ci.yml
Christophe Bedard bd35c56932 Set distro name explicitly for base CI image
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-04 10:35:15 -08:00

28 lines
836 B
YAML

variables:
DOCKER_DRIVER: overlay2
PACKAGES_LIST: tracetools_analysis ros2trace_analysis
BASE_IMAGE_ID: registry.gitlab.com/micro-ros/ros_tracing/ci_base
DISTRO: foxy
.global_artifacts: &global_artifacts
artifacts:
paths:
- install
- build/*/test_results/*/*.xunit.xml
- build/*/pytest.xml
reports:
junit:
- build/*/test_results/*/*.xunit.xml
- build/*/pytest.xml
build:
image: $BASE_IMAGE_ID:$DISTRO
before_script:
- git clone https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git
- . /root/ws/install/local_setup.sh
script:
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST
- . install/local_setup.sh
- colcon test --packages-select $PACKAGES_LIST --pytest-args -o addopts=
- colcon test-result --all
<<: *global_artifacts