Skip to content

Add a --skip-teardown-upon-failures flag allowing deep dive in the environment to uncover the root cause of an issue #19

Description

@lavocatt

Potential usages for the Github CI of the operator:

- name: Dump Diagnostics
  if: failure()
  run: |
    mkdir -p diagnostics
    kubectl get events -A > diagnostics/events.txt
    kubectl logs -n my-namespace -l app=my-operator > diagnostics/operator.log
    kubectl get pods -A -o wide > diagnostics/pods.txt
    # ... specific describes ...
- name: Upload Artifacts
  if: failure()
  uses: actions/upload-artifact@v4
  with:
    name: diagnostics-dump
    path: diagnostics/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions