-
Notifications
You must be signed in to change notification settings - Fork 13
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
html-proofer: Remove error-sort flag to restore error verbosity #47
html-proofer: Remove error-sort flag to restore error verbosity #47
Conversation
Here is an example from my build pipeline, where |
e75cabd
to
af35614
Compare
* `error-sort` is by default set to an empty string * `--error-sort` is only invoked in the run step if a parameter is passed; otherwise, it is omitted Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit changes the `error-sort` flag to use an empty parameter in the `html-proofer` command. This causes HTML-Proofer to show specific error messages in CircleCI build logs, where the current behavior is to suppress error messages. The current default behavior makes it difficult to debug errors from HTML-Proofer in a failing CI pipeline. Debugging requires clone the repository and running HTML-Proofer locally to see error messages. This is an uncommon flag to use for HTML-Proofer, and I think it does not do exactly what it is expected to do, so the best option appears to be setting the parameter as blank. Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
2ce2d29
to
99c75f8
Compare
@jwflory - I'm no longer a maintainer here. @FelicianoTech, @KyleTryon |
Hi @FelicianoTech and @KyleTryon, any chance you can help this move forward? Without this change, HTMLProofer prints no logs in CircleCI and makes it very hard to debug for people on our team who are not Hugo-savvy. |
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit converts this conceptual repository into a prototype project. This uses the Hugo static site generator to create a quick website for evaluating and rating the performance of UNICEF portfolio companies in a report card-like setting. It uses the UNICEF Inventory Hugo theme to accomplish this. Related to #1. Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]> :bug: :wrench: ci: Fix Shellcheck warnings in deploy script Warnings identified by @iperdomo in PR #2. Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]> :alembic: :wrench: ci: Use verbose HTML-Proofer error messages in logs This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit converts this conceptual repository into a prototype project. This uses the Hugo static site generator to create a quick website for evaluating and rating the performance of UNICEF portfolio companies in a report card-like setting. It uses the UNICEF Inventory Hugo theme to accomplish this. Related to #1. Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]> :bug: :wrench: ci: Fix Shellcheck warnings in deploy script Warnings identified by @iperdomo in PR #2. Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]> :alembic: :wrench: ci: Use verbose HTML-Proofer error messages in logs This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
This commit updates the CircleCI Hugo orb to v1.3.0. This change incorporates changes I made upstream in the Hugo orb so HTML-Proofer will print verbose error messages if there is a failure. Currently, error messages are suppressed in the CircleCI logs and this makes debugging difficult. Additionally, the `asciidoc` binary is now included in the container image used in this build, so specifying the Asciidoc parameter in the CircleCI config is no longer necessary. Related GitHub Pull Requests: * CircleCI-Public/hugo-orb#47 * CircleCI-Public/hugo-orb#48 * CircleCI-Public/hugo-orb#50 Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
Checklist
Motivation, issues
This commit removes the
error-sort
flag from thehtmlproofer
commandin order to restore logs from HTML Proofer in the Circle CI build
report.
The current behavior with this flag added is to suppress all error
messages, which is not helpful when you have a failing CI pipeline from
HTML Proofer. To debug requires a local checkout of the repo and to
manually run HTML Proofer to see the errors.
Description
I tested this change locally and verified that removing this flag
restores the errors in log messages. This is an uncommon flag to use for
HTML Proofer, and I think it does not do exactly what it is expected to
do, so the best option appears to be removing it, thus simplifying what
needs to be maintained here.