Skip to content

Commit

Permalink
Combine CI configs for galactic + rolling
Browse files Browse the repository at this point in the history
- Use minimal moveit2.repos and additional version-specific *.repos
- Simplify naming of jobs
  • Loading branch information
rhaschke committed Aug 19, 2021
1 parent 399f218 commit 02e20ea
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 114 deletions.
76 changes: 0 additions & 76 deletions .github/workflows/build_and_test_galactic.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This config uses industrial_ci (/~https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (/~https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)

name: Build and Test (rolling)
name: CI

on:
workflow_dispatch:
Expand All @@ -22,8 +22,12 @@ jobs:
ROS_REPO: testing
IKFAST_TEST: true
CLANG_TIDY: true
- ROS_DISTRO: galactic
ROS_REPO: main
- ROS_DISTRO: galactic
ROS_REPO: testing
env:
UPSTREAM_WORKSPACE: moveit2_rolling.repos
UPSTREAM_WORKSPACE: moveit2.repos moveit2_${{ matrix.env.ROS_DISTRO }}.repos
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
BEFORE_TARGET_TEST_EMBED: ${{ matrix.env.IKFAST_TEST && 'set +u && source moveit_kinematics/test/test_ikfast_plugins.sh && set -u' || '' }}
AFTER_RUN_TARGET_TEST: ${{ matrix.env.CCOV && './.ci.prepare_codecov' || '' }}
Expand Down Expand Up @@ -57,9 +61,9 @@ jobs:
uses: pat-s/always-upload-cache@v2.1.5
with:
path: ${{ env.BASEDIR }}/upstream_ws
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_rolling.repos') }}-${{ github.run_id }}
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles(env.UPSTREAM_WORKSPACE) }}-${{ github.run_id }}
restore-keys: |
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_rolling.repos') }}
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles(env.UPSTREAM_WORKSPACE) }}
# The target directory cache doesn't include the source directory because
# that comes from the checkout. See "prepare target_ws for cache" task below
- name: cache target_ws
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: docker

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
Expand Down
20 changes: 0 additions & 20 deletions moveit2.repos
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
repositories:
moveit_msgs:
type: git
url: /~https://github.com/ros-planning/moveit_msgs
version: ros2
moveit_resources:
type: git
url: /~https://github.com/ros-planning/moveit_resources
version: ros2
geometric_shapes:
type: git
url: /~https://github.com/ros-planning/geometric_shapes
version: ros2
srdfdom:
type: git
url: /~https://github.com/ros-planning/srdfdom
version: ros2
ros2_control:
type: git
url: /~https://github.com/ros-controls/ros2_control
version: master
ros2_controllers:
type: git
url: /~https://github.com/ros-controls/ros2_controllers
version: master
warehouse_ros:
type: git
url: /~https://github.com/ros-planning/warehouse_ros
Expand Down
13 changes: 0 additions & 13 deletions moveit2_rolling.repos

This file was deleted.

0 comments on commit 02e20ea

Please sign in to comment.