Skip to content

'ODO' stopped working after Devfile schema update to v.2.2.2 #4183

@vrubezhny

Description

@vrubezhny

'ODO' binary stopped working when Devfile schema v.2.2.2 is used:

$ mkdir starter
$ cd starter/
$ ~/projects/vscode-openshift-tools/source/vscode-openshift-tools/out/tools/linux/odo init --name=component1 --devfile=nodejs --starter=nodejs-starter
  __
 /  \__     Initializing a new component
 \__/  \    
 /  \__/    odo version: v3.15.0 (10b5e8a8f)
 \__/

 ✓  Downloading devfile "nodejs" [1s]
 ✗  unable to parse devfile: 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
the command failed, the devfile has been removed from current directory

I believe this requires 'ODO' to be updated to support this Devfile schema version.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions