From d41ff22aa341c8ff263c2289d9364b793ba7a9db Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Thu, 22 Aug 2019 16:23:16 -0700 Subject: [PATCH] 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 --- releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml | 6 ++++++ schema/release-schema.yaml | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml 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: -- 2.16.6