-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
False
-
None
Use the multi-component repo https://github.com/maysunfaisal/multi-component-example on the import flow.
See the screen below, I can tell the detection failed as no runtime being selected.
However, inspected the CDQ spec, it does contain detailed failure reason in the status.message. ** This information should be displayed upon failure.
Spec: Git: URL: https://github.com/maysunfaisal/multi-component-example Status: Conditions: Last Transition Time: 2023-04-17T15:07:24Z Message: ComponentDetectionQuery is processing Reason: Success Status: True Type: Processing Last Transition Time: 2023-04-17T15:07:25Z Message: ComponentDetectionQuery failed: err: failed to convert kubernetes uri to inlined for component 'outerloop-deploy': failed to read kubernetes resources definition from path '/tmp/componentdetectionquery-sample210697307/devfile-go-sample/outerloop-deploy.yaml': open /tmp/componentdetectionquery-sample210697307/devfile-go-sample/outerloop-deploy.yaml: no such file or directory, failed to parse the devfile content from /tmp/componentdetectionquery-sample210697307/devfile-go-sample/devfile.yaml Reason: Error Status: False Type: Completed