-
Notifications
You must be signed in to change notification settings - Fork 243
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 doesn't support Devfile schema v.2.2.2 #7244
Comments
Hi @vrubezhny , I can see that this issue is fixed in the $ odo init --name=component1 --devfile=nodejs --starter=nodejs-starter
__
/ \__ Initializing a new component
\__/ \
/ \__/ odo version: v3.15.0 (6d83e4043)
\__/
✓ Downloading devfile "nodejs" [986ms]
✓ Downloading starter project "nodejs-starter" [417ms]
Your new component 'component1' is ready in the current directory.
To start editing your component, use 'odo dev' and open this folder in your favorite IDE.
Changes will be directly reflected on the cluster. The latest release of Would it make sense for you to use nightly builds of |
@rm3l Thanks! We'll consider using the nightly builds for 'odo'. This definitely could be a solution at the moment. |
The problem with using the nightly builds is that the download links are "static" - so we're not able to save sha256 for a binary archive and then verify the archive downloaded much later by such a "static" link against the saved sha256 value... For the releases we're downloading "an approved" binary version and usually an archive for each version has its unique sha256 which never changes, so for a released version we can download the same archive later and verify it against the sha256 saved to that version. With "static" download links it's not possible (also, I believe, the track of nightly builds isn't kept, so with a time passed we'll be downloading some other archive using the same URL). |
Hey @vrubezhny ! |
This should help us a lot in case the nightly build archives and according Thanks! |
@vrubezhny So I tried to create a 3.16.0 release yesterday but hit a roadblock with the RH internal build systems, which, I think, would require a few additional changes.. |
@vrubezhny FYI, I was keeping an eye on the internal issues that were blocking a new release, and they have all been fixed recently. Closing this issue now, but feel free to reopen if the issue still persists. /close |
@rm3l: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/kind bug
ODO fails to initialize a component when Devfile schema v.2.2.2 is used.
What versions of software are you using?
Operating System:
Fedora Linux 6.8.7-100.fc38.x86_64
... but the issue is not OS/Arch dependent
Output of
odo version
:$ odo version
odo v3.15.0 (10b5e8a)
Server: https://127.0.0.1:42801
Kubernetes: v1.27.3
Podman Client: 4.9.4
How did you run odo exactly?
Actual behavior
ODO reports error:
✗ 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
Expected behavior
The ODO
init
command should be executed successfullyAny logs, error output, etc?
The text was updated successfully, but these errors were encountered: