nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
93 stars 52 forks source link

porch: PackageRevisionResources' status.renderStatus is always empty, except in the return value of an update operation #771

Closed kispaljr closed 1 week ago

kispaljr commented 1 week ago

If you get any PackageRevisionResources object via the porch API its status.renderStatus will always look like this:

status:
  renderStatus:
    error: ""
    result:
      exitCode: 0
      metadata:
        creationTimestamp: null

even if the package has a non-empty pipeline. I would expect to find the status of the last render operation in that field, and that is actually the case for the PackageRevisionResources object returned by the Update operation.

kispaljr commented 1 week ago

To implement this the renderStatus probably should be persisted in the (git/oci) repository. One option would be to write it into the Kptfile's status field.

kispaljr commented 1 week ago

This is a duplicate of #699