{"action":"created","issue":{"url":"https://api.github.com/repos/drone/drone/issues/1117","labels_url":"https://api.github.com/repos/drone/drone/issues/1117/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/1117/comments","events_url":"https://api.github.com/repos/drone/drone/issues/1117/events","html_url":"https://github.com/drone/drone/issues/1117","id":98653527,"number":1117,"title":"Any plan to support tag_push_event of gitlab?","user":{"login":"depay","id":8790373,"avatar_url":"https://avatars.githubusercontent.com/u/8790373?v=3","gravatar_id":"","url":"https://api.github.com/users/depay","html_url":"https://github.com/depay","followers_url":"https://api.github.com/users/depay/followers","following_url":"https://api.github.com/users/depay/following{/other_user}","gists_url":"https://api.github.com/users/depay/gists{/gist_id}","starred_url":"https://api.github.com/users/depay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depay/subscriptions","organizations_url":"https://api.github.com/users/depay/orgs","repos_url":"https://api.github.com/users/depay/repos","events_url":"https://api.github.com/users/depay/events{/privacy}","received_events_url":"https://api.github.com/users/depay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T01:41:45Z","updated_at":"2015-08-03T02:38:06Z","closed_at":null,"body":"As we wanna trigger some action by gitlab tag event, e.g. building&pushing docker image,  tag_push_event supporting is required. \r\n\r\ni've submit a PR in Bugagazavr/go-gitlab-client to support tag_push_event by go-gitlab-client. https://github.com/Bugagazavr/go-gitlab-client/pull/11"},"comment":{"url":"https://api.github.com/repos/drone/drone/issues/comments/127103942","html_url":"https://github.com/drone/drone/issues/1117#issuecomment-127103942","issue_url":"https://api.github.com/repos/drone/drone/issues/1117","id":127103942,"user":{"login":"bradrydzewski","id":817538,"avatar_url":"https://avatars.githubusercontent.com/u/817538?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrydzewski","html_url":"https://github.com/bradrydzewski","followers_url":"https://api.github.com/users/bradrydzewski/followers","following_url":"https://api.github.com/users/bradrydzewski/following{/other_user}","gists_url":"https://api.github.com/users/bradrydzewski/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrydzewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrydzewski/subscriptions","organizations_url":"https://api.github.com/users/bradrydzewski/orgs","repos_url":"https://api.github.com/users/bradrydzewski/repos","events_url":"https://api.github.com/users/bradrydzewski/events{/privacy}","received_events_url":"https://api.github.com/users/bradrydzewski/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T02:38:06Z","updated_at":"2015-08-03T02:38:06Z","body":"Yes, I started laying the groundwork in the next release for such a feature. I've added the ability to enable a repository to build tags (similar to pull requests and pushes):\r\nhttps://github.com/drone/drone/blob/0.4-database/pkg/types/repo.go#L60:L64\r\n\r\nI've also updated the git plugin to fetch refs, which enables tags:\r\nhttps://github.com/drone-plugins/drone-git/blob/master/main.go#L139:L146\r\n\r\nI've also removed database restrictions that exist in 0.3 (current stable) that prevent this feature.\r\n\r\nIn addition to the above changes, we'll need the ability to restrict publish and deploy steps to tags. We'll need to alter the `Condition` structure which exposes conditional logic in the yaml:\r\nhttps://github.com/drone-plugins/drone-git/blob/master/main.go#L139:L146\r\n\r\nSecond, each plugin (GitHub, Bitbucket, etc) needs the ability to enable tag hooks. I believe this is already the case with GitHub, but we'll need to do the same with other systems.\r\n\r\nThird, each plugin needs to be able to correctly parse the hooks and convert to a build object. This will need to be implemented for each as well.\r\n\r\nAnd last, we'll need to add a toggle to the user interface to enable / disable executing builds for tags. I believe it should be off by default, and something that can be manually enabled in the repository settings screen.\r\n\r\nThis isn't an immediate priority for me since I'm still trying to get a working version of 0.4 release before adding new features, but those are the required steps if anyone wants to jump in and start enabling this feature :)"}}