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

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

Closed
vrubezhny opened this issue Jun 6, 2024 · 3 comments · Fixed by #4191
Closed

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

vrubezhny opened this issue Jun 6, 2024 · 3 comments · Fixed by #4191
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@vrubezhny
Copy link
Contributor

vrubezhny commented Jun 6, 2024

'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.

@datho7561
Copy link
Collaborator

Please consider filing upstream in https://github.com/redhat-developer/odo/issues

@vrubezhny
Copy link
Contributor Author

vrubezhny commented Jun 6, 2024

The upstream issue is reported:

cc: @mohitsuman, @datho7561

vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 6, 2024
… v.2.2.2 redhat-developer#4183

This is the only workaround limiting the devfile version for node.js component to v.2.2.0

Issue: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@vrubezhny vrubezhny self-assigned this Jun 7, 2024
@vrubezhny
Copy link
Contributor Author

In order to fix the integration test failures we can limit the Devfile version to <=2.2.0 for the node.js component. Here is the workaround: #4185

At the moment, in order to fix the issue, we can use nightly builds of 'odo' where the problem looks to be fixed is fixed instead of the officially released version. See: https://odo.dev/docs/overview/installation#nightly-builds

vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 8, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 9, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 10, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 10, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 10, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 12, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
rgrunber pushed a commit to rgrunber/vscode-openshift-tools that referenced this issue Jun 12, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 17, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
rgrunber pushed a commit to rgrunber/vscode-openshift-tools that referenced this issue Jun 18, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 25, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 25, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@vrubezhny vrubezhny added the dependencies Pull requests that update a dependency file label Jun 25, 2024
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 26, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 27, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 27, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Jun 28, 2024
Since the [ODO project](https://github.com/redhat-developer/odo) has stoped producing new releases
for ODO binary, the [nightly builds](https://odo.dev/docs/overview/installation/#nightly-builds)
became the source of most recent and up-to-date ODO binary version.

Fixes: redhat-developer#4183

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants