Skip to content

Commit 653ae72

Browse files
Revert "Remove all other wfs"
This reverts commit b163db9.
1 parent 148d6cb commit 653ae72

42 files changed

Lines changed: 1577 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docker.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: Create and publish a Docker image
2+
3+
on:
4+
push:
5+
tags: ["*"]
6+
7+
env:
8+
REGISTRY: ghcr.io
9+
IMAGE_NAME: ${{ github.repository }}
10+
ROS_DISTRO: humble
11+
BRANCH: master
12+
13+
jobs:
14+
build-and-push-release:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
packages: write
19+
20+
steps:
21+
- name: Set up Docker Buildx
22+
uses: docker/setup-buildx-action@v3
23+
24+
- name: Checkout repository
25+
uses: actions/checkout@v5
26+
27+
- name: Log in to the Container registry
28+
uses: docker/login-action@v3
29+
with:
30+
registry: ${{ env.REGISTRY }}
31+
username: ${{ github.actor }}
32+
password: ${{ secrets.GITHUB_TOKEN }}
33+
34+
- name: Docker meta
35+
id: meta
36+
uses: docker/metadata-action@v5
37+
with:
38+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}_release
39+
tags: |
40+
type=ref,event=branch
41+
type=semver,pattern={{version}}
42+
type=semver,pattern={{major}}.{{minor}}
43+
44+
- name: Build and push Docker image
45+
uses: docker/build-push-action@v6
46+
with:
47+
context: .
48+
push: true
49+
tags: ${{ steps.meta.outputs.tags }}
50+
labels: ${{ steps.meta.outputs.labels }}
51+
file: .docker/release/Dockerfile
52+
build-args: ROS_DISTRO=${{ env.ROS_DISTRO }}
53+
54+
build-and-push-source:
55+
runs-on: ubuntu-latest
56+
permissions:
57+
contents: read
58+
packages: write
59+
60+
steps:
61+
- name: Set up Docker Buildx
62+
uses: docker/setup-buildx-action@v3
63+
64+
- name: Checkout repository
65+
uses: actions/checkout@v5
66+
67+
- name: Log in to the Container registry
68+
uses: docker/login-action@v3
69+
with:
70+
registry: ${{ env.REGISTRY }}
71+
username: ${{ github.actor }}
72+
password: ${{ secrets.GITHUB_TOKEN }}
73+
74+
- name: Docker meta
75+
id: meta
76+
uses: docker/metadata-action@v5
77+
with:
78+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}_source
79+
tags: |
80+
type=ref,event=branch
81+
type=semver,pattern={{version}}
82+
type=semver,pattern={{major}}.{{minor}}
83+
84+
- name: Build and push Docker image
85+
uses: docker/build-push-action@v6
86+
with:
87+
context: .
88+
push: true
89+
tags: ${{ steps.meta.outputs.tags }}
90+
labels: ${{ steps.meta.outputs.labels }}
91+
file: .docker/source/Dockerfile
92+
build-args: |
93+
ROS_DISTRO=${{ env.ROS_DISTRO }}
94+
BRANCH=${{ env.BRANCH }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Humble - ABI Compatibility Check
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches:
6+
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '.github/workflows/humble-abi-compatibility.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- 'ros2_control-not-released.humble.repos'
16+
17+
concurrency:
18+
# cancel previous runs of the same workflow, except for pushes on given branches
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
21+
22+
jobs:
23+
abi_check:
24+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-abi-check.yml@master
25+
with:
26+
ros_distro: humble
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Humble Binary Build
2+
# author: Denis Štogl <denis@stoglrobotics.de>
3+
# description: 'Build & test all dependencies from released (binary) packages.'
4+
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
branches:
9+
- humble
10+
paths:
11+
- '**.hpp'
12+
- '**.h'
13+
- '**.cpp'
14+
- '**.py'
15+
- '.github/workflows/humble-binary-build.yml'
16+
- '**/package.xml'
17+
- '**/CMakeLists.txt'
18+
- 'ros2_control-not-released.humble.repos'
19+
push:
20+
branches:
21+
- humble
22+
paths:
23+
- '**.hpp'
24+
- '**.h'
25+
- '**.cpp'
26+
- '**.py'
27+
- '.github/workflows/humble-binary-build.yml'
28+
- '**/package.xml'
29+
- '**/CMakeLists.txt'
30+
- 'ros2_control-not-released.humble.repos'
31+
schedule:
32+
# Run every morning to detect flakiness and broken dependencies
33+
- cron: '03 1 * * MON-FRI'
34+
35+
concurrency:
36+
# cancel previous runs of the same workflow, except for pushes on given branches
37+
group: ${{ github.workflow }}-${{ github.ref }}
38+
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
39+
40+
jobs:
41+
binary:
42+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
ROS_DISTRO: [humble]
47+
ROS_REPO: [main, testing]
48+
with:
49+
ros_distro: ${{ matrix.ROS_DISTRO }}
50+
ros_repo: ${{ matrix.ROS_REPO }}
51+
upstream_workspace: ros2_control-not-released.${{ matrix.ROS_DISTRO }}.repos
52+
ref_for_scheduled_build: humble
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Humble Check Docs
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- humble
8+
paths:
9+
- '**.rst'
10+
- '**.md'
11+
- '**.jpg'
12+
- '**.jpeg'
13+
- '**.png'
14+
- '**.svg'
15+
- '**.yml'
16+
- '**.yaml'
17+
- '!.github/**' # exclude yaml files in .github directory
18+
- '.github/workflows/humble-check-docs.yml'
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
24+
jobs:
25+
check-docs:
26+
name: Check Docs
27+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@humble
28+
with:
29+
ROS2_CONTROL_PR: ${{ github.ref }}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Coverage Build - Humble
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '.github/workflows/humble-coverage-build.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- 'ros2_control.humble.repos'
16+
- 'codecov.yml'
17+
pull_request:
18+
branches:
19+
- humble
20+
paths:
21+
- '**.hpp'
22+
- '**.h'
23+
- '**.cpp'
24+
- '**.py'
25+
- '.github/workflows/humble-coverage-build.yml'
26+
- '**/package.xml'
27+
- '**/CMakeLists.txt'
28+
- 'ros2_control.humble.repos'
29+
- 'codecov.yml'
30+
31+
concurrency:
32+
# cancel previous runs of the same workflow, except for pushes on given branches
33+
group: ${{ github.workflow }}-${{ github.ref }}
34+
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
35+
36+
jobs:
37+
coverage_humble:
38+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master
39+
secrets: inherit
40+
with:
41+
ros_distro: humble
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Humble - Debian Semi-Binary Build
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches:
6+
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '.github/workflows/humble-debian-build.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- 'ros2_control.humble.repos'
16+
schedule:
17+
# Run every day to detect flakiness and broken dependencies
18+
- cron: '03 1 * * MON-FRI'
19+
20+
concurrency:
21+
# cancel previous runs of the same workflow, except for pushes on given branches
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
24+
25+
jobs:
26+
debian_semi_binary_build:
27+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-debian-build.yml@master
28+
with:
29+
ros_distro: humble
30+
upstream_workspace: ros2_control.humble.repos
31+
ref_for_scheduled_build: humble
32+
skip_packages: rqt_controller_manager
33+
skip_packages_test: controller_manager_msgs
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pre-Commit - Humble
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- humble
8+
push:
9+
branches:
10+
- humble
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
pre-commit:
18+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
19+
with:
20+
ros_distro: humble
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Humble - RHEL Semi-Binary Build
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches:
6+
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '.github/workflows/humble-rhel-binary-build.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- 'ros2_control.humble.repos'
16+
schedule:
17+
# Run every day to detect flakiness and broken dependencies
18+
- cron: '03 1 * * MON-FRI'
19+
20+
concurrency:
21+
# cancel previous runs of the same workflow, except for pushes on given branches
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }}
24+
25+
jobs:
26+
rhel_semi_binary_build:
27+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-rhel-binary-build.yml@master
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
ROS_DISTRO: [humble]
32+
with:
33+
ros_distro: ${{ matrix.ROS_DISTRO }}
34+
upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos
35+
ref_for_scheduled_build: humble
36+
skip_packages: rqt_controller_manager

0 commit comments

Comments
 (0)