{"action":"created","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/6056","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6056/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6056/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6056/events","html_url":"https://github.com/TryGhost/Ghost/issues/6056","id":115773726,"number":6056,"title":"Ghost CI","user":{"login":"jgillich","id":347965,"avatar_url":"https://avatars.githubusercontent.com/u/347965?v=3","gravatar_id":"","url":"https://api.github.com/users/jgillich","html_url":"https://github.com/jgillich","followers_url":"https://api.github.com/users/jgillich/followers","following_url":"https://api.github.com/users/jgillich/following{/other_user}","gists_url":"https://api.github.com/users/jgillich/gists{/gist_id}","starred_url":"https://api.github.com/users/jgillich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgillich/subscriptions","organizations_url":"https://api.github.com/users/jgillich/orgs","repos_url":"https://api.github.com/users/jgillich/repos","events_url":"https://api.github.com/users/jgillich/events{/privacy}","received_events_url":"https://api.github.com/users/jgillich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-09T00:48:08Z","updated_at":"2015-12-04T09:34:58Z","closed_at":"2015-11-25T21:04:52Z","body":"A long time ago we [talked](https://github.com/TryGhost/Ghost/issues/1603) about running tests on multiple operating systems using Docker and Jenkins. Today, Travis offers support for docker natively so I though I'd give it a try.\r\n\r\nHere are the results:\r\nhttps://github.com/jgillich/Ghost-CI\r\nhttps://travis-ci.org/jgillich/Ghost-CI\r\n\r\n* Runs tests on 6 different Linux distributions\r\n* Supports multiple versions per distribution\r\n* Works on any CI that provides Docker API access\r\n* Adding new distributions is a matter of minutes\r\n\r\nThe way it works is basically: Render handlebar templates to Dockerfiles, bundle them with Ghost in a tarball, then use the Docker API to build images and run them.\r\n\r\nIt was a fun little project, now the question is can you use any of this? Integrating this in the main repo wouldn't be a good idea because it takes tons of resources, not to mention that it only runs on VMs. I think this would be something to run maybe once a week and before releases."},"comment":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments/161919902","html_url":"https://github.com/TryGhost/Ghost/issues/6056#issuecomment-161919902","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6056","id":161919902,"user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T09:34:58Z","updated_at":"2015-12-04T09:34:58Z","body":"I think this is really cool, but I'm struggling to think of how we can use it. We've been trying to optimise our builds for a while because they take too long and get in the way of development. Also worth noting, we're thinking of pushing towards having a single 'standard' install, which would likely be Ubuntu LTS, with much clearer documentation etc that centres around that one single platform. \r\n\r\nThe idea being that of course, Ghost will work on other platforms, but that documentation, fixes or improvements focused on any other platform would be community led. Ideally, we want to get more people into our [Core Team](https://github.com/TryGhost/Ghost/wiki/Core-Team) so that this sort of thing can happen much more easily.\r\n\r\nWith regard to testing using [chimera](https://github.com/jgillich/chimera), I'm thinking it would be cool to see something like a Ghost-Nightly repo that automatically has master pushed to it each night and runs these multiple builds. Something like this could potentially be used for memory & performance testing as well - something else I'd love to see, but I just haven't had enough time to set it up.\r\n"}}