Build ci-base for any branch that includes "docker" in the name.
This commit is contained in:
parent
491c943e53
commit
ef54f08c63
1 changed files with 17 additions and 8 deletions
|
@ -4,14 +4,6 @@ variables:
|
|||
DOCKER_DRIVER: overlay2
|
||||
PACKAGES_LIST: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace
|
||||
|
||||
before_script:
|
||||
- vcs import < instrumentation.repos
|
||||
- vcs import < ci_source_deps.repos
|
||||
- apt-get update
|
||||
- rosdep update
|
||||
- rosdep install --from-paths . --ignore-src --rosdistro dashing -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
|
||||
- lttng-sessiond --daemonize
|
||||
|
||||
# build:
|
||||
# script:
|
||||
# - colcon build --symlink-install --packages-up-to $PACKAGES_LIST
|
||||
|
@ -28,6 +20,12 @@ before_script:
|
|||
|
||||
build_enabled:
|
||||
script:
|
||||
- vcs import < instrumentation.repos
|
||||
- vcs import < ci_source_deps.repos
|
||||
- apt-get update
|
||||
- rosdep update
|
||||
- rosdep install --from-paths . --ignore-src --rosdistro dashing -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
|
||||
- lttng-sessiond --daemonize
|
||||
- colcon build --symlink-install --cmake-args " -DWITH_LTTNG=ON" --packages-up-to $PACKAGES_LIST
|
||||
- colcon test --packages-select $PACKAGES_LIST
|
||||
artifacts:
|
||||
|
@ -39,3 +37,14 @@ build_enabled:
|
|||
junit:
|
||||
- build/*/test_results/*/*.xunit.xml
|
||||
- build/*/pytest.xml
|
||||
except:
|
||||
- /.*docker.*/
|
||||
|
||||
ci_base_image:
|
||||
image: alpine:docker
|
||||
script:
|
||||
- cd docker-ci-base && docker build --tag ci-base .
|
||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
|
||||
- docker push ci-base
|
||||
only:
|
||||
- /.*docker.*/
|
Loading…
Add table
Add a link
Reference in a new issue