Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Collect logs at the end of GitHub Actions Workflow CI #191

Open
font opened this issue Aug 5, 2021 · 0 comments
Open

Collect logs at the end of GitHub Actions Workflow CI #191

font opened this issue Aug 5, 2021 · 0 comments

Comments

@font
Copy link
Member

font commented Aug 5, 2021

Collect logs for the gatekeeper operator controller manager using something like:

kubectl logs -n <namespace> -l control-plane=gatekeeper-operator-controller-manager --tail=-1 > logs-controller.json

Then use the actions/upload-artifact@v2 actions to upload the logs artifact.

This will help in debugging any errors in CI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant