Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Melhore o Desenvolvimento do Time com
DevOps na Nuvem
Bruno Borges
Principal Product Manager
Oracle Cloud
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Program Agenda
Challenges Facing Development Organizations
Oracle Developer Cloud Service Overview
Demo
Developer Cloud Service – A Use Case
1
2
3
4
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Why Move to the Cloud?
4
Better applications
developed faster
cheaper
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Development Organization Challenges - Costs
5
• Acquire hardware and software
• Setup and install components
• Connect components
• Configure IDEs
• Maintain and upgrade versions
• Connect to deployment platform
IDE
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Development Organization Challenges - Process
• Achieving build process agility
• Producing better applications
• Streamlining deployment
• Managing teams and developers
– Tracking and reporting
– Team communication
– Workload management and prioritization
6
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Modern DevOps
Source
Repository
Build and Unit Test
Package
Repository
Continuous
Integration
Manual
Testing
Manual
Delivery
Acceptance Test Deploy-QA
Deploy-production
Deploy-performance
QA Operations
Dev
Functional Test
Integration Test
A
Build and Unit Test
Package
Repository
Continuous
Integration
Continuous
Testing
Continuous
Delivery
Deploy-QA
Dev
Acceptance Test
Functional Test
Integration Test
Automated Tests
Resources
Repository
Deploy-production
Deploy-performance
Automated Deployment
Source
Repository
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
The Ideal Solution
• Integrated DevOps solution
• Quick startup time and easy provisioning
• Minimal maintenance costs
• Informative tracking of development activities
• Seamless deployment
• Flexible - cloud or on-premise
8
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Cloud Platform
9
DATA
MANAGEMENT
IT OPERATIONS
MANAGEMENT
IDENTITY
MANAGEMENT
CONTENT &
PROCESS
APPLICATION
DEVELOPMENT
INTEGRATION
MOBILE
BUSINESS
ANALYTICS
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Cloud Platform: Application Development Services
10
• Java
• Application Container
(Node, Java SE)
• Developer
• Mobile
• Application Builder
APPLICATION
DEVELOPMENT
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Cloud or
On-Premise
Dev, Test or
Production
Deploy
Commit
Track & Monitor
Developer Cloud Service: Bringing it All Together
Developers
Developer
Service
Review
CI / CD
Source
Tasks
Wiki
Java Cloud
Service
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Developer Cloud Service: What It Is
• Development Platform provided as a Service
• Application Lifecycle Management
• Team Collaboration & Management
• Delivery Management
12
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Developer Cloud Service
Web
Dashboard Partners
JDeveloper,
NetBeans
and Eclipse
REST
Interface
Mylyn
Oracle Developer Cloud Service - Interfaces
SSH to GIT
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Manage Your Projects
• Activity Stream
• Git Repositories
• Maven Repository
• Team Members
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Version Your Code With Git
• Automatically provisioned
• Connect from any IDE
• Command line accessible
• Integrate with GitHub
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Review Peers Code
• Create Code Reviews
• Invite Team Members
• Collaborate on Reviews
• Accept / Reject / Iterate Reviews
• Comment on Code
• Merge Code
• Merge Conflict Resolution
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Track Project Issues
• Track Requirements/Bugs/ERs
• Assign to team members
• Integration with MyLyn in IDEs
Eclipse Issue View
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Automate Project Builds
• Maven
• Ant
• Event based automation
– Code check-in
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Continuous Integration / Continuous Delivery
• Build status by job
• Create new jobs
• View build history
• Save views
• Executor active view
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Simplified Application Deployment
• Create deployment configurations
• Start/Stop a deployment
• Redeploy/Un-deploy applications
• In the cloud or on-premise deployment
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Share Information Through Wikis
• Create a new project wiki
• Collaboration through project
specific wiki
• Content management
• Wiki markup of choice
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Administer Your Projects
• Manage Project Properties
• Analyze Usage Data
• Customize Issue Tracking
• Configure Git Repositories
– Hosted & External
• Manage Branches
– Administrators & Restrictions
• Create Connections to External
Web Services
• Connect to Syndication Services
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Special Features for the Oracle Platform
• Oracle Platform Support
– WebLogic
– ADF Libraries
– JDeveloper deployment profiles
– IDE integration – OEPE, NetBeans and JDeveloper
• Oracle Cloud Integration
– Seamless cloud deployment
– Central management console
– Support Oracle SaaS Extensions
23
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Developer Cloud Service
Simplify Development
 Automated Provisioned Env
 Preconfigured & Integrated
 Automated Builds & Deployments
 Web based administration
