From 002e8957865a1effae40c47d3b437463a5d8da54 Mon Sep 17 00:00:00 2001 From: Pavel Holica Date: Jul 13 2021 07:57:05 +0000 Subject: Add missing fields to rest brew-build results --- diff --git a/mappings/results/brew-build.test.error.yaml b/mappings/results/brew-build.test.error.yaml index dbb4b49..729f20f 100644 --- a/mappings/results/brew-build.test.error.yaml +++ b/mappings/results/brew-build.test.error.yaml @@ -9,3 +9,13 @@ data: - "brew-build" item: - "${body.artifact.nvr}" + system_provider: + - "${body.system[0].provider}" + system_architecture: + - "${body.system[0].architecture}" + system_variant: + - "${body.system[0].variant}" + scenario: + - "#if(${body.test.scenario})${body.test.scenario}#{else}not available#end" + scratch: + - "${body.artifact.scratch}" diff --git a/mappings/results/brew-build.test.queued.yaml b/mappings/results/brew-build.test.queued.yaml index c4703a7..1619da9 100644 --- a/mappings/results/brew-build.test.queued.yaml +++ b/mappings/results/brew-build.test.queued.yaml @@ -9,3 +9,13 @@ data: - "brew-build" item: - "${body.artifact.nvr}" + system_provider: + - "${body.system[0].provider}" + system_architecture: + - "${body.system[0].architecture}" + system_variant: + - "${body.system[0].variant}" + scenario: + - "#if(${body.test.scenario})${body.test.scenario}#{else}not available#end" + scratch: + - "${body.artifact.scratch}" diff --git a/mappings/results/brew-build.test.running.yaml b/mappings/results/brew-build.test.running.yaml index 7fbd5bc..5d1481e 100644 --- a/mappings/results/brew-build.test.running.yaml +++ b/mappings/results/brew-build.test.running.yaml @@ -9,3 +9,13 @@ data: - "brew-build" item: - "${body.artifact.nvr}" + system_provider: + - "${body.system[0].provider}" + system_architecture: + - "${body.system[0].architecture}" + system_variant: + - "${body.system[0].variant}" + scenario: + - "#if(${body.test.scenario})${body.test.scenario}#{else}not available#end" + scratch: + - "${body.artifact.scratch}"