Surender Singh (CodeToastDev) Ответов: 1

Полное развертывание против инкрементного развертывания плюсы и минусы


I work in a team that heavy supports full deployment procedures for .NET application maintenance projects. That means taking everything from TFS, build it and dump it on the Web server. It also requires overloading TFS with keeping every file from website including images, third party dlls, temp files that are not part of source code because that may risk overwriting or deletion during next deployment. It is causing issues like larger downtime, testing, full backups, full rollbacks, configuration issues, unexpected errors. As the project includes 250+ folders, 1400+ files and 80+ DLLs. Every time deployment made, it changes Modification dates on each file and it becomes impossible to validate which file/configuration change caused the problem if it happens and then we have to do full rollback. All our fixes/changes are limited to max 1-2 files or DLLs weekly. I feel Incremental deployment works better in our case, that means compare/validate and replace only the files supposed to be replaced. It also reduce chance of breaking somethings else that was not part of the change release. The only drawback I see that it may lead to differences between TFS and the Server. But the risk can be reduced by monthly file comparisons/audit through tools to check discrepancy if something not checked into TFS that supposed too, which we need to perform activity even with Full deployment procedures.

Пожалуйста, предложите наилучшую возможную стратегию развертывания для наших проектов технического обслуживания.

Что я уже пробовал:

Я рекомендовал процедуру инкрементного развертывания, чтобы уменьшить проблемы развертывания и усилия по тестированию.

1 Ответов

Рейтинг:
0