OpenERP - 1 - elego Software Solutions GmbH - © 2013
Continuous Integration, Test, and Deployment of an
OpenERP-based Project
Michael Götz-Schneider
elego Software Solutions GmbH - © 2013
OpenERP - 2 - elego Software Solutions GmbH - © 2013
Project Setup
• Kjellberg Foundation/Finsterwalde Client
• OpenERP Extensible ERP System
• elego/Berlin Project Management, Software Architecture, Requirement Analysis
• elego/Berlin (3)
• RCS/Massen (3)
• Kjellberg DL/Finsterwalde (2)
Developers
OpenERP - 3 - elego Software Solutions GmbH - © 2013
KjellbergERP DevOps
OpenERP - 4 - elego Software Solutions GmbH - © 2013
Developers Work and Integration
Developer
• Checks out a version of OpenERP 7.0
• Code the addon and test
• Commit and push the addon
to the repository
CI Server
• Detects the new or changed feature branch
• Merges the changes into a workspace copy of the integration branch
• Runs regression tests
• Merges the feature branch into the integration branch, unless a regression is detected
OpenERP - 5 - elego Software Solutions GmbH - © 2013
Integration (ILOG)
OpenERP - 6 - elego Software Solutions GmbH - © 2013
Test and Coverage Results
OpenERP - 7 - elego Software Solutions GmbH - © 2013
Change Sets Concept
OpenERP - 8 - elego Software Solutions GmbH - © 2013
Staging (RELOG)
OpenERP - 9 - elego Software Solutions GmbH - © 2013
Staging: Actions for the Release Engineer
OpenERP - 10 - elego Software Solutions GmbH - © 2013
Production
OpenERP - 11 - elego Software Solutions GmbH - © 2013
Production: Actions for the Release Engineer
OpenERP - 12 - elego Software Solutions GmbH - © 2013
Release Notes
OpenERP - 13 - elego Software Solutions GmbH - © 2013
Traceability
• Mail notifications are sent to developers to inform about integration
results
• Change sets reference issues (tickets) in commit messages, in the
integration log (ILOG), in the release engineering log (RELOG), in the
release notes
• Change sets have a release label
• Release versions are tagged and committed
• Each module has a version number
• OpenERP offers a module/version menu
OpenERP - 14 - elego Software Solutions GmbH - © 2013
Open Issues and Problems
•Many changes from the OpenERP 7.0 code base
•How to separate the incoming changes
•Conflict resolution is not fully implemented
•Test coverage has to be increased
•Automatic GUI test
•More IT integration tests for LDAP, Email, Webshop …
•Bazaar: traceability and redmine integration is insufficient
OpenERP - 15 - elego Software Solutions GmbH - © 2013
Thank you for your attention!
Questions?