Skip to content

Non terminating image check does not support parent in devfiles #1568

Closed
devfile/registry
#574
@thepetk

Description

@thepetk

/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

Testing /home/runner/work/registry/registry/stacks/ollama/devfile.yaml
  COMMAND: minikube ssh docker pull null

Additional context

Useful context is here: devfile/registry#401 (comment)

Any workaround?

N/A

Suggestion on how to fix the bug

N/A

Metadata

Metadata

Assignees

Labels

area/ciarea/registryDevfile registry for stacks and infrastructurekind/bugSomething isn't working

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions