Skip to content

Commit 335334a

Browse files
Add prerelease jobs (backport #1881) (#1885)
Co-authored-by: Christoph Fröhlich <[email protected]>
1 parent 359f2b2 commit 335334a

10 files changed

+86
-60
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Humble - pre-release
2+
# author: Christoph Froehlich <[email protected]>
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
downstream_depth:
8+
description: 'The depth of the depends-on tree to be included in the overlay workspace (-1 implies unlimited, default: 0)'
9+
required: false
10+
default: 0
11+
type: number
12+
pull_request:
13+
branches:
14+
- humble
15+
types:
16+
- opened # default
17+
- reopened # default
18+
- synchronize # default
19+
- labeled # also if a label changes
20+
21+
jobs:
22+
default:
23+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-prerelease.yml@master
24+
with:
25+
ros_distro: humble
26+
# downstream_depth is not set on pull_request event
27+
prerelease_downstream_depth: ${{ github.event_name == 'pull_request' && '0' || inputs.downstream_depth }}

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,3 @@ jobs:
3636
# we test the downstream packages, which are part of our organization
3737
downstream_workspace: ros_controls.humble.repos
3838
not_test_downstream: false
39-
build-downstream-3rd-party:
40-
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
41-
with:
42-
ros_distro: humble
43-
ros_repo: testing
44-
ref_for_scheduled_build: humble
45-
upstream_workspace: ros2_controllers.humble.repos
46-
# we don't test this repository, we just build it
47-
not_test_build: true
48-
# we don't test the downstream packages, which are outside of our organization
49-
downstream_workspace: downstream.humble.repos
50-
not_test_downstream: true
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Jazzy - pre-release
2+
# author: Christoph Froehlich <[email protected]>
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
downstream_depth:
8+
description: 'The depth of the depends-on tree to be included in the overlay workspace (-1 implies unlimited, default: 0)'
9+
required: false
10+
default: 0
11+
type: number
12+
pull_request:
13+
branches:
14+
- jazzy
15+
types:
16+
- opened # default
17+
- reopened # default
18+
- synchronize # default
19+
- labeled # also if a label changes
20+
21+
jobs:
22+
default:
23+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-prerelease.yml@master
24+
with:
25+
ros_distro: jazzy
26+
# downstream_depth is not set on pull_request event
27+
prerelease_downstream_depth: ${{ github.event_name == 'pull_request' && '0' || inputs.downstream_depth }}

.github/workflows/jazzy-semi-binary-downstream-build.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,3 @@ jobs:
3636
# we test the downstream packages, which are part of our organization
3737
downstream_workspace: ros_controls.jazzy.repos
3838
not_test_downstream: false
39-
build-downstream-3rd-party:
40-
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
41-
with:
42-
ros_distro: jazzy
43-
ros_repo: testing
44-
ref_for_scheduled_build: jazzy
45-
upstream_workspace: ros2_controllers.jazzy.repos
46-
# we don't test this repository, we just build it
47-
not_test_build: true
48-
# we don't test the downstream packages, which are outside of our organization
49-
downstream_workspace: downstream.jazzy.repos
50-
not_test_downstream: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Rolling - pre-release
2+
# author: Christoph Froehlich <[email protected]>
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
downstream_depth:
8+
description: 'The depth of the depends-on tree to be included in the overlay workspace (-1 implies unlimited, default: 0)'
9+
required: false
10+
default: 0
11+
type: number
12+
pull_request:
13+
branches:
14+
- master
15+
types:
16+
- opened # default
17+
- reopened # default
18+
- synchronize # default
19+
- labeled # also if a label changes
20+
21+
jobs:
22+
default:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
ROS_DISTRO: [kilted, rolling]
27+
28+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-prerelease.yml@master
29+
with:
30+
ros_distro: ${{ matrix.ROS_DISTRO }}
31+
# downstream_depth is not set on pull_request event
32+
prerelease_downstream_depth: ${{ github.event_name == 'pull_request' && '0' || inputs.downstream_depth }}

.github/workflows/rolling-semi-binary-downstream-build.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,3 @@ jobs:
4141
# we test the downstream packages, which are part of our organization
4242
downstream_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos
4343
not_test_downstream: false
44-
build-downstream-3rd-party:
45-
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
46-
strategy:
47-
fail-fast: false
48-
matrix:
49-
ROS_DISTRO: [kilted, rolling]
50-
with:
51-
ros_distro: ${{ matrix.ROS_DISTRO }}
52-
ros_repo: testing
53-
ref_for_scheduled_build: master
54-
upstream_workspace: ros2_controllers.${{ matrix.ROS_DISTRO }}.repos
55-
# we don't test this repository, we just build it
56-
not_test_build: true
57-
# we don't test the downstream packages, which are outside of our organization
58-
downstream_workspace: downstream.${{ matrix.ROS_DISTRO }}.repos
59-
not_test_downstream: true

downstream.humble.repos

Lines changed: 0 additions & 5 deletions
This file was deleted.

downstream.jazzy.repos

Lines changed: 0 additions & 5 deletions
This file was deleted.

downstream.kilted.repos

Lines changed: 0 additions & 5 deletions
This file was deleted.

downstream.rolling.repos

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)