From: Aric Gardner Date: Thu, 28 May 2020 18:02:22 +0000 (-0400) Subject: Modify info-schema X-Git-Tag: v0.55.0~6 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=a75a1bb832bc2e7b1cdd9034a782ed1a997dcc89;p=releng%2Fglobal-jjb.git Modify info-schema make email and timezone optional. Email if entered must be vaild, but is not required Timezone if entered must be match regex, but is not required Signed-off-by: Aric Gardner Change-Id: I1266c43edabed7fdb3882b8fc335bd8b3942699c --- diff --git a/schema/info-schema.yaml b/schema/info-schema.yaml index 55f99b58..5bf7fc3d 100644 --- a/schema/info-schema.yaml +++ b/schema/info-schema.yaml @@ -53,14 +53,14 @@ properties: name: type: "string" email: - type: "string" + required: false format: "email" id: type: "string" company: type: "string" timezone: - type: "string" + required: false pattern: '([A-Z][a-z]*\s*)+\/([A-Za-z_-])+' additionalProperties: false primary_contact: *user_object diff --git a/schema/releasenotes/notes/info-schema-76226f19ef070886.yaml b/schema/releasenotes/notes/info-schema-76226f19ef070886.yaml new file mode 100644 index 00000000..57a4df3b --- /dev/null +++ b/schema/releasenotes/notes/info-schema-76226f19ef070886.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Due to privacy concerns Email and Timezone in the INFO.yaml schema check + are now optional