Skip to content

Commit d903614

Browse files
authored
Run CI with upstream debians by default (#565)
So long as the released versions of our upstream repos don't have a breaking change we just depend on the debains in our tests. As soon as someone makes a change where they need the repos file, they can comment them back out until upstream changes are synced into the buildfarm.
1 parent c4a4539 commit d903614

File tree

4 files changed

+38
-21
lines changed

4 files changed

+38
-21
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
CLANG_TIDY: true
2424
env:
2525
DOCKER_IMAGE: moveit/moveit2:${{ matrix.env.IMAGE }}
26-
UPSTREAM_WORKSPACE: moveit2.repos
27-
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
26+
# The released versions of all upstream repos are current
27+
# UPSTREAM_WORKSPACE: moveit2.repos
28+
# AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
2829
BEFORE_TARGET_TEST_EMBED: ${{ matrix.env.IKFAST_TEST && 'set +u && source moveit_kinematics/test/test_ikfast_plugins.sh && set -u' || '' }}
2930
AFTER_RUN_TARGET_TEST: ${{ matrix.env.CCOV && './.ci.prepare_codecov' || '' }}
3031
TARGET_CMAKE_ARGS: >
@@ -53,13 +54,14 @@ jobs:
5354
sudo rm -rf /usr/local/*
5455
df -h
5556
- uses: actions/checkout@v2
56-
- name: cache upstream_ws
57-
uses: pat-s/[email protected]
58-
with:
59-
path: ${{ env.BASEDIR }}/upstream_ws
60-
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}-${{ github.run_id }}
61-
restore-keys: |
62-
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}
57+
# The released versions of all upstream repos are current
58+
# - name: cache upstream_ws
59+
# uses: pat-s/[email protected]
60+
# with:
61+
# path: ${{ env.BASEDIR }}/upstream_ws
62+
# key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}-${{ github.run_id }}
63+
# restore-keys: |
64+
# upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}
6365
# The target directory cache doesn't include the source directory because
6466
# that comes from the checkout. See "prepare target_ws for cache" task below
6567
- name: cache target_ws

.github/workflows/build_and_test_galactic.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
- ROS_DISTRO: galactic
2121
ROS_REPO: testing
2222
env:
23-
UPSTREAM_WORKSPACE: moveit2.repos
24-
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
23+
# The released versions of all upstream repos are current
24+
# UPSTREAM_WORKSPACE: moveit2.repos
25+
# AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
2526
TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release
2627
CCACHE_DIR: ${{ github.workspace }}/.ccache
2728
BASEDIR: ${{ github.workspace }}/.work
@@ -32,13 +33,14 @@ jobs:
3233
runs-on: ubuntu-latest
3334
steps:
3435
- uses: actions/checkout@v2
35-
- name: cache upstream_ws
36-
uses: pat-s/[email protected]
37-
with:
38-
path: ${{ env.BASEDIR }}/upstream_ws
39-
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}-${{ github.run_id }}
40-
restore-keys: |
41-
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}
36+
# The released versions of all upstream repos are current
37+
# - name: cache upstream_ws
38+
# uses: pat-s/[email protected]
39+
# with:
40+
# path: ${{ env.BASEDIR }}/upstream_ws
41+
# key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}-${{ github.run_id }}
42+
# restore-keys: |
43+
# upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}
4244
# The target directory cache doesn't include the source directory because
4345
# that comes from the checkout. See "prepare target_ws for cache" task below
4446
- name: cache target_ws

.github/workflows/build_and_test_rolling.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- ROS_DISTRO: rolling
1919
ROS_REPO: main
2020
env:
21-
UPSTREAM_WORKSPACE: moveit2.repos
21+
UPSTREAM_WORKSPACE: moveit2_rolling.repos
2222
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
2323
TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release
2424
CCACHE_DIR: ${{ github.workspace }}/.ccache
@@ -34,9 +34,9 @@ jobs:
3434
uses: pat-s/[email protected]
3535
with:
3636
path: ${{ env.BASEDIR }}/upstream_ws
37-
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}-${{ github.run_id }}
37+
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_rolling.repos') }}-${{ github.run_id }}
3838
restore-keys: |
39-
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}
39+
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2_rolling.repos') }}
4040
# The target directory cache doesn't include the source directory because
4141
# that comes from the checkout. See "prepare target_ws for cache" task below
4242
- name: cache target_ws

moveit2_rolling.repos

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
repositories:
2+
geometric_shapes:
3+
type: git
4+
url: https://github.com/ros-planning/geometric_shapes
5+
version: ros2
6+
warehouse_ros:
7+
type: git
8+
url: https://github.com/ros-planning/warehouse_ros
9+
version: ros2
10+
warehouse_ros_mongo:
11+
type: git
12+
url: https://github.com/ros-planning/warehouse_ros_mongo
13+
version: ros2

0 commit comments

Comments
 (0)