4 ms·
Twenty years ago, deployment of a new version of a web app means FTP'ing a new php file to the server.
by kccqzy 7y ago
Twenty years ago, deployment of a new version of a web app means FTP'ing a new php file to the server.
- eloisant 7y agoWell, you're free to deploy like this (but you probably know why it's a very bad idea).
- somehnguy 7y agoFeel free to explain why
- adrianN 7y agoAuditing what was changed and which version is currently in production is a bit harder than it has to be.
- stabbles 7y agoYet another reason is FTP turned out to be inherently unsafe.
- jszymborski 7y agoSFTP, however, has FTP feature parity and is secure as SSH (since it is ostensibly SSH).
- viraptor 7y agoCopying of multiple files is not atomic. You need to ensure a file with func1 exists before another file calling func1 gets copied. You can do it atomically by having 2 directories and swapping a symlink, but... that's a scriptable pipeline at that point.
- pikzel 7y agoWhich wasn't a bad thing after all. I've had more incidents with deployment pipelines than with the actual code.
- dharmab 7y agoMostly because people forget that pipelines are code and need documentation, tests and software engineering practices just like any code.