From b34f0ced3547739d106cf176c896f84863b3bd9d Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Jul 26 2019 14:21:13 +0000 Subject: product-build: make artifacts a list of known items Expects ad-hoc-build artifact by @ralph. Signed-off-by: Miroslav Vadkerti --- diff --git a/schemas/product-build.yaml b/schemas/product-build.yaml index 43d6a31..dbe2136 100644 --- a/schemas/product-build.yaml +++ b/schemas/product-build.yaml @@ -11,6 +11,7 @@ properties: enum: - product-build type: string + id: description: ID of the product meaning name-version-release @@ -61,6 +62,7 @@ properties: - testing - launch - maintenance + type: string build: @@ -74,8 +76,8 @@ properties: - RC1 - RC100 - GA - type: string + type: string state: description: @@ -87,9 +89,9 @@ properties: - testing - updates - released + type: string - repos: description: Repoositories where product build artifacts can be obtained. @@ -99,7 +101,7 @@ properties: type: array items: - type: string + type: string artifacts: description: @@ -131,6 +133,16 @@ properties: } ] + type: array + items: + anyOf: + - $ref: uncontrolled-build.json + - $ref: product-build.json + - $ref: brew-build.json + - $ref: rpm-build-group.json + - $ref: redhat-container-image.json + - $ref: container-image.json + required: - type - id