Google App Engine now supports Git Push-To-Deploy
developers.google.com
developers.google.com
This flow isn't as smooth as it could be, certainly, but we're hoping it could be useful for small teams or new users. And we'd love to hear your ideas about how to make this even more useful, this is an area under very active development (thus the Preview label)
I deployed my first project to Heroku a few weeks ago, and now my project history has a handful of permanently unremovable junk commits, which I made solely to force Heroku to rebuild my app.
git checkout -b heroku-setup
# make some commits
git push -u heroku heroku-setup:master
# oops, something was wrong
# make some more commits
git push
# ok, everything is working
git rebase -i origin/master
# squash/remove commits
git push -f
# test one last time
git checkout master
git merge --no-ff heroku-setup
git pushhttp://gitready.com/intermediate/2009/01/31/intro-to-rebase....
There is no need for junk commits.
I had a similar setup in place, now I can happily delete most of that code and configuration files.
Maybe the next project can be a tool to automate rebasing published history and force-pushing it to origin? People are always saying you shouldn't do that either.
In the case of App Engine, Heroku, Azure etc, that is all abstracted away from you - as is, in many cases, the concepts of binaries. You just package up and upload some code somehow, and their "mesh" decides where to deploy it and how to run it.
(I know Heroku gives you a little more control over this; with App Engine, you get a config file and a number of instances you can tweak, and that's about it in the general case.)
This is so far available for Python and PHP - not Java or Go.
App Engine creates new app instances when you deploy, so there's no need to care about deleted files, tracked/untracked files on the server, and so on.
Edit: I saw a few comments about original commenter being a MS employee. To be clear, I am a Google Employee (and ex-msft employee) :). But who our employers are is really besides the point. My question about pros and cons still remains.
on a side note, people on hn are outraged by NSA spying on us here, but perfectly happy to search, collect, process, organize and publicly disclose "data" about other people here.
because I can't see it.
The possible existence of personal bias for/against a particular company/technology/person is useful. I don't see how implying that the OP is an employee of a competitor of Google is an ad hominem attack, unless you consider disclosing association wich can cause bias/preference in the topic at hand an attack. I see it merely as a framing device.
> people on hn are outraged by NSA spying on us here, but perfectly happy to search, collect, process, organize and publicly disclose "data" about other people here.
Do you really fail to see the difference between an individual using information that has been made voluntarily public too check somebody up and the systematic monitoring of all public and private communications of people around the world by a single entity?
Azure offers the ability to push to, say, GitHub and have that result in an Azure deployment. For some users that might be a really nice feature, as it ensures they don't end up with code deployed that can't be browsed in their "authoritative" code browser.
Of course, they're both very similar to what Heorku has done more or less since its inception.
[0]: https://developers.google.com/appengine/docs/push-to-deploy
[1]: http://www.windowsazure.com/en-us/develop/net/common-tasks/p...