跟踪部署的应用程序的文件 [英] Tracking deployed application's files
本文介绍了跟踪部署的应用程序的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谢谢
解决方案
我已经使用Git 3年来在HPC生产集群上跟踪/ usr / local。
对于2.2G(主要是二进制文件),需要1分钟运行 git log -n 1; git状态
(通过NFS!)来说服自己,部署后文件未被修改。在本地磁盘上,扫描将需要几秒钟。如果发生变化,我会看到哪些文件和差异(如果不是二进制)。
What do you guys use to deploy and application and track their files in production? I mean tracking if the file was not changed directly in the server?
thanks
解决方案
I have been using Git for 3 years to track /usr/local on a HPC production cluster.
For 2.2G (mostly binaries) it takes 1 minute running git log -n 1; git status
(over NFS!) to convince myself that the files were not modified after deployment. On local disk the scan would take seconds. If change did happen, I see which files and diffs (if it's not binary).
这篇关于跟踪部署的应用程序的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文