b6f3045e5e
The Pike release script had a typo that caused the release emails to have incorrect diff output. This patch causes the validate test to catch more typos for releases and branches. It also fixes the typos in the existing deliverables files so they will pass future validation. Change-Id: If173ba0b3d8c427f0bf5f3e4972dd0848459c951
81 lines
2.0 KiB
YAML
81 lines
2.0 KiB
YAML
---
|
|
$schema: "http://json-schema.org/schema#"
|
|
$id: "http://git.openstack.org/cgit/openstack/releases/tree/README.rst"
|
|
|
|
# Do not allow any properties not defined here. This lets us catch
|
|
# typos.
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
team:
|
|
type: "string"
|
|
launchpad:
|
|
type: "string"
|
|
storyboard:
|
|
type: "integer"
|
|
release-notes:
|
|
oneOf:
|
|
- type: "string"
|
|
# We don't include any details about the object form of the
|
|
# release notes because the keys are the repository names.
|
|
- type: "object"
|
|
include-pypi-link:
|
|
type: "boolean"
|
|
release-model:
|
|
type: "string"
|
|
enum: ["cycle-with-intermediary", "cycle-with-milestones", "cycle-trailing", "untagged"]
|
|
type:
|
|
type: "string"
|
|
enum: ["horizon-plugin", "library", "service", "other"]
|
|
artifact-link-mode:
|
|
type: "string"
|
|
enum: ["tarball", "none"]
|
|
repository-settings:
|
|
# TODO(dhellmann): Need to expand this to handle the flags.
|
|
type: "object"
|
|
release-type:
|
|
type: "string"
|
|
enum: [ "std", "xstatic", "fuel" ]
|
|
stable-branch-type:
|
|
type: "string"
|
|
enum: [ "std", "tagless", "upstream" ]
|
|
releases:
|
|
type: "array"
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
version:
|
|
type: "string"
|
|
projects:
|
|
type: "array"
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
repo:
|
|
type: "string"
|
|
hash:
|
|
type: "string"
|
|
highlights:
|
|
type: "string"
|
|
tarball-base:
|
|
type: "string"
|
|
diff-start:
|
|
type: "string"
|
|
highlights:
|
|
type: "string"
|
|
required: ["version", "projects"]
|
|
additionalProperties: False
|
|
branches:
|
|
type: "array"
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
name:
|
|
type: "string"
|
|
location:
|
|
oneOf:
|
|
- type: "string"
|
|
- type: "object"
|
|
required: ["name", "location"]
|
|
additionalProperties: False
|