{"action":"created","issue":{"url":"https://api.github.com/repos/metalmatze/alertmanager-bot/issues/6","repository_url":"https://api.github.com/repos/metalmatze/alertmanager-bot","labels_url":"https://api.github.com/repos/metalmatze/alertmanager-bot/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/metalmatze/alertmanager-bot/issues/6/comments","events_url":"https://api.github.com/repos/metalmatze/alertmanager-bot/issues/6/events","html_url":"https://github.com/metalmatze/alertmanager-bot/issues/6","id":265567293,"number":6,"title":"build error ","user":{"login":"freeseacher","id":289277,"avatar_url":"https://avatars0.githubusercontent.com/u/289277?v=4","gravatar_id":"","url":"https://api.github.com/users/freeseacher","html_url":"https://github.com/freeseacher","followers_url":"https://api.github.com/users/freeseacher/followers","following_url":"https://api.github.com/users/freeseacher/following{/other_user}","gists_url":"https://api.github.com/users/freeseacher/gists{/gist_id}","starred_url":"https://api.github.com/users/freeseacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeseacher/subscriptions","organizations_url":"https://api.github.com/users/freeseacher/orgs","repos_url":"https://api.github.com/users/freeseacher/repos","events_url":"https://api.github.com/users/freeseacher/events{/privacy}","received_events_url":"https://api.github.com/users/freeseacher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-15T12:10:39Z","updated_at":"2017-10-16T16:49:22Z","closed_at":"2017-10-16T16:49:22Z","author_association":"NONE","body":"hi!\r\n\r\ntrying to build bot from sources with \r\n```\r\ndocker run -ti -golang:alpine sh\r\napk add --update git\r\ngo get github.com/metalmatze/alertmanager-bot\r\n```\r\ngot an error\r\n```\r\n# github.com/metalmatze/alertmanager-bot\r\nsrc/github.com/metalmatze/alertmanager-bot/alerts.go:40:2: invalid case \"github.com/prometheus/common/model\".AlertFiring in switch on a.Alert.Status() (mismatched types \"github.com/prometheus/common/model\".AlertStatus and \"github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/model\".AlertStatus)\r\nsrc/github.com/metalmatze/alertmanager-bot/alerts.go:43:2: invalid case \"github.com/prometheus/common/model\".AlertResolved in switch on a.Alert.Status() (mismatched types \"github.com/prometheus/common/model\".AlertStatus and \"github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/model\".AlertStatus)\r\nsrc/github.com/metalmatze/alertmanager-bot/webhook.go:54:10: cannot use \"github.com/prometheus/common/model\".Alert literal (type \"github.com/prometheus/common/model\".Alert) as type \"github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/model\".Alert in field value\r\n```"},"comment":{"url":"https://api.github.com/repos/metalmatze/alertmanager-bot/issues/comments/336949252","html_url":"https://github.com/metalmatze/alertmanager-bot/issues/6#issuecomment-336949252","issue_url":"https://api.github.com/repos/metalmatze/alertmanager-bot/issues/6","id":336949252,"user":{"login":"metalmatze","id":872251,"avatar_url":"https://avatars1.githubusercontent.com/u/872251?v=4","gravatar_id":"","url":"https://api.github.com/users/metalmatze","html_url":"https://github.com/metalmatze","followers_url":"https://api.github.com/users/metalmatze/followers","following_url":"https://api.github.com/users/metalmatze/following{/other_user}","gists_url":"https://api.github.com/users/metalmatze/gists{/gist_id}","starred_url":"https://api.github.com/users/metalmatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalmatze/subscriptions","organizations_url":"https://api.github.com/users/metalmatze/orgs","repos_url":"https://api.github.com/users/metalmatze/repos","events_url":"https://api.github.com/users/metalmatze/events{/privacy}","received_events_url":"https://api.github.com/users/metalmatze/received_events","type":"User","site_admin":false},"created_at":"2017-10-16T16:49:22Z","updated_at":"2017-10-16T16:49:22Z","author_association":"OWNER","body":"I don't really get what you're trying to say. I'm doing exactly that with drone. I need drone because it also runs the tests before actually building the docker container. Additionally I want this to be done on a git push and not do it manually on my machine."}}
{"actor":{"display_login":"metalmatze"}}