14
Continuous Delivery @ SOLEIL

Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Continuous Delivery @ SOLEIL

Page 2: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Soleil context• 30 beamlines 24/7 operation since 10 years• Small Control & Aquisition team• High user pressure to regularly deliver new

features• Continuous Integration since 5 years• Moving to Continuous Delivery

Page 3: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Continuous IntegrationDetecting software defects at earliest stage possible

Version Control System Automated build Team agreement

Page 4: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Continuous DeliveryCode

Build

Unit & Integ tests

AcceptancetestsDeploy

Operate

Monitor

Page 5: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Expected Benefits

Reduce error-proneManual actions

Reduce Time to delivery

Federate TeamControl changesReduce incidents

Page 6: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Our pipeline V1Prod environment

ArtifactRepositoryServer

CI Server

100Exotic

plateform

200 industrialWindows

150OpenVZ

containers

ARCHIVE DEPLOY

Page 7: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Soleil issues

Manymodules

Big packagesToo few

deployments

Few tests Dev team not fullycommited to CD

Too heavydeployment pipeline

Wide variety of production

environments

Page 8: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Pipeline V2: CI platform• Stuck to old versions of our build tool (Maven

2). Big work to upgrade• Try reduce module number• Enhance Team commitment

Page 9: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

UAT

Pipeline V2: UAT

ArtifactRepositoryServer

CI Server

ARCHIVE DEPLOY

Production

Add User Acceptance Test (UAT) plateform

Page 10: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Pipeline V2: deployment• Review packaging• Use automated tools to check for the

conformity of the deployment• Currently studing tools like Chef, Puppet or

CFEngine

Page 11: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Pipeline V2: monitoring• Already monitoring there but no systematic

use• Must be tuned to raise relevants alarms

Page 12: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

DevOpsEnhance collab between Dev & Ops:

– Operationals closer to business requirements– Developers closer to operation

Page 13: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Pipeline V2: Change management• Define a clear changing worflow• Deploy more frequently (every week?)• Will help Reducing operation incident

Page 14: Continuous Delivery at SOLEIL - accelconf.web.cern.chaccelconf.web.cern.ch/AccelConf/ICALEPCS2015/talks/mod3o02_tal… · • Continuous Integration since 5 years • Moving to Continuous

Conclusion• Achieve QoS by implementing CD• Strong conviction required• people first, tools after• small iterative steps