Skip to content

Commit

Permalink
Merge branch 'master' into report_issue_sourcebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich authored Jul 18, 2024
2 parents d8fd813 + 257c8e5 commit cddbec7
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 21 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/humble-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Humble Stack Build

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/humble-binary-build.yml'
- '.github/workflows/reusable-industrial-ci-with-cache.yml'
- 'ros_controls.humble.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/iron-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Iron Stack Build

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/iron-binary-build.yml'
- '.github/workflows/reusable-industrial-ci-with-cache.yml'
- 'ros_controls.iron.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/jazzy-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Jazzy Stack Build

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/jazzy-binary-build.yml'
- '.github/workflows/reusable-industrial-ci-with-cache.yml'
- 'ros_controls.jazzy.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-build-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo ~/.local/opt/node/bin >> $GITHUB_PATH
# needed only if a non-ros image is used
- uses: ros-tooling/setup-ros@0.7.4
- uses: ros-tooling/setup-ros@0.7.7
if: ${{ steps.prereq.outputs.need_ros2 == '1' }}
with:
use-ros2-testing: true
Expand All @@ -55,7 +55,7 @@ jobs:
echo "No local repos file found"
echo "repo_file=" >> $GITHUB_OUTPUT
fi
- uses: ros-tooling/action-ros-ci@0.3.11
- uses: ros-tooling/action-ros-ci@0.3.14
with:
target-ros2-distro: ${{ inputs.ros_distro }}
import-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -76,7 +76,7 @@ jobs:
flags: unittests
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v4.3.3
- uses: actions/upload-artifact@v4.3.4
with:
name: colcon-logs-coverage-${{ inputs.ros_distro }}
path: ros_ws/log
2 changes: 1 addition & 1 deletion .github/workflows/reusable-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo ~/.local/opt/node/bin >> $GITHUB_PATH
# needed only if a non-ros image is used
- uses: ros-tooling/setup-ros@0.7.4
- uses: ros-tooling/setup-ros@0.7.7
if: ${{ steps.prereq.outputs.need_ros2 == '1' }}
with:
use-ros2-testing: true
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/reusable-ros-tooling-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo ~/.local/opt/node/bin >> $GITHUB_PATH
# needed only if a non-ros image is used
- uses: ros-tooling/setup-ros@0.7.4
- uses: ros-tooling/setup-ros@0.7.7
with:
use-ros2-testing: true
- uses: actions/checkout@v4
Expand All @@ -69,14 +69,24 @@ jobs:
uses: ros-controls/ros2_control_ci/.github/actions/set-package-list@master
with:
path: ${{ env.path }}
- uses: ros-tooling/action-ros-ci@0.3.11
- name: Check for local repos file
id: check_local_repos
run: |
if [ -f ${{ env.path }}/${{ steps.package_list_action.outputs.repo_name }}.${{ inputs.ros_distro }}.repos ]; then
echo "Local repos file found"
echo "repo_file=${{ env.path }}/${{ steps.package_list_action.outputs.repo_name }}.${{ inputs.ros_distro }}.repos" >> $GITHUB_OUTPUT
else
echo "No local repos file found"
echo "repo_file=" >> $GITHUB_OUTPUT
fi
- uses: ros-tooling/action-ros-ci@0.3.14
with:
target-ros2-distro: ${{ inputs.ros_distro }}
ref: ${{ inputs.ref }}
package-name: ${{ steps.package_list_action.outputs.package_list }}
vcs-repo-file-url: |
https://raw.githubusercontent.com/ros2/ros2/${{ inputs.ros2_repo_branch }}/ros2.repos
${{ env.path }}/${{ steps.package_list_action.outputs.repo_name }}.${{ inputs.ros_distro }}.repos
${{ 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: Download issue template for target failure # Has to be a local file
Expand All @@ -94,7 +104,7 @@ jobs:
with:
update_existing: true
filename: .github/issue_template_failed_ci.md
- uses: actions/upload-artifact@v4.3.3
- uses: actions/upload-artifact@v4.3.4
with:
name: colcon-logs-${{ inputs.os_name }}-${{ inputs.ros_distro }}
path: ros_ws/log
5 changes: 2 additions & 3 deletions .github/workflows/reusable-rosdoc2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ jobs:
# this will be src/{repo-owner}/{repo-name}
path: src/${{ github.repository }}
steps:
- uses: ros-tooling/setup-ros@0.7.4
- uses: ros-tooling/setup-ros@0.7.7
- name: Install rosdoc2 and deps
run: |
sudo apt-get update
sudo apt install -y python3-pip git doxygen graphviz
python3 -m venv .venv
source .venv/bin/activate
# TODO(anyone) remove if https://github.com/sphinx-doc/sphinx/pull/12298/files is merged
pip install Sphinx==7.2.6
pip install Sphinx
git clone https://github.com/ros-infrastructure/rosdoc2.git
pip install --upgrade rosdoc2/
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/rolling-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Rolling Stack Build

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/rolling-binary-build.yml'
- './.github/workflows/reusable-industrial-ci-with-cache.yml'
- 'ros_controls.rolling.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Check Rolling Compatibility on Humble

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/rolling-compatibility-humble-binary-build.yml'
- '.github/workflows/reusable-industrial-ci-with-cache.yml'
- 'ros_controls.rolling-on-humble.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/rolling-compatibility-iron-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Check Rolling Compatibility on Iron

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/rolling-compatibility-iron-binary-build.yml'
- '.github/workflows/reusable-industrial-ci-with-cache.yml'
- 'ros_controls.rolling-on-iron.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Check Rolling Compatibility on Jazzy

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/rolling-compatibility-jazzy-binary-build.yml'
- '.github/workflows/reusable-industrial-ci-with-cache.yml'
- 'ros_controls.rolling-on-jazzy.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:

# Python hooks
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand All @@ -55,14 +55,14 @@ repos:
args: ["--line-length=99"]

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8
args: ["--extend-ignore=E501"]

# CPP hooks
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.4
rev: v18.1.8
hooks:
- id: clang-format
args: ['-fallback-style=none', '-i']
Expand Down Expand Up @@ -124,14 +124,14 @@ repos:
# Spellcheck in comments and docs
# skipping of *.svg files is not working...
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
args: ['--write-changes']
exclude: CHANGELOG\.rst|\.(svg|pyc)$

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.2
rev: 0.28.6
hooks:
- id: check-github-workflows
args: ["--verbose"]
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ It also builds the full ros2_control stack once per day.
## Released versions

[![Rolling Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-binary-build.yml)

[![Jazzy Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/jazzy-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/jazzy-binary-build.yml)

[![Iron Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/iron-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/iron-binary-build.yml)

[![Humble Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/humble-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/humble-binary-build.yml)

## Compatibility versions
We thrive to make the rolling development version of the ros2_control stack compatible with earlier releases of ROS2. This is done by building the rolling version of the stack from source with the earlier releases of ROS2.

[![Check Rolling Compatibility on Iron with Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-iron-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-iron-binary-build.yml)
[![Check Rolling Compatibility on Jazzy with Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-jazzy-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-jazzy-binary-build.yml)

[![Check Rolling Compatibility on Iron with Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-iron-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-iron-binary-build.yml)

[![Check Rolling Compatibility on Humble with Stack Build](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-humble-binary-build.yml/badge.svg)](https://github.com/ros-controls/ros2_control_ci/actions/workflows/rolling-compatibility-humble-binary-build.yml)
8 changes: 4 additions & 4 deletions ros_controls.rolling-on-jazzy.repos
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ repositories:
type: git
url: https://github.com/ros-controls/control_toolbox.git
version: ros2-master
# ros-controls/gz_ros2_control:
# type: git
# url: https://github.com/ros-controls/gz_ros2_control.git
# version: master
ros-controls/gz_ros2_control:
type: git
url: https://github.com/ros-controls/gz_ros2_control.git
version: master
ros-controls/kinematics_interface:
type: git
url: https://github.com/ros-controls/kinematics_interface.git
Expand Down

0 comments on commit cddbec7

Please sign in to comment.