{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/644","labels_url":"https://api.github.com/repos/progrium/dokku/issues/644/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/644/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/644/events","html_url":"https://github.com/progrium/dokku/issues/644","id":39473573,"number":644,"title":"private git submodule fails ","user":{"login":"michaelshobbs","id":4491438,"avatar_url":"https://avatars.githubusercontent.com/u/4491438?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelshobbs","html_url":"https://github.com/michaelshobbs","followers_url":"https://api.github.com/users/michaelshobbs/followers","following_url":"https://api.github.com/users/michaelshobbs/following{/other_user}","gists_url":"https://api.github.com/users/michaelshobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelshobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelshobbs/subscriptions","organizations_url":"https://api.github.com/users/michaelshobbs/orgs","repos_url":"https://api.github.com/users/michaelshobbs/repos","events_url":"https://api.github.com/users/michaelshobbs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelshobbs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/progrium/dokku/labels/documentation","name":"documentation","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-05T00:08:25Z","updated_at":"2015-01-14T03:56:47Z","closed_at":null,"body":"I'm trying to deploy a repo with a private submodule. It fails of course.\r\n```\r\ngit push dokku@localhost:dokku.example.com master\r\nCounting objects: 8, done.\r\nDelta compression using up to 2 threads.\r\nCompressing objects: 100% (5/5), done.\r\nWriting objects: 100% (6/6), 655 bytes, done.\r\nTotal 6 (delta 3), reused 4 (delta 1)\r\n-----> Cleaning up ...\r\n-----> Building dokku.example.com ...\r\nremote: HEAD is now at 2e28837... submodule for testing\r\nremote: Host key verification failed.\r\nremote: fatal: The remote end hung up unexpectedly\r\nremote: Clone of 'git@github.com:example/nodecore' into submodule path 'nodecore' failed\r\nTo dokku@localhost:dokku.example.com\r\n ! [remote rejected] master -> master (pre-receive hook declined)\r\nerror: failed to push some refs to 'dokku@localhost:dokku.example.com'\r\n```\r\n\r\nI've read progrium/dokku#314. However, embedding the username and password in the repo is not an option. \r\n\r\nI'm running both [dokku-deployment-keys](https://github.com/cedricziel/dokku-deployment-keys) and [dokku-hostkeys-plugin](https://github.com/cedricziel/dokku-hostkeys-plugin). So, at first glance, I figured we just needed to run these plugins before the app gets built. Unfortunately there is currently no way of doing this. See [here](https://github.com/progrium/dokku/blob/master/dokku#L32-L37). \r\n\r\nSo, one approach might be to break lines 33-35 into a new built-in plugin and subsequently move the aforementioned key plugins into a new phase that is called by the build-in.\r\n\r\nThoughts on this? Is this interesting to anyone else or am I off my rocker?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/69865753","html_url":"https://github.com/progrium/dokku/issues/644#issuecomment-69865753","issue_url":"https://api.github.com/repos/progrium/dokku/issues/644","id":69865753,"user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T03:56:47Z","updated_at":"2015-01-14T03:56:47Z","body":"@michaelshobbs Mind making a documentation change for this?"}}