Use lowercase CI variables

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2020-02-29 19:59:59 -05:00
parent 6f8792e922
commit 92ce0dd51a

View file

@ -1,8 +1,8 @@
variables: 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 DISTRO: foxy
.global_artifacts: &global_artifacts .global_artifacts: &global_artifacts
artifacts: artifacts:
@ -20,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:$distro 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
@ -31,7 +31,7 @@ tracing_enabled:
<<: *global_artifacts <<: *global_artifacts
tracing_disabled: tracing_disabled:
image: $base_image_id:$distro 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
@ -41,7 +41,7 @@ tracing_disabled:
<<: *global_artifacts <<: *global_artifacts
no_lttng: no_lttng:
image: $base_image_id:$distro-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