-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area api
/area ci
/area api
/area library
/area registry
/area devworkspace
/area integration-tests
/area test-automation
/area releng
/area landing-page
What versions of software are you using?
Go project
Operating System and version:
Go Pkg Version:
Node.js project
Operating System and version:
Node.js version:
Yarn version:
Project.json:
Web browser
Operating System and version:
Browser name and version:
Bug Summary
Describe the bug:
odo uses the Staging Registry to fetch Devfiles for it's integration test on CI.
Things were working as expected until March 29, when we were able to fetch the extra stack files along with the Devfile (e.g. go:latest, java-springboot:latest, python:latest), but we can't seem to fetch it now, and this is blocking us (We are in the process of using an alternate solution, but the issue still remains if one wants to use the staging registry).
To Reproduce:
odo preference add registry StagingDevfileRegistry https://registry.stage.devfile.ioodo init --devfile go --devfile-version 2.0.0 --name my-go-app --devfile-registry StagingDevfileRegistry --starter go-starter
Expected behavior
It should be possible to fetch the extra stack files.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
➜ odo preference view
[...]
Devfile registries:
NAME URL SECURE
StagingDevfileRegistry https://registry.stage.devfile.io/ No
DefaultDevfileRegistry https://registry.devfile.io/ No
➜ odo init --devfile go --devfile-version 2.0.0 --name my-go-app --devfile-registry StagingDevfileRegistry
__
/ \__ Initializing a new component
\__/ \
/ \__/ odo version: v3.8.0
\__/
✓ Downloading devfile "go:2.0.0" from registry "StagingDevfileRegistry" [3s]
✗ unable to parse devfile: failed to convert kubernetes uri to inlined for component 'deploy': failed to read kubernetes resources definition from path '/tmp/nodejs-debug/kubernetes/deploy.yaml': open /tmp/nodejs-debug/kubernetes/deploy.yaml: no such file or directory
the command failed, the devfile has been removed from current directoryAdditional context
Any workaround?
Suggestion on how to fix the bug
Target Date: April 4, 2023