operator-lifecycle-manager icon indicating copy to clipboard operation
operator-lifecycle-manager copied to clipboard

test/e2e: Support logging individual resources' state to stdout

Open timflannagan opened this issue 4 years ago • 5 comments

Add initial support for debugging individual Kubernetes resources, executing arbitrary shell commands, etc. This is mainly useful in the context of debugging cluster-scoped resources (e.g. the Operator API) that don't necessary fit into the test/e2e/collect-ci-artifacts.sh gather script.

Signed-off-by: timflannagan [email protected]

Description of the change:

Motivation for the change:

Reviewer Checklist

  • [ ] Implementation matches the proposed design, or proposal is updated to match implementation
  • [ ] Sufficient unit test coverage
  • [ ] Sufficient end-to-end test coverage
  • [ ] Docs updated or added to /doc
  • [ ] Commit messages sensible and descriptive

timflannagan avatar Dec 10 '21 21:12 timflannagan

I put the fix for the unit test failure in https://github.com/operator-framework/operator-lifecycle-manager/pull/2521

akihikokuroda avatar Dec 13 '21 13:12 akihikokuroda

/lgtm

Nice, I like the approach here.

tylerslaton avatar Dec 16 '21 19:12 tylerslaton

New changes are detected. LGTM label has been removed.

openshift-ci[bot] avatar Jan 04 '22 19:01 openshift-ci[bot]

/approve

perdasilva avatar Jan 05 '22 04:01 perdasilva

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: perdasilva, timflannagan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • ~~OWNERS~~ [perdasilva,timflannagan]

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Feb 17 '22 16:02 openshift-ci[bot]