{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/1049","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/1049/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/1049/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/1049/events","html_url":"https://github.com/medic/medic-webapp/issues/1049","id":93288870,"number":1049,"title":"Automate building of DIY installer","user":{"login":"abbyad","id":789512,"avatar_url":"https://avatars.githubusercontent.com/u/789512?v=3","gravatar_id":"","url":"https://api.github.com/users/abbyad","html_url":"https://github.com/abbyad","followers_url":"https://api.github.com/users/abbyad/followers","following_url":"https://api.github.com/users/abbyad/following{/other_user}","gists_url":"https://api.github.com/users/abbyad/gists{/gist_id}","starred_url":"https://api.github.com/users/abbyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbyad/subscriptions","organizations_url":"https://api.github.com/users/abbyad/orgs","repos_url":"https://api.github.com/users/abbyad/repos","events_url":"https://api.github.com/users/abbyad/events{/privacy}","received_events_url":"https://api.github.com/users/abbyad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/3%20-%20Acceptance%20testing","name":"3 - Acceptance testing","color":"bfdadc"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Technical%20Debt","name":"Technical Debt","color":"7a5887"}],"state":"closed","locked":false,"assignee":{"login":"abbyad","id":789512,"avatar_url":"https://avatars.githubusercontent.com/u/789512?v=3","gravatar_id":"","url":"https://api.github.com/users/abbyad","html_url":"https://github.com/abbyad","followers_url":"https://api.github.com/users/abbyad/followers","following_url":"https://api.github.com/users/abbyad/following{/other_user}","gists_url":"https://api.github.com/users/abbyad/gists{/gist_id}","starred_url":"https://api.github.com/users/abbyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbyad/subscriptions","organizations_url":"https://api.github.com/users/abbyad/orgs","repos_url":"https://api.github.com/users/abbyad/repos","events_url":"https://api.github.com/users/abbyad/events{/privacy}","received_events_url":"https://api.github.com/users/abbyad/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/29","html_url":"https://github.com/medic/medic-webapp/milestones/Iteration%202015-28:%20CHW%20Mobile%20Application,%20DIY%20Release%20Engineering","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/29/labels","id":1195805,"number":29,"title":"Iteration 2015-28: CHW Mobile Application, DIY Release Engineering","description":"","creator":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":20,"state":"closed","created_at":"2015-07-06T22:03:55Z","updated_at":"2015-08-03T08:00:33Z","due_on":"2015-07-20T07:00:00Z","closed_at":"2015-07-20T22:00:07Z"},"comments":5,"created_at":"2015-07-06T14:10:51Z","updated_at":"2015-08-03T08:01:04Z","closed_at":"2015-08-03T08:00:33Z","body":"The DIY installer is currently built on a Windows machine with a mix of manual and scripted steps. We should automate this build process and publish an exe whenever any component or subproject gets updated.\r\n\r\nThe main repo is [medic/medic-msi](https://github.com/medic/medic-msi), subprojects are:\r\n- [medic/medic-launchpad](https://github.com/medic/medic-launchpad)\r\n- [abbyad/vmware-helper](https://github.com/abbyad/vmware-helper)\r\n- [abbyad/winsw](https://github.com/abbyad/winsw)\r\n\r\nAdditional binaries are currently kept locally, but should be loaded at build time. We can host these files on S3.\r\n\r\nI am testing a build on an EC2 Windows Server 2012 AMI, but ideally this could be run using a CI platform. Otherwise we can schedule a task on the EC2 instance.\r\n\r\n-----\r\n\r\n# Steps to automation:\r\n```\r\n[x] install jenkins\r\n[x] automate build: abbyad/vmware-helper\r\n[x] automate build: abbyad/winsw\r\n[x] automate build: medic/medic-launchpad\r\n[x] automate build: medic/medic-msi`\r\n  [x] build `.msi` file\r\n  [x] build NSIS installer `.exe`\r\n  [x] publish built `.exe` to S3\r\n[x] commit jenkins config to version control\r\n[x] document windows server setup in relevant git repo\r\n[x] allow config of `medic-os` version when launching a `medic-msi` build"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/127154474","html_url":"https://github.com/medic/medic-webapp/issues/1049#issuecomment-127154474","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/1049","id":127154474,"user":{"login":"alxndrsn","id":191496,"avatar_url":"https://avatars.githubusercontent.com/u/191496?v=3","gravatar_id":"","url":"https://api.github.com/users/alxndrsn","html_url":"https://github.com/alxndrsn","followers_url":"https://api.github.com/users/alxndrsn/followers","following_url":"https://api.github.com/users/alxndrsn/following{/other_user}","gists_url":"https://api.github.com/users/alxndrsn/gists{/gist_id}","starred_url":"https://api.github.com/users/alxndrsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxndrsn/subscriptions","organizations_url":"https://api.github.com/users/alxndrsn/orgs","repos_url":"https://api.github.com/users/alxndrsn/repos","events_url":"https://api.github.com/users/alxndrsn/events{/privacy}","received_events_url":"https://api.github.com/users/alxndrsn/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T08:01:04Z","updated_at":"2015-08-03T08:01:04Z","body":"Have updated so:\r\n* NSIS installer `.exe` is uploaded instead of `.msi`\r\n* `medic-os` version is chosen at build time"}}