-
Notifications
You must be signed in to change notification settings - Fork 53
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
When user provides invalid files, the error does not mention which files are invalid and why #74
Comments
Hello @scoheb. This error would result from the following conditions:
The code that produced this log can be seen here. We could update the message to report that one of the conditions above was not met. |
@awgreene The above text would be good to output to the user. Even better would be your suggestion of |
request we say -which- file is not a valid yaml file if possible |
also i assume you are using a custom config for linting? I get hard errors from yammlint like 23:81 error line too long (3902 > 80 characters) (line-length) but obviously this is required due to the base64 encoded images in the yaml. So I think we need detailed yaml lint output reported so we know what issues actually are considered errrors by operator-courier. |
(tmp-XVr6zr33) shebert@localhost/tmp/scott:$ operator-courier -v
1.2.0
(tmp-XVr6zr33) shebert@localhost/tmp/scott:$ operator-courier verify .
ERROR:operatorcourier.identify:Courier requires valid CSV, CRD, and Package files
Courier requires valid CSV, CRD, and Package files
The text was updated successfully, but these errors were encountered: