Skip to content

Commit

Permalink
[CI] Reusable workflows from ros2_control_ci (#1383)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3a21841)

# Conflicts:
#	.github/workflows/humble-debian-build.yml
#	.github/workflows/humble-rhel-binary-build.yml
#	.github/workflows/iron-binary-build.yml
#	.github/workflows/iron-debian-build.yml
#	.github/workflows/iron-rhel-binary-build.yml
#	.github/workflows/iron-semi-binary-build.yml
#	.github/workflows/reusable-ros-tooling-source-build.yml
#	.github/workflows/rolling-debian-build.yml
#	.github/workflows/rolling-rhel-binary-build.yml
  • Loading branch information
christophfroehlich authored and mergify[bot] committed Feb 14, 2024
1 parent 55610db commit b77ca41
Show file tree
Hide file tree
Showing 20 changed files with 181 additions and 221 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Humble Binary Build - testing
name: Humble Binary Build
# author: Denis Štogl <denis@stoglrobotics.de>
# description: 'Build & test all dependencies from released (binary) packages.'

Expand All @@ -16,9 +16,13 @@ on:

jobs:
binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
strategy:
matrix:
ROS_DISTRO: [humble]
ROS_REPO: [main, testing]
with:
ros_distro: humble
ros_repo: testing
upstream_workspace: ros2_control-not-released.humble.repos
ros_distro: ${{ matrix.ROS_DISTRO }}
ros_repo: ${{ matrix.ROS_REPO }}
upstream_workspace: ros2_control-not-released.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: humble
16 changes: 15 additions & 1 deletion .github/workflows/humble-debian-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Debian Humble Build
name: Debian Humble Source Build
on:
workflow_dispatch:
pull_request:
Expand All @@ -10,6 +10,7 @@ on:


jobs:
<<<<<<< HEAD
humble_debian:
name: Humble debian build
runs-on: ubuntu-latest
Expand All @@ -28,3 +29,16 @@ jobs:
colcon build --packages-skip rqt_controller_manager
colcon test --packages-skip rqt_controller_manager control_msgs controller_manager_msgs
colcon test-result --verbose
=======
debian_source_build:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-debian-build.yml@master
strategy:
matrix:
ROS_DISTRO: [humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: master
skip_packages: rqt_controller_manager
skip_packages_test: controller_manager_msgs
>>>>>>> 3a21841 ([CI] Reusable workflows from `ros2_control_ci` (#1383))
15 changes: 14 additions & 1 deletion .github/workflows/humble-rhel-binary-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: RHEL Humble Binary Build
name: RHEL Humble Semi-Binary Build
on:
workflow_dispatch:
pull_request:
Expand All @@ -9,6 +9,7 @@ on:
- cron: '03 1 * * *'

jobs:
<<<<<<< HEAD
humble_rhel_binary:
name: Humble RHEL binary build
runs-on: ubuntu-latest
Expand All @@ -29,3 +30,15 @@ jobs:
colcon build --packages-skip rqt_controller_manager
colcon test --packages-skip rqt_controller_manager ros2controlcli
colcon test-result --verbose
=======
rhel_semi_binary_build:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-rhel-binary-build.yml@master
strategy:
matrix:
ROS_DISTRO: [humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: humble
skip_packages: rqt_controller_manager
>>>>>>> 3a21841 ([CI] Reusable workflows from `ros2_control_ci` (#1383))
23 changes: 0 additions & 23 deletions .github/workflows/humble-semi-binary-build-main.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/humble-semi-binary-build-testing.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Humble Binary Build - main
name: Humble Semi-Binary Build
# author: Denis Štogl <denis@stoglrobotics.de>
# description: 'Build & test all dependencies from released (binary) packages.'

Expand All @@ -16,9 +16,13 @@ on:

jobs:
binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
strategy:
matrix:
ROS_DISTRO: [humble]
ROS_REPO: [main, testing]
with:
ros_distro: humble
ros_repo: main
upstream_workspace: ros2_control-not-released.humble.repos
ros_distro: ${{ matrix.ROS_DISTRO }}
ros_repo: ${{ matrix.ROS_REPO }}
upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: humble
2 changes: 1 addition & 1 deletion .github/workflows/humble-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
source:
uses: ./.github/workflows/reusable-ros-tooling-source-build.yml
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-ros-tooling-source-build.yml@master
with:
ros_distro: humble
ref: humble
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/iron-binary-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Iron Binary Build
# author: Denis Štogl <denis@stoglrobotics.de>
# description: 'Build & test all dependencies from released (binary) packages.'

on:
workflow_dispatch:
pull_request:
branches:
- iron
push:
branches:
- iron
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'

jobs:
binary:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
strategy:
matrix:
ROS_DISTRO: [iron]
ROS_REPO: [main, testing]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
ros_repo: ${{ matrix.ROS_REPO }}
upstream_workspace: ros2_control-not-released.iron.repos
ref_for_scheduled_build: iron
16 changes: 15 additions & 1 deletion .github/workflows/iron-debian-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Debian Iron Build
name: Debian Iron Source Build
on:
workflow_dispatch:
pull_request:
Expand All @@ -10,6 +10,7 @@ on:


jobs:
<<<<<<< HEAD
iron_debian:
name: Iron debian build
runs-on: ubuntu-latest
Expand All @@ -28,3 +29,16 @@ jobs:
colcon build --packages-skip rqt_controller_manager
colcon test --packages-skip rqt_controller_manager control_msgs controller_manager_msgs
colcon test-result --verbose
=======
debian_source_build:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-debian-build.yml@master
strategy:
matrix:
ROS_DISTRO: [iron]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: master
skip_packages: rqt_controller_manager
skip_packages_test: controller_manager_msgs
>>>>>>> 3a21841 ([CI] Reusable workflows from `ros2_control_ci` (#1383))
15 changes: 14 additions & 1 deletion .github/workflows/iron-rhel-binary-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: RHEL Iron Binary Build
name: RHEL Iron Semi-Binary Build
on:
workflow_dispatch:
pull_request:
Expand All @@ -10,6 +10,7 @@ on:


jobs:
<<<<<<< HEAD
iron_rhel_binary:
name: Iron RHEL binary build
runs-on: ubuntu-latest
Expand All @@ -30,3 +31,15 @@ jobs:
colcon build --packages-skip rqt_controller_manager
colcon test --packages-skip rqt_controller_manager ros2controlcli
colcon test-result --verbose
=======
rhel_semi_binary_build:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-rhel-binary-build.yml@master
strategy:
matrix:
ROS_DISTRO: [iron]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos
ref_for_scheduled_build: iron
skip_packages: rqt_controller_manager
>>>>>>> 3a21841 ([CI] Reusable workflows from `ros2_control_ci` (#1383))
28 changes: 28 additions & 0 deletions .github/workflows/iron-semi-binary-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Iron Semi-Binary Build
# author: Denis Štogl <denis@stoglrobotics.de>
# description: 'Build & test all dependencies from released (binary) packages.'

on:
workflow_dispatch:
pull_request:
branches:
- iron
push:
branches:
- iron
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'

jobs:
binary:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
strategy:
matrix:
ROS_DISTRO: [iron]
ROS_REPO: [main, testing]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
ros_repo: ${{ matrix.ROS_REPO }}
upstream_workspace: ros2_control.iron.repos
ref_for_scheduled_build: iron
2 changes: 1 addition & 1 deletion .github/workflows/iron-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
source:
uses: ./.github/workflows/reusable-ros-tooling-source-build.yml
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-ros-tooling-source-build.yml@master
with:
ros_distro: iron
ref: iron
Expand Down
96 changes: 0 additions & 96 deletions .github/workflows/reusable-industrial-ci-with-cache.yml

This file was deleted.

Loading

0 comments on commit b77ca41

Please sign in to comment.