diff --git a/go.mod b/go.mod index 0232151b..4f4e0120 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/devfile/library go 1.15 require ( - github.com/devfile/api/v2 v2.0.0-20210812215717-9227ef221c84 + github.com/devfile/api/v2 v2.0.0-20210910153124-da620cd1a7a1 github.com/fatih/color v1.7.0 github.com/gobwas/glob v0.2.3 github.com/golang/mock v1.5.0 diff --git a/go.sum b/go.sum index 1336f529..138810cb 100644 --- a/go.sum +++ b/go.sum @@ -83,8 +83,8 @@ github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/devfile/api/v2 v2.0.0-20210812215717-9227ef221c84 h1:irCNH6Q95HUeUgKctyIbeXGx8fQifC1zdiImasPtUzc= -github.com/devfile/api/v2 v2.0.0-20210812215717-9227ef221c84/go.mod h1:kLX/nW93gigOHXK3NLeJL2fSS/sgEe+OHu8bo3aoOi4= +github.com/devfile/api/v2 v2.0.0-20210910153124-da620cd1a7a1 h1:k25KKenebyxOUnGmGTZE0F/wHDQ+fh+HoxVfjsKXNv0= +github.com/devfile/api/v2 v2.0.0-20210910153124-da620cd1a7a1/go.mod h1:kLX/nW93gigOHXK3NLeJL2fSS/sgEe+OHu8bo3aoOi4= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= diff --git a/pkg/devfile/parser/data/v2/2.2.0/devfileJsonSchema220.go b/pkg/devfile/parser/data/v2/2.2.0/devfileJsonSchema220.go index 864b7b66..0357afe3 100644 --- a/pkg/devfile/parser/data/v2/2.2.0/devfileJsonSchema220.go +++ b/pkg/devfile/parser/data/v2/2.2.0/devfileJsonSchema220.go @@ -687,6 +687,14 @@ const JsonSchema220 = `{ "description": "Optional devfile project type", "type": "string" }, + "provider": { + "description": "Optional devfile provider information", + "type": "string" + }, + "supportUrl": { + "description": "Optional link to a page that provides support information", + "type": "string" + }, "tags": { "description": "Optional devfile tags", "type": "array", @@ -1357,7 +1365,7 @@ const JsonSchema220 = `{ "additionalProperties": false }, "remotes": { - "description": "The remotes map which should be initialized in the git project. Must have at least one remote configured", + "description": "The remotes map which should be initialized in the git project. Projects must have at least one remote configured while StarterProjects can only have at most one remote configured.", "type": "object", "additionalProperties": { "type": "string" @@ -1388,7 +1396,7 @@ const JsonSchema220 = `{ } }, "registryUrl": { - "description": "Registry URL to pull the parent devfile from when using id in the parent reference. To ensure the parent devfile gets resolved consistently in different environments, it is recommended to always specify the 'regsitryURL' when 'Id' is used.", + "description": "Registry URL to pull the parent devfile from when using id in the parent reference. To ensure the parent devfile gets resolved consistently in different environments, it is recommended to always specify the 'registryUrl' when 'id' is used.", "type": "string" }, "starterProjects": { @@ -1441,7 +1449,7 @@ const JsonSchema220 = `{ "additionalProperties": false }, "remotes": { - "description": "The remotes map which should be initialized in the git project. Must have at least one remote configured", + "description": "The remotes map which should be initialized in the git project. Projects must have at least one remote configured while StarterProjects can only have at most one remote configured.", "type": "object", "additionalProperties": { "type": "string" @@ -1542,7 +1550,7 @@ const JsonSchema220 = `{ "additionalProperties": false }, "remotes": { - "description": "The remotes map which should be initialized in the git project. Must have at least one remote configured", + "description": "The remotes map which should be initialized in the git project. Projects must have at least one remote configured while StarterProjects can only have at most one remote configured.", "type": "object", "additionalProperties": { "type": "string" @@ -1630,7 +1638,7 @@ const JsonSchema220 = `{ "additionalProperties": false }, "remotes": { - "description": "The remotes map which should be initialized in the git project. Must have at least one remote configured", + "description": "The remotes map which should be initialized in the git project. Projects must have at least one remote configured while StarterProjects can only have at most one remote configured.", "type": "object", "additionalProperties": { "type": "string"