-
Notifications
You must be signed in to change notification settings - Fork 64
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
Non terminating image check does not support parent in devfiles #1568
Comments
One solution would be to invoking the devfile/library cmd and flattening the devfile before examining it. The devfile/library module might not have the flattening available via their main(), so we will need to update that main() a bit. |
+1 I think exposing this functionality might also be useful for future cases where we need to obtain the flattened version of a devfile easily |
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days. |
@thepetk hi, any ETA for this ? |
/kind bug
Which area is this bug related to?
/area ci
/area registry
Bug Summary
The
check_non_terminating
script is failing in case a registry stack is using a parent devfile.Describe the bug:
As the devfile is not flattened before checking for non terminating images, the script is unable to find any components.
To Reproduce:
Create a registry stack that has only a
metadata
&parent
section. An example is here:https://github.com/devfile/registry/actions/runs/9259636857/job/25472255936?pr=401
Expected behavior
The check should be passing and the devfile should be flattened during the execution of the script with all the parent components.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Logs can be found here:
https://github.com/devfile/registry/actions/runs/9259636857/job/25472255936?pr=401
Additional context
Useful context is here: devfile/registry#401 (comment)
Any workaround?
N/A
Suggestion on how to fix the bug
N/A
The text was updated successfully, but these errors were encountered: