From 127760f3f47deac79e71bfcb9ed7a21c971f8b9c Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 24 Aug 2024 11:39:40 +0000 Subject: [PATCH 1/3] Fix the description of the reusable source build --- .../workflows/reusable-ros-tooling-source-build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/reusable-ros-tooling-source-build.yml b/.github/workflows/reusable-ros-tooling-source-build.yml index 3bdb04a6..8ff95d25 100644 --- a/.github/workflows/reusable-ros-tooling-source-build.yml +++ b/.github/workflows/reusable-ros-tooling-source-build.yml @@ -1,12 +1,13 @@ -name: Reusable industrial_ci Workflow with Cache -# Reusable action to simplify dealing with ROS/ROS2 industrial_ci builds with cache -# author: Denis Štogl +name: Reusable workflow for building a repo with all dependencies from source +# author: +# Denis Štogl +# Christoph Froehlich on: workflow_call: inputs: ros_distro: - description: 'ROS2 distribution name' + description: 'ROS 2 distribution name' required: true type: string ref: @@ -14,7 +15,7 @@ on: required: true type: string ros2_repo_branch: - description: 'Branch in the ros2/ros2 repository from which ".repos" should be used.' + description: 'Branch in the ROS 2 repository from which ".repos" should be used.' default: 'master' required: false type: string From c2ce362c4457f7ef1b85cc4a55d8d1dfef018de2 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 24 Aug 2024 12:26:36 +0000 Subject: [PATCH 2/3] Add debug output --- .github/workflows/reusable-ros-tooling-source-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/reusable-ros-tooling-source-build.yml b/.github/workflows/reusable-ros-tooling-source-build.yml index 8ff95d25..d33f0f77 100644 --- a/.github/workflows/reusable-ros-tooling-source-build.yml +++ b/.github/workflows/reusable-ros-tooling-source-build.yml @@ -90,6 +90,10 @@ jobs: ${{ steps.check_local_repos.outputs.repo_file }} colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml id: action-ros + - name: Debug rosdep + run: | + rosdep keys -r --from-paths src --ignore-src + if : ${{ always() }} - name: Download issue template for target failure # Has to be a local file if: ${{ always() && steps.action-ros.outcome == 'failure' && github.event_name == 'schedule' }} run: From 8821c1ad528dee6502f52346f3ac7e09da47c395 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 24 Aug 2024 12:44:38 +0000 Subject: [PATCH 3/3] Different syntax --- .github/workflows/reusable-ros-tooling-source-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-ros-tooling-source-build.yml b/.github/workflows/reusable-ros-tooling-source-build.yml index d33f0f77..a124ae2e 100644 --- a/.github/workflows/reusable-ros-tooling-source-build.yml +++ b/.github/workflows/reusable-ros-tooling-source-build.yml @@ -92,7 +92,7 @@ jobs: id: action-ros - name: Debug rosdep run: | - rosdep keys -r --from-paths src --ignore-src + rosdep keys -ri --from-paths src if : ${{ always() }} - name: Download issue template for target failure # Has to be a local file if: ${{ always() && steps.action-ros.outcome == 'failure' && github.event_name == 'schedule' }}