欢迎来到天天文库
浏览记录
ID:34567751
大小:1.25 MB
页数:6页
时间:2019-03-08
《Continuous Integration - Patterns and Anti-patterns.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、broughttoyouby...#84Aldon®Change.Collaborate.Comply.CONTENTSINCLUDE:nAboutContinuousIntegrationnBuildSoftwareatEveryChangeContinuousIntegration:nPatternsandAnti-patternsnVersionControlnBuildManagementPatternsandAnti-PatternsnBuildPracticesandmore...ByPaulM.DuvallVisi
2、trefcardz.comPatternDescriptionABOUTCONTINUOUSINTEGRATIONPrivateWorkspaceDevelopsoftwareinaPrivateWorkspacetoisolatechangesContinuousIntegration(CI)istheprocessofbuildingsoftwareRepositoryCommitallfilestoaversion-controlrepositorywitheverychangecommittedtoaproject’sv
3、ersioncontrolMainlineDeveloponamainlinetominimizemergingandtomanageactivecodelinesrepository.CodelinePolicyDevelopingsoftwarewithinasystemthatutilizesmultiplecodelinesCIcanbeexplainedviapatterns(i.e.,asolutiontoaprobleminaparticularcontext)andanti-patterns(i.e.,ineff
4、ectiveTask-LevelCommitOrganizesourcecodechangesbytask-orientedunitsofworkandsubmitchangesasaTaskLevelCommitapproachessometimesusedto“fix”theparticularproblem)LabelBuildLabelthebuildwithuniquenameassociatedwiththeprocess.Anti-patternsaresolutionsthatAutomatedBuildAuto
5、mateallactivitiestobuildsoftwarefromsourcewithoutappeartobebeneficial,but,intheend,theytendtoproducemanualconfigurationadverseeffects.Theyarenotnecessarilybadpractices,butcanMinimalDependenciesReducepre-installedtooldependenciestothebareminimumproduceunintendedresult
6、swhencomparedtoimplementingBinaryIntegrityForeachtaggeddeployment,usethesamedeploymentthepattern.package(e.g.WARorEAR)ineachtargetenvironmentDependencyManagementCentralizealldependentlibrariesContinuousIntegrationTemplateVerifierCreateasingletemplatefilethatalltarget
7、environmentWhiletheconventionaluseofthetermContinuousIntegrationpropertiesarebasedongenerallyreferstothe“buildandtest”cycle,thisRefcardStagedBuildsRunremotebuildsintodifferenttargetenvironmentsexpandsonthenotionofCItoincludeconceptssuchasPrivateBuildPerformaPrivateBu
8、ildbeforecommittingchangestotheDeploymentandProvisioning.TheendresultislearningRepositorywhetheryouarecapableofdeliveringworkingsof
此文档下载收益归作者所有