Skip to content

Add dependency check to make sure child devfiles are being tested when parent stack has been changed #1060

Closed as not planned
@elsony

Description

@elsony

Which area/kind this issue is related to?

/area registry

Issue Description

The current PR tests in the devfile registry only test for stacks/samples that have been changed. However, if there are other stacks/samples referring to the changed stacks as parents, the child stacks/samples test does not run. There is a risk in case the parent stack change may break the depending stacks/samples.

We need to:

  1. Set up a dependency tree (auto-generated based on the current registry contents) so that we can easily find out the depending stacks/samples of a given stack.
  2. Triggers the child stacks/samples test as part of the PR tests of the parent stacks

Target Odo version

N/A

Metadata

Metadata

Labels

area/registryDevfile registry for stacks and infrastructurelifecycle/rottenRotten items. These items have been stale for 60 days and are now closed.lifecycle/staleStale items. These items have not been updated for 90 days.

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions