Closed itdove closed 5 years ago
Ok, I thiink I found something in the https://github.com/IBM/go-repo-template/blob/b7d8cb4c58d02163466d30e962605bfe75d81113/common/Makefile.common.mk#L62 The MARKDOWN_LINT_WHITELIST
env var is empty and so the XARGS takes the file name to test as a value for the --white-list
Is the MARKDOWN_LINT_WHITELIST have somehow an assigned value on prow environment?
or the --white-list
not set when running on prow?
Setting MARKDOWN_LINT_WHITELIST worked.
1) I think some-line must be added in the https://github.com/IBM/go-repo-template/blob/master/Makefile to explain the use of that variable.
2) the Makefile.common.mk must be fixed to use the --white-list
only when the MARKDOWN_LINT_WHITELIST is set.
When running locally by running
make lint-markdown
, I have no error and these url are not accessible locally.but when running on prow, I have errors: http://35.227.205.240/log?job=check_multicloud-operators-subscription-release&id=1186726070892630018
Why locally the whitelist contains
deployment.md
and in prowdevelopment.md