{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/helm/issues/4205","repository_url":"https://api.github.com/repos/kubernetes/helm","labels_url":"https://api.github.com/repos/kubernetes/helm/issues/4205/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/helm/issues/4205/comments","events_url":"https://api.github.com/repos/kubernetes/helm/issues/4205/events","html_url":"https://github.com/kubernetes/helm/issues/4205","id":331236366,"node_id":"MDU6SXNzdWUzMzEyMzYzNjY=","number":4205,"title":"Structure output of helm lint","user":{"login":"AssafKatz3","id":30897420,"node_id":"MDQ6VXNlcjMwODk3NDIw","avatar_url":"https://avatars2.githubusercontent.com/u/30897420?v=4","gravatar_id":"","url":"https://api.github.com/users/AssafKatz3","html_url":"https://github.com/AssafKatz3","followers_url":"https://api.github.com/users/AssafKatz3/followers","following_url":"https://api.github.com/users/AssafKatz3/following{/other_user}","gists_url":"https://api.github.com/users/AssafKatz3/gists{/gist_id}","starred_url":"https://api.github.com/users/AssafKatz3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AssafKatz3/subscriptions","organizations_url":"https://api.github.com/users/AssafKatz3/orgs","repos_url":"https://api.github.com/users/AssafKatz3/repos","events_url":"https://api.github.com/users/AssafKatz3/events{/privacy}","received_events_url":"https://api.github.com/users/AssafKatz3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T15:23:25Z","updated_at":"2018-06-11T19:44:07Z","closed_at":null,"author_association":"NONE","body":"I would use helm lint as part of our build pipeline and reject in case of errors. Currently \"helm lint\" doesn't allow structure output (JSON, YAML) so it is problematic to integrate it with other systems. We are using Jenkins and [SonarQube ](https://www.sonarqube.org/) so integrate this feature to them is best.\r\n\r\nThe general idea is adding support of -o yaml option and instead get:\r\n\r\n```\r\n == Linting chart-location\r\n [ERROR] Chart.yaml: unable to parse YAML\r\n \terror converting YAML to JSON: yaml: line 2: found character that cannot start any token\r\n [ERROR] templates/: error converting YAML to JSON: yaml: line 2: found character that cannot start any token\r\n``` \r\nThe output will be:\r\n```\r\nchart: chart-location\r\nerrors:\r\n  - file: Chart.yaml\r\n    line: 2\r\n    message: unable to parse YAML. error converting YAML to JSON: yaml: line 2: found character that cannot start any token\r\n  - file: templates/\r\n    line: 2\r\n    message: error converting YAML to JSON: yaml: line 2: found character that cannot start any token\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes/helm/issues/comments/396362995","html_url":"https://github.com/kubernetes/helm/issues/4205#issuecomment-396362995","issue_url":"https://api.github.com/repos/kubernetes/helm/issues/4205","id":396362995,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjM2Mjk5NQ==","user":{"login":"bacongobbler","id":1360539,"node_id":"MDQ6VXNlcjEzNjA1Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/1360539?v=4","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T19:44:07Z","updated_at":"2018-06-11T19:44:07Z","author_association":"COLLABORATOR","body":"Some similar work, but for another project (pylint): https://pylint.readthedocs.io/en/latest/user_guide/output.html "}}
{"actor":{"display_login":"bacongobbler"}}