{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/3395","labels_url":"https://api.github.com/repos/deis/deis/issues/3395/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/3395/comments","events_url":"https://api.github.com/repos/deis/deis/issues/3395/events","html_url":"https://github.com/deis/deis/issues/3395","id":65231313,"number":3395,"title":"Proposal ref(builder): do not build slugbuilder and slugrunner locally","user":{"login":"aledbf","id":161571,"avatar_url":"https://avatars.githubusercontent.com/u/161571?v=3","gravatar_id":"","url":"https://api.github.com/users/aledbf","html_url":"https://github.com/aledbf","followers_url":"https://api.github.com/users/aledbf/followers","following_url":"https://api.github.com/users/aledbf/following{/other_user}","gists_url":"https://api.github.com/users/aledbf/gists{/gist_id}","starred_url":"https://api.github.com/users/aledbf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aledbf/subscriptions","organizations_url":"https://api.github.com/users/aledbf/orgs","repos_url":"https://api.github.com/users/aledbf/repos","events_url":"https://api.github.com/users/aledbf/events{/privacy}","received_events_url":"https://api.github.com/users/aledbf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deis/deis/labels/builder","name":"builder","color":"207de5"},{"url":"https://api.github.com/repos/deis/deis/labels/proposal","name":"proposal","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/deis/deis/milestones/37","html_url":"https://github.com/deis/deis/milestones/v1.6","labels_url":"https://api.github.com/repos/deis/deis/milestones/37/labels","id":1003408,"number":37,"title":"v1.6","description":"","creator":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":6,"state":"open","created_at":"2015-03-03T04:27:19Z","updated_at":"2015-04-10T19:08:59Z","due_on":"2015-05-05T06:00:00Z","closed_at":null},"comments":2,"created_at":"2015-03-30T14:56:59Z","updated_at":"2015-04-10T19:11:19Z","closed_at":null,"body":"It could possible to interact with ceph (S3) and just download pre-built files containing the `slugbuilder` and `slugrunner` images and add those files in the `deis-registry` bucket.\r\n\r\nThis will avoid the i/o issues building the images, reduce the `deis-builder` size and optionally it could be possible to download the images and host that from a local server.\r\n\r\nThis makes sense?"},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/91654924","html_url":"https://github.com/deis/deis/issues/3395#issuecomment-91654924","issue_url":"https://api.github.com/repos/deis/deis/issues/3395","id":91654924,"user":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T19:11:19Z","updated_at":"2015-04-10T19:11:19Z","body":"So here's what I explained in the meeting yesterday about why this is necessary:\r\n\r\nIn previous versions, you had to specify an etcd key to pull in both slugrunner and slugbuilder into the builder. However as we all have known by now, `docker pull` requires network bandwidth, which in some cases - like when you're running a local vagrant cluster or DockerHub is down - can be slow at times. Therefore, building the images themselves directly inside builder actually sped up the boot process rather than slowed it down. It also made hacking on the builder a lot easier; one would just modify the source, re-compile builder and their changes were available.\r\n\r\nIn short, I think it's a *great* thing that it's being built inside the builder. We're looking to improve the builder boot pipeline, however. #3453 is just one step in the right direction, IMO (pushing slugrunner to the registry is probably the slowest operation the builder's doing right now)."}}