ContinuousIntegrationandDeployment

上传人:汽*** 文档编号:588054922 上传时间:2024-09-07 格式:PPT 页数:39 大小:3.07MB
返回 下载 相关 举报
ContinuousIntegrationandDeployment_第1页
第1页 / 共39页
ContinuousIntegrationandDeployment_第2页
第2页 / 共39页
ContinuousIntegrationandDeployment_第3页
第3页 / 共39页
ContinuousIntegrationandDeployment_第4页
第4页 / 共39页
ContinuousIntegrationandDeployment_第5页
第5页 / 共39页
点击查看更多>>
资源描述

《ContinuousIntegrationandDeployment》由会员分享,可在线阅读,更多相关《ContinuousIntegrationandDeployment(39页珍藏版)》请在金锄头文库上搜索。

1、1AVANTGARDDRIVEEFFICIENCIES &PRODUCTIVITYUNLOCKHIDDEN CASHGAIN GLOBALVISIBILITY OF CASH & RISKFOSTERCONNECTIVITYCONTINUOUS INTEGRATION AND DELIVERY Gareth MercerDirector of Software Development2CONTINUOUS INTEGRATION AND DELIVERYProcessStoryProductionCode ChangeWhat happens between a code change and

2、 production?Integration and Delivery3CONTINUOUS INTEGRATION AND DELIVERYAnd the Continuous?Every code change leads to a potential release.Its a continual process.4CONTINUOUS INTEGRATION AND DELIVERYCode ChangeSVNBuildUnit TestDeploy to TestManual TestConduit TestDeploy to InfinityProduction5Principl

3、es6CONTINUOUS INTEGRATION AND DELIVERYPrinciple #1Create a repeatable, reliable process for releasing software.7CONTINUOUS INTEGRATION AND DELIVERYPrinciple #2Automate almost everything.8CONTINUOUS INTEGRATION AND DELIVERYPrinciple #3Keep everything in version control.9CONTINUOUS INTEGRATION AND DEL

4、IVERYPrinciple #4If it hurts, do it more frequently and bring the pain forward.10CONTINUOUS INTEGRATION AND DELIVERYPrinciple #5Build Quality In.11CONTINUOUS INTEGRATION AND DELIVERYPrinciple #6Done means released.12CONTINUOUS INTEGRATION AND DELIVERYPrinciple #7Everybody is responsible for the deli

5、very process.13CONTINUOUS INTEGRATION AND DELIVERYPrinciple #8Continuous Improvement.14Continuous Integration and Delivery15CONTINUOUS INTEGRATION AND DELIVERYContinuous Integration and DeliveryWhat might the process look like?16CONTINUOUS INTEGRATION AND DELIVERYRequirementsVersion Control.An Autom

6、ated Build.Agreement of the Team.17CONTINUOUS INTEGRATION AND DELIVERYCheck In RegularlyCheck in to trunk.Frequent small changes.18CONTINUOUS INTEGRATION AND DELIVERYCheck In ProcessThe pre check in process.Meaningful messages.19CONTINUOUS INTEGRATION AND DELIVERYBuildAutomated process.20CONTINUOUS

7、INTEGRATION AND DELIVERYTestingCommit tests (unit and component).Acceptance tests.Can include integration and performance.Combined should give a high level of confidence in the application.21CONTINUOUS INTEGRATION AND DELIVERYTesting Run automatically.Run quickly.Commit and acceptance tests.Grouped

8、and layered.22CONTINUOUS INTEGRATION AND DELIVERYShort Build and Test ProcessCompile and commit tests 5 mins.Deploy and acceptance tests 30 mins.23CONTINUOUS INTEGRATION AND DELIVERYEssential PracticesDont check in on a broken build.Test locally first.Wait for commit tests before next task.Never go

9、home on a broken build.Be ready to revert.24CONTINUOUS INTEGRATION AND DELIVERYPass v FailDont comment out failing tests!You broke it you fix it!Even if it appears unrelated to your check in.25CONTINUOUS INTEGRATION AND DELIVERYUpgrading DataAutomated.Should be able to undo changes.26CONTINUOUS INTE

10、GRATION AND DELIVERYSystemJenkins.Communication.Wallboards.27CONTINUOUS INTEGRATION AND DELIVERYEnvironmentKeep them all the same test to production.Standard development environment.28CONTINUOUS INTEGRATION AND DELIVERYDependenciesCentral store of external libraries.Manage our own NXG components.29C

11、ONTINUOUS INTEGRATION AND DELIVERYConfigurationApplication, software and environment.Do it at deployment time.Automate it.Use SVN.30CONTINUOUS INTEGRATION AND DELIVERYDeploy to ProductionSame process as used in test.Frequently tested.Controlled.Should be able to undo changes.31CONTINUOUS INTEGRATION

12、 AND DELIVERYp11132Best Practices33CONTINUOUS INTEGRATION AND DELIVERYPractices #1Only build the binaries once.34CONTINUOUS INTEGRATION AND DELIVERYPractices #2Deploy the same way to every environment.35CONTINUOUS INTEGRATION AND DELIVERYPractices #3Smoke Test the deployment.36CONTINUOUS INTEGRATION AND DELIVERYPractices #4Deploy into a copy of production.37CONTINUOUS INTEGRATION AND DELIVERYPractices #5Each change should move all the way alongthe pipeline.38CONTINUOUS INTEGRATION AND DELIVERYPractices #6If anything fails stop.39Next Steps

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 工作计划

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号