#115 Results mapping for product-build.test.complete message
Merged 2 years ago by mvadkert. Opened 2 years ago by tturek.
fedora-ci/ tturek/messages product-build-mapping  into  master

@@ -0,0 +1,33 @@ 

+ # Resultsdb Updater V2 Mapping, Supported for release Tag 1.x.x onwards.

+ 

+ outcome: "${body.test.result}"

+ testcase:

+     name: "${body.test.namespace}.${body.test.type}.${body.test.category}"

+     ref_url: "${body.run.url}"

+ groups:

+     - uuid: "${headers.uuid}"

+       url: "${body.run.url}"

+ ref_url: "${body.run.url}"

+ data:

+     item:

+         - "${body.artifact.name}-${body.artifact.version}-${body.artifact.release}"

+     log:

+         - "${body.run.log}"

+     type:

+         - "${body.artifact.type}"

+     product:

+         - "${body.artifact.name}"

+     version:

+         - "${body.artifact.version}"

+     release:

+         - "${body.artifact.release}"

+     ci_name:

+         - "${body.contact.name}"

+     ci_team:

+         - "${body.contact.team}"

+     ci_url:

+         - "#if(${body.contact.url})${body.contact.url}#{else}not available#end"

+     ci_irc:

+         - "#if(${body.contact.irc})${body.contact.irc}#{else}not available#end"

+     ci_email:

+         - "${body.contact.email}"

Add new mapping rule for product-build artifact.

Metadata Update from @mvadkert:
- Pull-request tagged with: review-needed

2 years ago

+1 Looks OK, but I only quickly compared it against the resultsdb-updater code (i.e. old message format).

Fields system_architecture and category are missing, but maybe these were not used.

@draval Can you help review?

I got ACK from @draval.

@mvadkert Is it OK to merge and add version tag?

Metadata Update from @mvadkert:
- Pull-request untagged with: review-needed
- Pull-request tagged with: review-done

2 years ago

Pull-Request has been merged by mvadkert

2 years ago