Skip to content

Commit 76c22d8

Browse files
Felix Exnerurfeex
authored andcommitted
Add automatic issue creation on failed CI runs
1 parent 36b5c3d commit 76c22d8

15 files changed

+62
-1
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Failed build job {{ env.UPSTREAM_TYPE }} ({{ env.DISTRO }}/{{ env.REPO }})
3+
labels: CI
4+
---
5+
The scheduled build for branch `{{ env.REF }}` failed.
6+
7+
**Upstream build type:** {{ env.UPSTREAM_TYPE }}
8+
**ROS DISTRO:** {{ env.DISTRO }}
9+
**Repo:** {{ env.REPO }}
10+
11+
Please check the log output for details: {{ env.URL }}
12+
13+
Please note that this issue has different implications based on the build type. To get an idea of
14+
the complete situation, please have a look at the [current build
15+
status](https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/blob/main/ci_status.md)
16+
17+
- If the *Upstream build type* is "binary":
18+
- If the *Repo* is "testing", it is well possible that an upstream package did make an
19+
API-breaking change that hasn't been released, yet. If the semi-binary builds are OK, this
20+
package has made the necessary changes, already. It is expected to sort itself out by itself,
21+
once the upstream package has been released. If the semi-binary builds are failing, as well,
22+
this package has to be updated.
23+
- If the *Repo* is "main", but the "testing" builds are green, we are only waiting for a Sync
24+
to happen.
25+
- If the *Upstream build type* is "semi-binary":
26+
- If both, main and testing, are failing, there has been an API-breaking change in an upstream
27+
package. This package should get updated soon. If the upstream package gets released without
28+
updating this package, the "binary / testing" builds will also fail. In this case, this package
29+
needs to get updated and released ASAP.
30+
- If not both, main and testing, are failing, there is an upstream dependency with an API-breaking
31+
change that is not part of the upstream workspace. This should rarely happen and needs action
32+
from the package maintainers.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ jobs:
1111
with:
1212
ros_distro: humble
1313
ros_repo: main
14+
upstream_type: binary
1415
upstream_workspace: Universal_Robots_ROS2_Driver-not-released.humble.repos
1516
ref_for_scheduled_build: humble

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ jobs:
1212
with:
1313
ros_distro: humble
1414
ros_repo: testing
15+
upstream_type: binary
1516
upstream_workspace: Universal_Robots_ROS2_Driver-not-released.humble.repos
1617
ref_for_scheduled_build: humble

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ jobs:
1212
with:
1313
ros_distro: humble
1414
ros_repo: main
15+
upstream_type: semi-binary
1516
upstream_workspace: Universal_Robots_ROS2_Driver.humble.repos
1617
ref_for_scheduled_build: humble

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ jobs:
1212
with:
1313
ros_distro: humble
1414
ros_repo: testing
15+
upstream_type: semi-binary
1516
upstream_workspace: Universal_Robots_ROS2_Driver.humble.repos
1617
ref_for_scheduled_build: humble

.github/workflows/iron-binary-main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ jobs:
1717
with:
1818
ros_distro: iron
1919
ros_repo: main
20+
upstream_type: binary
21+
upstream_workspace: Universal_Robots_ROS2_Driver-not-released.iron.repos
2022
ref_for_scheduled_build: iron

.github/workflows/jazzy-binary-main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ jobs:
1717
with:
1818
ros_distro: jazzy
1919
ros_repo: main
20+
upstream_type: binary
2021
upstream_workspace: Universal_Robots_ROS2_Driver-not-released.jazzy.repos
2122
ref_for_scheduled_build: main

.github/workflows/jazzy-binary-testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ jobs:
1717
with:
1818
ros_distro: jazzy
1919
ros_repo: testing
20+
upstream_type: binary
2021
upstream_workspace: Universal_Robots_ROS2_Driver-not-released.jazzy.repos
2122
ref_for_scheduled_build: main

.github/workflows/jazzy-semi-binary-main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ jobs:
1717
with:
1818
ros_distro: jazzy
1919
ros_repo: main
20+
upstream_type: semi-binary
2021
upstream_workspace: Universal_Robots_ROS2_Driver.jazzy.repos
2122
ref_for_scheduled_build: main

.github/workflows/jazzy-semi-binary-testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ jobs:
1717
with:
1818
ros_distro: jazzy
1919
ros_repo: testing
20+
upstream_type: semi-binary
2021
upstream_workspace: Universal_Robots_ROS2_Driver.jazzy.repos
2122
ref_for_scheduled_build: main

0 commit comments

Comments
 (0)