Collaborate & Manage
 Integrated team source repository
 Continuous integration with breakage
notifications
 Task/Defect tracking with activity
stream and notifications
Deploy Automatically
 Deploy into Oracle Java Cloud Service
automatically
 Workflow ensures build & test
Integrated With IDEs
 JDeveloper
 Eclipse
 NetBeans
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Developer
Cloud Service
DEMO
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Oracle Case Study
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Team Overview – DevCS Development Team
• Distributed team of > 145 developers
• Thousands of lines of code
• Scrum methodology running 2 week sprints
– Each sprint delivers production ready builds
• Uses Developer Cloud Service to manage all Development Operations
(DevOps)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Source Management
• 27 Git repositories
• 1 Project for Developer Cloud Service
– Represents many Git repositories for each product component and/or sub-
component
– Issue tracking spans project
• Logically separate code represents a component and has it’s own Git
repository
– Versioned and branched independently
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Merge Process – Merge Requests
• New features / bug fixes occur on a feature branch created by a developer
• Once feature / bug fixes are complete, merge request is created with target
of master on component repository
• Default reviewers on a component repository feature branch
• Developer can add additional reviewers
• Code is reviewed
– Iterated over based on reviewer comments -> Approved/Rejected
• Merge is initiated on Approved code
– Every check-in that’s merged initiates a build
29
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Build Process
• Builds (In addition to check-in builds) – Development
– 2 times a day an integration build is initiated
• Builds all Git repositories for a consistent stripe in time
• Build is deployed to VMs running in Oracle Cloud (Development Staging Env.)
• Downstream job is initiated running functional test (selenium suite tests) against env.
• Builds – Production Candidates
– Master is branched every 2 weeks and a Build is initiated
– Deployed to a Production Candidate VM in Oracle Cloud
– Selenium Tests run against Production Candidate VM in Oracle Cloud
– Manual QA against Production Candidate VM
– If all tests pass, branch may be deployed to customer production environment
30
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Metrics Overview
• Many feature branch builds occur on every developer merge
• 2 integration builds/day
• 2 Week Development Sprint
– 1 automated production release build every 2 weeks
• ~1,000 transactions/day
– Transactions include commits, builds, code review activity, merges, tasks, etc…
• 145 Developers
• 27 Git repositories
• 1 Maven repository
31
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Summary
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Developer Cloud Service Value Proposition
• Eliminate setup and startup time
• Reduce maintenance costs
• Leverage integrated ALM solution
• Extend code accessibility
• Improve team collaboration
• Simplify team management
• Streamline cloud deployment
• Produce better applications faster
33
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
• Tutorials
• Videos
• eBook
• Whitepapers
• Documentation
• Forums
Get Started Today
cloud.oracle.com/developer_service
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Melhore o Desenvolvimento do Time com DevOps na Nuvem

Melhore o Desenvolvimento do Time com DevOps na Nuvem

  • 1.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. Melhore o Desenvolvimento do Time com DevOps na Nuvem Bruno Borges Principal Product Manager Oracle Cloud
  • 2.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
  • 3.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Program Agenda Challenges Facing Development Organizations Oracle Developer Cloud Service Overview Demo Developer Cloud Service – A Use Case 1 2 3 4
  • 4.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Why Move to the Cloud? 4 Better applications developed faster cheaper
  • 5.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Development Organization Challenges - Costs 5 • Acquire hardware and software • Setup and install components • Connect components • Configure IDEs • Maintain and upgrade versions • Connect to deployment platform IDE
  • 6.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Development Organization Challenges - Process • Achieving build process agility • Producing better applications • Streamlining deployment • Managing teams and developers – Tracking and reporting – Team communication – Workload management and prioritization 6
  • 7.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Modern DevOps Source Repository Build and Unit Test Package Repository Continuous Integration Manual Testing Manual Delivery Acceptance Test Deploy-QA Deploy-production Deploy-performance QA Operations Dev Functional Test Integration Test A Build and Unit Test Package Repository Continuous Integration Continuous Testing Continuous Delivery Deploy-QA Dev Acceptance Test Functional Test Integration Test Automated Tests Resources Repository Deploy-production Deploy-performance Automated Deployment Source Repository
  • 8.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. The Ideal Solution • Integrated DevOps solution • Quick startup time and easy provisioning • Minimal maintenance costs • Informative tracking of development activities • Seamless deployment • Flexible - cloud or on-premise 8
  • 9.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Oracle Cloud Platform 9 DATA MANAGEMENT IT OPERATIONS MANAGEMENT IDENTITY MANAGEMENT CONTENT & PROCESS APPLICATION DEVELOPMENT INTEGRATION MOBILE BUSINESS ANALYTICS
  • 10.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Oracle Cloud Platform: Application Development Services 10 • Java • Application Container (Node, Java SE) • Developer • Mobile • Application Builder APPLICATION DEVELOPMENT
  • 11.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Cloud or On-Premise Dev, Test or Production Deploy Commit Track & Monitor Developer Cloud Service: Bringing it All Together Developers Developer Service Review CI / CD Source Tasks Wiki Java Cloud Service
  • 12.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Developer Cloud Service: What It Is • Development Platform provided as a Service • Application Lifecycle Management • Team Collaboration & Management • Delivery Management 12
  • 13.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Developer Cloud Service Web Dashboard Partners JDeveloper, NetBeans and Eclipse REST Interface Mylyn Oracle Developer Cloud Service - Interfaces SSH to GIT
  • 14.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Manage Your Projects • Activity Stream • Git Repositories • Maven Repository • Team Members
  • 15.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Version Your Code With Git • Automatically provisioned • Connect from any IDE • Command line accessible • Integrate with GitHub
  • 16.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Review Peers Code • Create Code Reviews • Invite Team Members • Collaborate on Reviews • Accept / Reject / Iterate Reviews • Comment on Code • Merge Code • Merge Conflict Resolution
  • 17.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Track Project Issues • Track Requirements/Bugs/ERs • Assign to team members • Integration with MyLyn in IDEs Eclipse Issue View
  • 18.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Automate Project Builds • Maven • Ant • Event based automation – Code check-in
  • 19.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Continuous Integration / Continuous Delivery • Build status by job • Create new jobs • View build history • Save views • Executor active view
  • 20.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Simplified Application Deployment • Create deployment configurations • Start/Stop a deployment • Redeploy/Un-deploy applications • In the cloud or on-premise deployment
  • 21.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Share Information Through Wikis • Create a new project wiki • Collaboration through project specific wiki • Content management • Wiki markup of choice
  • 22.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Administer Your Projects • Manage Project Properties • Analyze Usage Data • Customize Issue Tracking • Configure Git Repositories – Hosted & External • Manage Branches – Administrators & Restrictions • Create Connections to External Web Services • Connect to Syndication Services
  • 23.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Special Features for the Oracle Platform • Oracle Platform Support – WebLogic – ADF Libraries – JDeveloper deployment profiles – IDE integration – OEPE, NetBeans and JDeveloper • Oracle Cloud Integration – Seamless cloud deployment – Central management console – Support Oracle SaaS Extensions 23
  • 24.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Oracle Developer Cloud Service Simplify Development  Automated Provisioned Env  Preconfigured & Integrated  Automated Builds & Deployments  Web based administration Collaborate & Manage  Integrated team source repository  Continuous integration with breakage notifications  Task/Defect tracking with activity stream and notifications Deploy Automatically  Deploy into Oracle Java Cloud Service automatically  Workflow ensures build & test Integrated With IDEs  JDeveloper  Eclipse  NetBeans
  • 25.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Oracle Developer Cloud Service DEMO
  • 26.
    Copyright © 2014,Oracle and/or its affiliates. All rights reserved. Oracle Case Study
  • 27.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Team Overview – DevCS Development Team • Distributed team of > 145 developers • Thousands of lines of code • Scrum methodology running 2 week sprints – Each sprint delivers production ready builds • Uses Developer Cloud Service to manage all Development Operations (DevOps)
  • 28.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Source Management • 27 Git repositories • 1 Project for Developer Cloud Service – Represents many Git repositories for each product component and/or sub- component – Issue tracking spans project • Logically separate code represents a component and has it’s own Git repository – Versioned and branched independently
  • 29.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Merge Process – Merge Requests • New features / bug fixes occur on a feature branch created by a developer • Once feature / bug fixes are complete, merge request is created with target of master on component repository • Default reviewers on a component repository feature branch • Developer can add additional reviewers • Code is reviewed – Iterated over based on reviewer comments -> Approved/Rejected • Merge is initiated on Approved code – Every check-in that’s merged initiates a build 29
  • 30.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Build Process • Builds (In addition to check-in builds) – Development – 2 times a day an integration build is initiated • Builds all Git repositories for a consistent stripe in time • Build is deployed to VMs running in Oracle Cloud (Development Staging Env.) • Downstream job is initiated running functional test (selenium suite tests) against env. • Builds – Production Candidates – Master is branched every 2 weeks and a Build is initiated – Deployed to a Production Candidate VM in Oracle Cloud – Selenium Tests run against Production Candidate VM in Oracle Cloud – Manual QA against Production Candidate VM – If all tests pass, branch may be deployed to customer production environment 30
  • 31.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Metrics Overview • Many feature branch builds occur on every developer merge • 2 integration builds/day • 2 Week Development Sprint – 1 automated production release build every 2 weeks • ~1,000 transactions/day – Transactions include commits, builds, code review activity, merges, tasks, etc… • 145 Developers • 27 Git repositories • 1 Maven repository 31
  • 32.
    Copyright © 2014,Oracle and/or its affiliates. All rights reserved. Summary
  • 33.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. Developer Cloud Service Value Proposition • Eliminate setup and startup time • Reduce maintenance costs • Leverage integrated ALM solution • Extend code accessibility • Improve team collaboration • Simplify team management • Streamline cloud deployment • Produce better applications faster 33
  • 34.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved. • Tutorials • Videos • eBook • Whitepapers • Documentation • Forums Get Started Today cloud.oracle.com/developer_service
  • 35.
    Copyright © 2015Oracle and/or its affiliates. All rights reserved.

Editor's Notes

  • #3 This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template. One of the Safe Harbor slides must be used if your presentation covers material affected by Oracle’s Revenue Recognition Policy To learn more about this policy, e-mail: Revrec-americasiebc_us@oracle.com For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information.   http://my.oracle.com/site/fin/gfo/GlobalProcesses/cnt452504.pdf For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience.
  • #6 Acquire Setup and install components Connect components not Connect to deployment platform
  • #10  Comprehensive: Broadest, Easy to Use, PaaS & IaaS Everything you need to build cloud and mobile apps for your customers and employees, extend SaaS apps Integrated: Identity, Infrastructure, Management To secure, operate and manage hybrid cloud applications. Choice: Standards-Based, Public or Private Cloud
  • #12 Developers can commit changes to the Git repository, create tasks and assign them to team members, define and collaborate on projects through wiki services and continuously build and deploy their application to the cloud or On-Premise with Hudson. There’s also the ability to track and monitor deployments and then within Java Cloud Services one can analyze their deployed and running application through Enterprise Manager. For details on Hudson -> http://wiki.eclipse.org/Hudson-ci/Meet_Hudson
  • #14 Features of Developer Cloud Services: Interfaces are provide for JDeveloper, NetBeans, and Eclipse although Eclipse currently provides the richest experience. SSH access to the GIT repository REST Interface support A dashboard for Developer Cloud Service that provides you with all the details on your projects from developer statistics, collaboration, bug tracking, to Hudson Continuous Integration. Mylyn which is the task and application lifecycle management (ALM) framework for Eclipse. Partner interfaces through REST APIs (Tasktop synch, Gira, Bugzilla, GitHub)
  • #25 Walk through each of these as an overview to what’s already been discussed or will be in the slides to follow. Simplify Development with provisioned environment Collaborate & Manage with wiki and task management Deploy Automatically from DCS to JCS Integrated with IDEs (Eclipse, JDev, Netbeans)
  • #34 Extend code accessibility – your code is accessible to view (and in the future edit) from any machine with a browser anywhere in the world.