extend the schema validation to include repository-settings

For now the extra validation only includes the flags list.

Change-Id: Iceb905ed84fcb76dd33708a81dc63d8ebdd3c948
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-02-20 13:33:00 -05:00
parent cf7d4da893
commit e9bc54694e
1 changed files with 7 additions and 1 deletions

View File

@ -31,8 +31,14 @@ properties:
type: "string"
enum: ["tarball", "none"]
repository-settings:
# TODO(dhellmann): Need to expand this to handle the flags.
type: "object"
properties:
additionalProperties: False
flags:
type: "array"
items:
type: "string"
enum: [ "no-artifact-build-job", "retired" ]
release-type:
type: "string"
enum: [ "python-service", "python-pypi", "xstatic", "fuel",