{"action":"opened","issue":{"url":"https://api.github.com/repos/RedHatPerf/qDup/issues/5","repository_url":"https://api.github.com/repos/RedHatPerf/qDup","labels_url":"https://api.github.com/repos/RedHatPerf/qDup/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/RedHatPerf/qDup/issues/5/comments","events_url":"https://api.github.com/repos/RedHatPerf/qDup/issues/5/events","html_url":"https://github.com/RedHatPerf/qDup/issues/5","id":327005911,"number":5,"title":"Malformed yaml causes runtime errors","user":{"login":"rvansa","id":2167869,"avatar_url":"https://avatars0.githubusercontent.com/u/2167869?v=4","gravatar_id":"","url":"https://api.github.com/users/rvansa","html_url":"https://github.com/rvansa","followers_url":"https://api.github.com/users/rvansa/followers","following_url":"https://api.github.com/users/rvansa/following{/other_user}","gists_url":"https://api.github.com/users/rvansa/gists{/gist_id}","starred_url":"https://api.github.com/users/rvansa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvansa/subscriptions","organizations_url":"https://api.github.com/users/rvansa/orgs","repos_url":"https://api.github.com/users/rvansa/repos","events_url":"https://api.github.com/users/rvansa/events{/privacy}","received_events_url":"https://api.github.com/users/rvansa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-28T12:13:21Z","updated_at":"2018-05-28T12:13:21Z","closed_at":null,"author_association":"NONE","body":"I was missing a colon after `upload` in\r\n```yaml\r\nscripts:\r\n  send-run-xml:\r\n    - upload ${{ENV.SCRIPT_DIR}}/assets/run.xml ${{FABAN_CONFIG}}\r\n  restart-database:\r\n    ...\r\n```\r\nwhich resulted in `yaml.json` that looked like\r\n```json\r\n[\r\n  [\r\n    {\r\n      \"lineNumber\": 1,\r\n      \"value\": \"istio - web profile\",\r\n      \"key\": \"name\"\r\n    },\r\n    {\r\n      \"lineNumber\": 2,\r\n      \"key\": \"scripts\",\r\n      \"child\": [[{\r\n        \"lineNumber\": 4,\r\n        \"key\": \"send-run-xml\",\r\n        \"child\": [[{\r\n          \"dashed\": true,\r\n          \"lineNumber\": 5,\r\n          \"key\": \"upload\"\r\n        }]]\r\n      }]]\r\n    },\r\n    {\r\n      \"lineNumber\": 5,\r\n      \"key\": \"${{ENV.SCRIPT_DIR}}/assets/run.xml\"\r\n    },\r\n    {\r\n      \"lineNumber\": 5,\r\n      \"key\": \"${{FABAN_CONFIG}}\",\r\n      \"child\": [[\r\n        {\r\n          \"lineNumber\": 7,\r\n          \"key\": \"restart-database\",\r\n          \"child\": [\r\n            [{\r\n              \"dashed\": true,\r\n              \"lineNumber\": 8,\r\n              \"value\": \"/root/bin/resetdb-stable.sh -s\",\r\n              \"key\": \"sh\"\r\n            }]\r\n```\r\nAnd the config builder failed as some signals were not found. This would deserve better error handling."}}
{"actor":{"display_login":"rvansa"}}