{"action":"created","issue":{"url":"https://api.github.com/repos/concourse/concourse/issues/239","repository_url":"https://api.github.com/repos/concourse/concourse","labels_url":"https://api.github.com/repos/concourse/concourse/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/concourse/concourse/issues/239/comments","events_url":"https://api.github.com/repos/concourse/concourse/issues/239/events","html_url":"https://github.com/concourse/concourse/issues/239","id":123350872,"number":239,"title":"Support for building arbitrary git branches based off regex for branch name (without requiring a GitHub pull request)","user":{"login":"thewoolleyman","id":158,"avatar_url":"https://avatars.githubusercontent.com/u/158?v=3","gravatar_id":"","url":"https://api.github.com/users/thewoolleyman","html_url":"https://github.com/thewoolleyman","followers_url":"https://api.github.com/users/thewoolleyman/followers","following_url":"https://api.github.com/users/thewoolleyman/following{/other_user}","gists_url":"https://api.github.com/users/thewoolleyman/gists{/gist_id}","starred_url":"https://api.github.com/users/thewoolleyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewoolleyman/subscriptions","organizations_url":"https://api.github.com/users/thewoolleyman/orgs","repos_url":"https://api.github.com/users/thewoolleyman/repos","events_url":"https://api.github.com/users/thewoolleyman/events{/privacy}","received_events_url":"https://api.github.com/users/thewoolleyman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concourse/concourse/labels/unscheduled","name":"unscheduled","color":"e4eff7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-12-21T20:24:34Z","updated_at":"2016-06-28T14:04:52Z","closed_at":null,"body":"E.g. like [Circle CI](https://circleci.com/docs/configuration), [Travis CI](https://docs.travis-ci.com/user/customizing-the-build/#sts=Building Specific Branches), and [Jenkins](https://www.cloudbees.com/blog/advanced-git-jenkins) (although [GoCD apparently still doesn't](https://github.com/gocd/gocd/issues/298))\r\n\r\nThis is necessary for our workflows (on the Pivotal Tracker sub-teams), because we often work on feature branches, and want these branches to automatically build, run tests, deploy to a test PWS instance for acceptance, etc., without having to manually add the branches/jobs/etc to the concourse config and redeploy.\r\n\r\nAs an example, we already have this working, implemented as a reusable resource and a reusable job than can perform any arbitrary build tasks for any arbitrary branches:\r\n\r\nhttps://github.com/pivotaltracker/git-branches-resource\r\nhttps://github.com/pivotaltracker/concourse-branch-manager\r\n\r\nThis is all well tested, documented, standalone, and open source.  We would be glad to contribute this back to the Concourse community as soon as [there's a official place to do that](https://github.com/concourse/concourse/issues/191).\r\n\r\nThanks,\r\n-- Chad"},"comment":{"url":"https://api.github.com/repos/concourse/concourse/issues/comments/229058962","html_url":"https://github.com/concourse/concourse/issues/239#issuecomment-229058962","issue_url":"https://api.github.com/repos/concourse/concourse/issues/239","id":229058962,"user":{"login":"thewoolleyman","id":158,"avatar_url":"https://avatars.githubusercontent.com/u/158?v=3","gravatar_id":"","url":"https://api.github.com/users/thewoolleyman","html_url":"https://github.com/thewoolleyman","followers_url":"https://api.github.com/users/thewoolleyman/followers","following_url":"https://api.github.com/users/thewoolleyman/following{/other_user}","gists_url":"https://api.github.com/users/thewoolleyman/gists{/gist_id}","starred_url":"https://api.github.com/users/thewoolleyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewoolleyman/subscriptions","organizations_url":"https://api.github.com/users/thewoolleyman/orgs","repos_url":"https://api.github.com/users/thewoolleyman/repos","events_url":"https://api.github.com/users/thewoolleyman/events{/privacy}","received_events_url":"https://api.github.com/users/thewoolleyman/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T14:04:52Z","updated_at":"2016-06-28T14:04:52Z","body":"@muv yes, the PR resource works, and is a simpler approach, but it has some drawbacks compared to the branch-manager approach (aside from requiring the use of PRs, it's difficult to find and re-run builds for specific branches/PRs).  \r\n\r\nHowever, it is also much less resources intensive (many containers created) than branch-manager, so the PR resource may be a good choice for teams with \r\nmany active branches and sensitivity to resource cost (read: are running on AWS).\r\n\r\n\r\nEverything considered, the lack of official support for building arbitrary branches in an efficient way with a reasonable UX is still a significant barrier to concourse adoption for any team which actively uses feature branches, whether they are via PRs or not."}}
{"actor":{"display_login":"thewoolleyman"}}