Skip to content

Commit f11e6c6

Browse files
nworbiiiKyle Brown
andauthored
feat(report-portal): support multiple launches per entity (#8052)
* feat(report-portal): support multiple launches per entity Signed-off-by: Kyle Brown <kyle.brown@nisc.coop> * fix(report-portal): align launch counts to right edge of accordion summary Signed-off-by: Kyle Brown <kyle.brown@nisc.coop> * docs(report-portal): update README with multi-launch annotation support Signed-off-by: Kyle Brown <kyle.brown@nisc.coop> --------- Signed-off-by: Kyle Brown <kyle.brown@nisc.coop> Co-authored-by: Kyle Brown <kyle.brown@nisc.coop>
1 parent fbab1e3 commit f11e6c6

File tree

6 files changed

+374
-176
lines changed

6 files changed

+374
-176
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@backstage-community/plugin-search-backend-module-report-portal': minor
3+
'@backstage-community/plugin-report-portal': minor
4+
---
5+
6+
Support multiple ReportPortal launches per entity with comma separated launch names and accordion UI

workspaces/report-portal/plugins/report-portal/README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,29 @@ metadata:
123123
reportportal.io/project-name: <your-project-name>
124124
reportportal.io/launch-name: <your-launch-name>
125125
126-
# (optional) if host is not added in annotaions, first entry from app-config will be used
126+
# (optional) if host is not added in annotations, first entry from app-config will be used
127127
reportportal.io/host: <your-report-portal-host>
128128
```
129129

130+
| Annotation | Required | Description |
131+
| ------------------------------ | -------- | ------------------------------------------------- |
132+
| `reportportal.io/project-name` | Yes | The project name in ReportPortal |
133+
| `reportportal.io/launch-name` | No | Launch name(s). Supports comma-separated values |
134+
| `reportportal.io/host` | No | ReportPortal host. Defaults to first config entry |
135+
136+
### Multiple launches
137+
138+
To show statistics for multiple launches on a single entity, list them as comma-separated values:
139+
140+
```yaml
141+
metadata:
142+
annotations:
143+
reportportal.io/project-name: my-project
144+
reportportal.io/launch-name: Unit Tests, Integration Tests, Contract Tests
145+
```
146+
147+
Each launch will be displayed in its own expandable accordion section within the overview card.
148+
130149
## Acknowledgments
131150

132151
This project wouldn't have been possible without the help of the following contributors:

0 commit comments

Comments
 (0)