From: Matthias Kruk Date: Sun, 1 Aug 2021 04:37:31 +0000 (+0900) Subject: spec: Make commit field optional X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=173ca2440502a634bd6bce5afaf72be9586ce796;p=foundry spec: Make commit field optional The buildrequest and testrequest messages carry a commit property that is used to specify the exact commit that should be tested. However, it is not always desirable or possible to specify the exact commit, so the property should be optional. This commit removes the property from the list of required properties, allowing senders to omit the property. --- diff --git a/spec/buildrequest.json b/spec/buildrequest.json index 940e869..b4b8067 100644 --- a/spec/buildrequest.json +++ b/spec/buildrequest.json @@ -30,7 +30,6 @@ "required": [ "context", "repository", - "branch", - "commit" + "branch" ] } diff --git a/spec/testrequest.json b/spec/testrequest.json index 83ce716..56c0088 100644 --- a/spec/testrequest.json +++ b/spec/testrequest.json @@ -30,7 +30,6 @@ "required": [ "context", "repository", - "branch", - "commit" + "branch" ] }