Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for 2.3.0 schema version #219

Merged
merged 3 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/devfile/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ parent:
id: devfile1
registryUrl: http://127.0.0.1:8080/registry
`
devfileContentWithUnsupportedSchema := `schemaVersion: 2.2.5
devfileContentWithUnsupportedSchema := `schemaVersion: 2.3.5
parent:
id: devfile1
registryUrl: http://127.0.0.1:8080/registry
Expand Down Expand Up @@ -267,7 +267,7 @@ spec:
testServer.Start()
defer testServer.Close()

unsupportedSchemaError := `error parsing devfile because of non-compliant data due to unable to find schema for version "2.2.5". The parser supports devfile schema for version 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.2.2, v1alpha2`
unsupportedSchemaError := `error parsing devfile because of non-compliant data due to unable to find schema for version "2.3.5". The parser supports devfile schema for version 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.3.0, v1alpha2`

type args struct {
args parser.ParserArgs
Expand Down
Loading
Loading