Re:How Dark Deploys Code in 50ms
by eloisant on Thursday July 11, 2019 @07:20AM
(#20410682)
Well, you're free to deploy like this (but you probably know why it's a very bad idea).
[ Parent
| on HN ]
Feel free to explain why
Auditing what was changed and which version is currently in production is a bit harder than it has to be.
Copying 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.
Yet another reason is FTP turned out to be inherently unsafe.
Re:How Dark Deploys Code in 50ms
by jszymborski on Thursday July 11, 2019 @12:30PM
(#20412912)
SFTP, however, has FTP feature parity and is secure as SSH (since it is ostensibly SSH).