From: Jessica Wagantall Date: Thu, 22 Aug 2019 23:23:16 +0000 (-0700) Subject: Fix release-schema.yaml X-Git-Tag: v0.42.0~7 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F16646%2F1;p=releng%2Fglobal-jjb.git Fix release-schema.yaml Fix missing extension in ID for release-schema.yaml. Make "distribution_type" mandatory in future release files. Change-Id: I813f6b863fabfafcc9560df753c380675e8cc09e Co-Authored-By: Aric Gardner Signed-off-by: Jessica Wagantall --- diff --git a/releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml b/releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml new file mode 100644 index 00000000..243ece75 --- /dev/null +++ b/releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fix missing extension in ID for release-schema.yaml. + - | + Make "distribution_type" mandatory in future release files. diff --git a/schema/release-schema.yaml b/schema/release-schema.yaml index f7a00d85..3c0b9664 100644 --- a/schema/release-schema.yaml +++ b/schema/release-schema.yaml @@ -9,14 +9,17 @@ ############################################################################## --- $schema: "http://json-schema.org/schema#" -$id: "https://github.com/lfit/releng-global-jjb/blob/master/release-schema" +$id: "https://github.com/lfit/releng-global-jjb/blob/master/release-schema.yaml" required: + - "distribution_type" - "log_dir" - "project" - "version" properties: + distribution_type: + type: "string" log_dir: type: "string" project: