Fix release-schema.yaml 46/16646/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 22 Aug 2019 23:23:16 +0000 (16:23 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 22 Aug 2019 23:24:02 +0000 (16:24 -0700)
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 <agardner@linuxfoundation.org>
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml [new file with mode: 0644]
schema/release-schema.yaml

diff --git a/releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml b/releasenotes/notes/fix-release-schema-b4a9a38ab98ee075.yaml
new file mode 100644 (file)
index 0000000..243ece7
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    Fix missing extension in ID for release-schema.yaml.
+  - |
+    Make "distribution_type" mandatory in future release files.
index f7a00d8..3c0b966 100644 (file)
@@ -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: