Tce automation-d4-110102123012-phpapp01
Upcoming SlideShare
Loading in...5
×
 

Tce automation-d4-110102123012-phpapp01

on

  • 345 views

 

Statistics

Views

Total Views
345
Slideshare-icon Views on SlideShare
335
Embed Views
10

Actions

Likes
0
Downloads
4
Comments
0

3 Embeds 10

http://www.linkedin.com 7
http://www.enthuse.me 2
http://www.techgig.com 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Manual & Repetitive tasksDevelopmentQAOPSWhat do we automate ? – Everything, development, build, deployment …How can automation help ? - Who automates ? - parties participating in automationWhen do we automate ? – an open question for the last slide
  • People & DemandsClient demands are changingWe are all clients within and out the organizationpeople are changing = usTechnologies are changingOrganizations are changingPeople & DemandsTechnologiesOrganizations
  • Business processesAutomate repetitive time consuming tasks
  • All parties in the organizationWe are changing thus we are the leaders of the change
  • Now – if we want our customer to stay we need to make necessary adjustments
  • Are there things we can do betterHow are our executionsWe have lessons learned do we apply them into out processes or just keep having these meetings? Voer & overContinuousbuilds => continues testing => continuous deploymentWe have virtualization / Grid => lets take them to the EXTREAME – stretch our abilitiesImprove collaborationRevise & Reuse processesUtilize existing assetsImprove collaboration across teams & divisions
  • DevelopmentQAConfiguration Management / Release managementThere is Something missing in here …
  • Working together end 2 end delivering continuous valueAutomation is a set of processes, methods and systems for communication, collaboration and integration between departments for Development (Applications/Software Engineering), Technology Operations and Quality Assurance (QA). It relates to the emerging understanding of the interdependence of development and operations in meeting a business' goal to producing timely software products and servicesOps are “left behind”Decision takers / risk assent done in late stages Dev, QA, CM, OPS
  • The funnel driving modules / features from Development through QA & CM to Operations
  • There are quite a fewShort overview will follow …
  • The key to automation – nothing without X testingUnit testing – short and to the pointDo not mix-up with system / integration testing’
  • Tests your code as part of a bigger systemDevelopers better aware of the bigger picture
  • GUIUsabilityPerformanceOS’sInstaller(s) and more …Jsystem / QTP – QA role
  • Missing data
  • BuildGenerate reportsQuick Feedback to DevProve continuous stability
  • BuildGenerate reportsQuick Feedback to DevProve continuous stability
  • As described in Eishay’s (smith) presentationsWe have atested module / component ready for deployment
  • The range of technologies available in each layer are big how do we choose – criteria based on Answers CI’s needs SCM “easy merging” - gitOne mainline – subversion We saw the ability of utlizing SVN’s capabilities and Git powerful merging in previous presentationBuild Tools Ant – free style all the way …Maven - xml based, fixed lifecycle expandable via pluginsGradle, Buildr – very much like Maven in terms of dependency mangmnet language driven Auto builder - Continuous builds CM & developer (multiple views) = hudsonSupport / extend support of our build toolOn submit / scheduledAutomatic deploymnet via promotions vs separate “out of context builds” in other Auto Builders (mentioned above)Cloud integration (ssh, libvirt, pre post vm actions)
  • The range of technologies available in each layer are big how do we choose – criteria based on Answers CI’s needs SCM “easy merging” - gitOne mainline – subversion We saw the ability of utlizing SVN’s capabilities and Git powerful merging in previous presentationBuild Tools Ant – free style all the way …Maven - xml based, fixed lifecycle expandable via pluginsGradle, Buildr – very much like Maven in terms of dependency mangmnet language driven Auto builder - Continuous builds CM & developer (multiple views) = hudsonSupport / extend support of our build toolOn submit / scheduledAutomatic deploymnet via promotions vs separate “out of context builds” in other Auto Builders (mentioned above)Cloud integration (ssh, libvirt, pre post vm actions)
  • שלום קוראים לי איתיואני ידגים לכם את מה שחגי דיבר עד עכשיואוטומציה של התהליכים בתוך ארגוןלצורך ההדגמה מדובר בחברת מוצר שמיצרת Distrebution of hudson Build manager אני יציג תהליך של בנית PluginPromotedSimplePluginהרחבה של hudson promote pluginיצירת ditrebution of hudson in servletcontiner (tomcat)With the promoted pluginלצורך זה אני ישתמש בHudson – build managerNexus – artifatreporitoryMaven – build scripts
  • שלום קוראים לי איתיואני ידגים לכם את מה שחגי דיבר עד עכשיואוטומציה של התהליכים בתוך ארגוןלצורך ההדגמה מדובר בחברת מוצר שמיצרת Distrebution of hudson Build manager אני יציג תהליך של בנית PluginPromotedSimplePluginהרחבה של hudson promote pluginיצירת ditrebution of hudson in servletcontiner (tomcat)With the promoted pluginלצורך זה אני ישתמש בHudson – build managerNexus – artifatreporitoryMaven – build scripts
  • The key to automation – nothing without X testingUnit testing – short and to the pointDo not mix-up with system / integration testing’

Tce automation-d4-110102123012-phpapp01 Tce automation-d4-110102123012-phpapp01 Presentation Transcript

  • Big Words / Q’s … How come ? What ? Who ? When ? How ? WWW.TIKALK.COM
  • How Come ? 3 WWW.TIKALK.COM
  • What ? 4 WWW.TIKALK.COM
  • Who ? 5 WWW.TIKALK.COM
  • When ? Staying relevant by Adjusting to change eq. Staying in the game 6 WWW.TIKALK.COM
  • How ? Revise Reuse Utilize 7 WWW.TIKALK.COM
  • Key “players” DEV QA CM 8 WWW.TIKALK.COM
  • The Automation Glue OPS QA DEV CM 9 WWW.TIKALK.COM
  • Evolution(s) Connecting the Business to Development is so 2010 … Connecting Business to Ops via Automation is 2011 … 10 WWW.TIKALK.COM
  • The Automation funnel Dev QA CM Automation OPS / PS 11 WWW.TIKALK.COM
  • Best Practices 4 Automation 12 WWW.TIKALK.COM
  • Unit Testing 13 WWW.TIKALK.COM
  • Integration Tests 14 WWW.TIKALK.COM
  • System Tests 15 WWW.TIKALK.COM
  • Reporting Unit testing Quality Coverage Dependency 16 WWW.TIKALK.COM
  • Dependency Management Modularity requires Supporting tools Dependency analysis 17 WWW.TIKALK.COM
  • Component Based Integration Assembling software modules into components Cross functional … 18 WWW.TIKALK.COM
  • Virtualization & Cloud 19 WWW.TIKALK.COM
  • Continuous Integration Build& Test On every code change 20 WWW.TIKALK.COM
  • Continuous Deployment Pushing CI to the limit 21 WWW.TIKALK.COM
  • Practical automationTheory is GreatNow lets meet reality … 23 WWW.TIKALK.COM
  • Tool – applying best practices WWW.TIKALK.COM
  • Application WWW.TIKALK.COM
  • CI implementation - for the team Node Group-windows-ci-Artifact / agentsBinary continuousRepository Integration Node Group linux-ci-agentsProxy Server Delivery Jmeater / Jsystem Node Group-linux-QA UAT / PROD servers Node Group-linux-QA Acceptance testing WWW.TIKALK.COM
  • Continuous Deployment Fast turnovers eq. agility Small(er) Changes eq. Smaller Risks More redundant Achievable via automation 31 WWW.TIKALK.COM
  • Customer Story Company with continues build with unit test for component (Hudson plug-in) Manual QA test sanity and integration Manual installation of server and plug-ins 32 WWW.TIKALK.COM
  • Challenges To automate: Deployment Sanity test 33 WWW.TIKALK.COM
  • SolutionCreate installable package that contain all the set of plug-insAutomate installation and sanity test.We choose Hudson as build manager:Maven as build scriptsNexus as artifact repositoryVirtual box for private cloudAdded runtime module – Hudson + tomcat + plug-in => deploy it to NexusJob ruining on Windows based VM which runs selenium testsHudson picks up all reports and exposes in the UI 34 WWW.TIKALK.COM
  • A real life Use Case Continuous Create Runtime Deploy 35 WWW.TIKALK.COM
  • Configure Continuous Job 36 WWW.TIKALK.COM
  • SCM configuration 37 WWW.TIKALK.COM
  • Module level Unit-test trend graph 38 WWW.TIKALK.COM
  • Runtime Job 39 WWW.TIKALK.COM
  • Runtime module in Artifact repository 40 WWW.TIKALK.COM
  • Test – running in cloud 41 WWW.TIKALK.COM
  • Utilizing private cloud 42 WWW.TIKALK.COM
  • Deploy-Test Results 43 WWW.TIKALK.COM
  • Benefits 44 WWW.TIKALK.COM
  • CI & CD combined 47 WWW.TIKALK.COM
  • Traditional CIDevelopment SCM 50 Build WWW.TIKALK.COM