-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve 'Please run' messages in the CI #48365
Conversation
@@ -72,6 +72,9 @@ help: ## Display this help. | |||
|
|||
##@ Development | |||
|
|||
.PHONY: crd ## Single command to generate anything CRD-related (manifests and docs) | |||
crd: crdgen crd-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nice.
Please backport this so workflows don't change between branches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 will backport the PR to every env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Alan Parra <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a couple of small suggestions.
@@ -72,6 +72,9 @@ help: ## Display this help. | |||
|
|||
##@ Development | |||
|
|||
.PHONY: crd ## Single command to generate anything CRD-related (manifests and docs) | |||
crd: crdgen crd-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Alan Parra <[email protected]>
Co-authored-by: Alan Parra <[email protected]>
@hugoShaka See the table below for backport results.
|
* Improve 'Please run error' * add missing file * fix script * Apply suggestions from code review Co-authored-by: Alan Parra <[email protected]> * address alan's feedback * Update Makefile Co-authored-by: Alan Parra <[email protected]> * Update build.assets/please-run.sh Co-authored-by: Alan Parra <[email protected]> --------- Co-authored-by: Alan Parra <[email protected]>
* Improve 'Please run error' * add missing file * fix script * Apply suggestions from code review Co-authored-by: Alan Parra <[email protected]> * address alan's feedback * Update Makefile Co-authored-by: Alan Parra <[email protected]> * Update build.assets/please-run.sh Co-authored-by: Alan Parra <[email protected]> --------- Co-authored-by: Alan Parra <[email protected]>
* Improve 'Please run error' * add missing file * fix script * Apply suggestions from code review * address alan's feedback * Update Makefile * Update build.assets/please-run.sh --------- Co-authored-by: Alan Parra <[email protected]>
* Improve 'Please run error' * add missing file * fix script * Apply suggestions from code review * address alan's feedback * Update Makefile * Update build.assets/please-run.sh --------- Co-authored-by: Alan Parra <[email protected]>
Quality of life changes: Teleport devs kept missing the "please run X" messages hidden in the action logs.
This PR adds a small helper that:
This does not cover the Helm reference yet because the diff mechanism is a bit different. I might do more of this in the future if people think this helps (e.g. the license error).
What the error message looks like in the PR:
Example of collapsed logs in GHA:
Demo PR