Commit 2066052
committed
src: lava_callback: handle artifacts uploaded from test jobs
Test jobs might need to upload artifacts directly from LAVA (this is
needed e.g. for GCOV data when checking for code coverage), but we
currently have no way to add those artifacts to the corresponding node.
Add such a feature in a rather generic way, so jobs can provide both the
artifact name and its URL through a specially-formatted result entry:
artifact-upload:<artifact name>:<artifact URL>
Therefore, all test results starting with `artifact-upload:` will be
processed and stored in the corresponding node's `artifacts` dict, with
`<artifact name>` being the entry key and `<artifact URL>` being its
value.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>1 parent 9af0245 commit 2066052
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
237 | 247 | | |
238 | 248 | | |
239 | 249 | | |
| |||
0 commit comments