Skip to content

Commit 4cae9b6

Browse files
christophfroehlichmergify[bot]
authored andcommitted
[CI] Renew workflows (#25)
* Use matrix strategy for main+testing and fix some issues * Add iron workflows * Fix newline at end of file * Compile ros2_control_test_assets in not-binary builds * Use correct version of ros2_control * Update README * Update lint job * Source underlay for RHEL builds * Fix default branch for scheduled workflows * Fix branch for humble workflows * Add reviewer lottery * Use reusable workflows from ros2_control_ci and cleanup * Update readme * Update readme (cherry picked from commit bed7a1b) # Conflicts: # .github/workflows/humble-rhel-binary-build.yml # .github/workflows/reusable-industrial-ci-with-cache.yml # .github/workflows/reusable-ros-tooling-source-build.yml # .github/workflows/rolling-rhel-binary-build.yml
1 parent 8d1c5cb commit 4cae9b6

29 files changed

+298
-239
lines changed

.github/reviewer-lottery.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
groups:
2+
# Default reviewers for all pull requests.
3+
# Usually, at least on of the maintainers should approve PR before merging.
4+
# The best is if two maintainers do that.
5+
- name: maintainers # name of the group
6+
reviewers: 2 # how many reviewers do you want to assign?
7+
internal_reviewers: 1 # how many reviewers do you want to assign when the PR author belongs to this group?
8+
usernames: # github usernames of the reviewers
9+
- bmagyar
10+
- destogl
11+
12+
# Reviewers group to get broader feedback.
13+
- name: reviewers
14+
reviewers: 5
15+
usernames:
16+
- aprotyas
17+
- arne48
18+
- bijoua29
19+
- christophfroehlich
20+
- DasRoteSkelett
21+
- duringhof
22+
- erickisos
23+
- fmauch
24+
- jaron-l
25+
- livanov93
26+
- mcbed
27+
- moriarty
28+
- olivier-stasse
29+
- peterdavidfagan
30+
- progtologist
31+
- saikishor
32+
- VanshGehlot
33+
- VX792

.github/workflows/ci-coverage-build.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Coverage Build
22
on:
33
workflow_dispatch:
4-
branches:
5-
- master
64
pull_request:
75
branches:
86
- master

.github/workflows/ci-ros-lint.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ on:
55
jobs:
66
ament_lint:
77
name: ament_${{ matrix.linter }}
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
strategy:
1010
fail-fast: false
1111
matrix:
1212
linter: [cppcheck, copyright, lint_cmake]
13+
env:
14+
AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS: true
1315
steps:
1416
- uses: actions/checkout@v3
1517
- uses: ros-tooling/[email protected]
@@ -19,11 +21,12 @@ jobs:
1921
linter: ${{ matrix.linter }}
2022
package-name:
2123
kinematics_interface_kdl
24+
kinematics_interface
2225

2326

2427
ament_lint_100:
2528
name: ament_${{ matrix.linter }}
26-
runs-on: ubuntu-20.04
29+
runs-on: ubuntu-22.04
2730
strategy:
2831
fail-fast: false
2932
matrix:

.github/workflows/humble-abi-compatibility.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: Humble - ABI Compatibility Check
22
on:
33
workflow_dispatch:
4-
branches:
5-
- master
64
pull_request:
75
branches:
8-
- master
6+
- humble
97

108
jobs:
119
abi_check:

.github/workflows/humble-binary-build-main.yml

-26
This file was deleted.

.github/workflows/humble-binary-build-testing.yml

-26
This file was deleted.
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Humble Binary Build
2+
# author: Denis Štogl <[email protected]>
3+
# description: 'Build & test all dependencies from released (binary) packages.'
4+
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
branches:
9+
- humble
10+
push:
11+
branches:
12+
- humble
13+
schedule:
14+
# Run every morning to detect flakiness and broken dependencies
15+
- cron: '03 1 * * *'
16+
17+
jobs:
18+
binary:
19+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
ROS_DISTRO: [humble]
24+
ROS_REPO: [main, testing]
25+
with:
26+
ros_distro: ${{ matrix.ROS_DISTRO }}
27+
ros_repo: ${{ matrix.ROS_REPO }}
28+
upstream_workspace: kinematics_interface-not-released.${{ matrix.ROS_DISTRO }}.repos
29+
ref_for_scheduled_build: master
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Debian Humble Build
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches:
6+
- humble
7+
schedule:
8+
# Run every day to detect flakiness and broken dependencies
9+
- cron: '33 2 * * *'
10+
11+
12+
jobs:
13+
debian_source_build:
14+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-debian-build.yml@master
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
ROS_DISTRO: [humble]
19+
with:
20+
ros_distro: ${{ matrix.ROS_DISTRO }}
21+
upstream_workspace: kinematics_interface.${{ matrix.ROS_DISTRO }}.repos
22+
ref_for_scheduled_build: master
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: RHEL Humble Semi-Binary Build
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches:
6+
- humble
7+
schedule:
8+
# Run every day to detect flakiness and broken dependencies
9+
- cron: '42 4 * * *'
10+
11+
jobs:
12+
rhel_semi_binary_build:
13+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-rhel-binary-build.yml@master
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ROS_DISTRO: [humble]
18+
with:
19+
ros_distro: ${{ matrix.ROS_DISTRO }}
20+
upstream_workspace: kinematics_interface.${{ matrix.ROS_DISTRO }}.repos
21+
ref_for_scheduled_build: master

.github/workflows/humble-semi-binary-build-main.yml

-25
This file was deleted.

.github/workflows/humble-semi-binary-build-testing.yml

-25
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Humble Semi-Binary Build
2+
# description: 'Build & test that compiles the main dependencies from source.'
3+
4+
on:
5+
workflow_dispatch:
6+
pull_request:
7+
branches:
8+
- humble
9+
push:
10+
branches:
11+
- humble
12+
schedule:
13+
# Run every morning to detect flakiness and broken dependencies
14+
- cron: '33 1 * * *'
15+
16+
jobs:
17+
semi_binary:
18+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
ROS_DISTRO: [humble]
23+
ROS_REPO: [main, testing]
24+
with:
25+
ros_distro: ${{ matrix.ROS_DISTRO }}
26+
ros_repo: ${{ matrix.ROS_REPO }}
27+
upstream_workspace: kinematics_interface.${{ matrix.ROS_DISTRO }}.repos
28+
ref_for_scheduled_build: master
+8-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
name: Humble Source Build
22
on:
33
workflow_dispatch:
4-
branches:
5-
- master
64
push:
75
branches:
8-
- master
6+
- humble
97
schedule:
108
# Run every day to detect flakiness and broken dependencies
119
- cron: '03 3 * * *'
1210

1311
jobs:
1412
source:
15-
uses: ./.github/workflows/reusable-ros-tooling-source-build.yml
13+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-ros-tooling-source-build.yml@master
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ROS_DISTRO: [humble]
1618
with:
17-
ros_distro: humble
19+
ros_distro: ${{ matrix.ROS_DISTRO }}
1820
ref: master
19-
ros2_repo_branch: master-humble
21+
ros2_repo_branch: ${{ matrix.ROS_DISTRO }}
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Reviewer lottery
2+
on:
3+
pull_request_target:
4+
types: [opened, ready_for_review, reopened]
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
if: github.actor != 'dependabot[bot]' && github.actor != 'mergify[bot]'
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: uesteibar/reviewer-lottery@v3
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
name: Rolling - ABI Compatibility Check
1+
name: ABI Compatibility Check
22
on:
33
workflow_dispatch:
4-
branches:
5-
- master
64
pull_request:
75
branches:
86
- master
97

108
jobs:
119
abi_check:
1210
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
ROS_DISTRO: [rolling, iron]
1315
steps:
1416
- uses: actions/checkout@v3
1517
- uses: ros-industrial/industrial_ci@master
1618
env:
17-
ROS_DISTRO: rolling
19+
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
1820
ROS_REPO: main
1921
ABICHECK_URL: github:${{ github.repository }}#${{ github.base_ref }}
2022
NOT_TEST_BUILD: true

.github/workflows/rolling-binary-build-main.yml

-26
This file was deleted.

0 commit comments

Comments
 (0)