Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Manage a Large Enterprise Application - DevOps ...
Search
tcc
December 15, 2011
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Manage a Large Enterprise Application - DevOps Case Study (Draft)
use python(fabric, mercurial) to solve mass customization and continuous development
tcc
December 15, 2011
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Designing for humans not robots
tammielis
254
26k
Become a Pro
speakerdeck
PRO
31
6.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The Curious Case for Waylosing
cassininazir
1
570
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Transcript
Manage a Large Enterprise Application -- DevOps Case Study @tcc
PyHUG 2011/12/21 Wednesday, December 21, 2011
Ent App The applications used within organization, corporation, government. ex.
Accounting, MRP, HR, ... ERP; CRM, PM, POS, E-Commerce, CMS/DM, SCM, ... Wednesday, December 21, 2011
‘Large’ means ... Features Users Customers (vendor's view) Size (developer's
view) ... 261MB (ref. Android source 10GB) Wednesday, December 21, 2011
Decide between ... ‘Bottom-up’ or ‘Assembly’ ‘Product’ or ‘Service’ Wednesday,
December 21, 2011
Try to solve ... Mass customization Continuous development vendor branch
(csv, svn) customized block (MQ) adv. branch (gitflow, TopGIT) Wednesday, December 21, 2011
A Story http://www.shinyshiny.tv/2007/11/two_new_white_c.html Wednesday, December 21, 2011
DevOps Continuous deployment ... movable? cloud? Functional: Development + QA
+ Operations Bird's-eye view: Biz ← agile → Development ← devops → Operations Wednesday, December 21, 2011
Results: OFBiz Go A Shell Script(OS dependent): App Bootstrap A
Python Script(Fabric) + MQ: Customized Code Management Wednesday, December 21, 2011
App Bootstrap Past: step-by-step manual, tutorial video, or VM image,
... Package management: Windows=exe, Ubuntu=apt, OSX=macports ... JDK, python, hg, svn, ... Download zip/exe, customized parts (URL) Setup virtualenv System environment variables, and others ... Wednesday, December 21, 2011
Fabric a .py file ... fabfile.py uniform cmds and params
manage outputs DSL-like log @todo "Fabric is a Python (2.5 or higher) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks." http://fabfile.org Wednesday, December 21, 2011
Customized Code (cCode) Management Trunk(Hg's default) → Working source MQ
→ cCode (diff) MQ Trunk Wednesday, December 21, 2011
Directory Layout major 3 repositories svn/ ... upstream hg/ ...
working MQ/ ... cCode foo svn hg .hg/patches f fab fabfile.py (ofbiz) (default) (MQ, customized) (D/L zip, files) (virtualenv) (Fabric) bootstrap.sh Wednesday, December 21, 2011
Link 3 repositories $ fab/bin/activate $ fab init $ fab
mqpull http://blog.tcchou.org/2011/04/blog-post.html Wednesday, December 21, 2011
Comparison: Git Flow MQ vs. braches one block or names
partial clones size does matter http://nvie.com/posts/a-successful-git-branching-model/ Wednesday, December 21, 2011
Case: Production → Development $ hg qnew -m "minor fixes"
↵ XX_fixed_on_production.diff $ hg commit --mq -A ↵ -m "minor fixes" $ hg push --mq -b hot_fixes MQ Trunk Wednesday, December 21, 2011
Demo Wednesday, December 21, 2011
Summary Dev + Ops → ofbiz-go/ , ofbiz-mq/ User Fits
easy deployment ... bootstrap a upstream source needs customization ... MQ simplify operations ... Fabric $ bootstrap $ fab/bin/activate $ fab init Wednesday, December 21, 2011
Next? CFEngine Amon.cx (Python) Wednesday, December 21, 2011
Question? Wednesday, December 21, 2011