messages/schemas/fedora-update.test.running.yaml
Lukas Holecek be68667153 Add "system" to running, queued and error test messages
Complete test result messages have required "system" field. Related
running, queued and error messages should define same "system" values.

This is required by Greenwave which in addition to item + type +
testcase values, also distinguishes test results by unique scenario
+ system_architecture + system_variant values. For example, if there is
a test result with status RUNNING and undefined "system", it would be
considered missing by Greenwave until test a completed (or error) result
with undefined "system" is published. A message with any other "system"
value would be considered as a result of a different test.
2022-04-05 16:34:15 +02:00

37 lines
720 B
YAML

$id: fedora-update.test.running
$schema: http://json-schema.org/draft-07/schema#
description:
Testing has been started and is in progress.
This is an optional message.
properties:
contact:
$ref: contact.json
run:
$ref: run.json
artifact:
$ref: fedora-update.json
pipeline:
$ref: pipeline.json
test:
$ref: test-common.json
generated_at:
$ref: common.json#/properties/generated_at
version:
$ref: common.json#/properties/version
system:
type: array
items:
$ref: system.json
required:
- contact
- run
- artifact
- pipeline
- test
- generated_at
- version
type: object