Skip to content

Add library support for devfile schema - version 2.2.1 & version 2.2.2 #1454

Closed
devfile/library
#208
@thepetk

Description

@thepetk

Which area/kind this issue is related to?

/area library

Issue Description

At the moment when the library parser tries to parse a devfile with schemaVersion=2.2.2 or schemaVersion=2.2.1 we get the error:

Error: failed to generate index struct: /build/stacks/dotnet60 devfile is not valid:
failed to populateAndParseDevfile: unable to find schema for version "2.2.2".
The parser supports devfile schema for version 2.0.0, 2.1.0, 2.2.0, v1alpha2

As seen in the pkg/devfile/parser/data/versions.go there is no reference for the 2.2.1 or the 2.2.2 versions.

Acceptance Criteria

  • Devfile library supports Devfile schema versions 2.2.1 & 2.2.2

Metadata

Metadata

Assignees

Labels

area/libraryCommon devfile library for interacting with devfiles

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions