Skip to content

Commit

Permalink
Fix jazzy tests and other minor workflow changes (#83)
Browse files Browse the repository at this point in the history
* Format README

* Run tests on PRs if yaml has changed

* Also test if repos files have changed

* Add path filters also for other stack builds

* Add filters for reusable ICI file as well

Co-authored-by: Sai Kishor Kothakota <[email protected]>
  • Loading branch information
christophfroehlich and saikishor authored May 18, 2024
1 parent ad678d8 commit c950826
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 7 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
9 changes: 7 additions & 2 deletions .github/workflows/jazzy-binary-build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: Rolling Stack Build
# author: Denis Štogl <[email protected]>
name: Jazzy Stack Build
# author: Christoph Froehlich <[email protected]>
# description: 'Build & test all dependencies from released (binary) packages.'

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
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
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)
4 changes: 0 additions & 4 deletions ros_controls.rolling-on-jazzy.repos
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ repositories:
type: git
url: https://github.com/ros-controls/control_toolbox.git
version: ros2-master
ros-controls/gazebo_ros2_control:
type: git
url: https://github.com/ros-controls/gazebo_ros2_control.git
version: master
ros-controls/gz_ros2_control:
type: git
url: https://github.com/ros-controls/gz_ros2_control.git
Expand Down

0 comments on commit c950826

Please sign in to comment.