3 ms·
ok, seriously, is "using git push to do a deploy" a thing? WTF?
by _ZeD_ 8y ago
ok, seriously, is "using git push to do a deploy" a thing?
WTF?
- colemickens 8y agoAbsolutely. I can't imagine doing it any other way anymore. https://www.weave.works/blog/gitops-operations-by-pull-request https://www.weave.works/blog/gitops-operations-by-pull-reque... One of the major reasons Kubernetes is a thing is because all of your deployment can be declarative. Deploy-via-Git means I can destroy my entire world and bring it back in a minute or less.
- lioeters 8y agoI git push to deploy stuff regularly..
- TomMarius 8y agoWhat is the correct way in your opinion?
- gregmac 8y agoIf you have code that needs to compile, pull in packages, load configuration or for any other reason can't just run in production from a clean checkout, then the proper way is to go through a CI server (teamcity, Jenkins, Travis, etc), and have a script that gets from your clean checkout to a package/zip that runs in production.